author | nemo |
Thu, 16 Jul 2015 09:35:03 -0400 | |
changeset 558 | e9a42aa9e4c2 |
parent 557 | 7a25067aa32c |
child 559 | 43337323f97a |
LuaAPI.wiki | file | annotate | diff | comparison | revisions |
--- a/LuaAPI.wiki Wed Jul 08 13:38:44 2015 +0000 +++ b/LuaAPI.wiki Thu Jul 16 09:35:03 2015 -0400 @@ -664,7 +664,7 @@ Example (sets all bots poisoned): <code language="lua"> function onGearAdd(gear) - if (GetGearType(gear) == gtHedgehog) and (GetBotLevel(gear) > 0) then + if (GetGearType(gear) == gtHedgehog) and (GetHogLevel(gear) > 0) then SetEffect(gear, hePoisoned, 1) end end</code>