diff -r 7a25067aa32c -r e9a42aa9e4c2 LuaAPI.wiki --- 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): 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