# HG changeset patch # User RedGrinner@gmail.com # Date 1316956434 0 # Node ID b55012c48dbdd99a781c980186c0831961910448 # Parent b737ccb5b49a2b83e3e5b2e94c01ac8f23ee9a66 Edited wiki page LuaAPI through web user interface. diff -r b737ccb5b49a -r b55012c48dbd LuaAPI.wiki --- a/LuaAPI.wiki Sun Sep 25 13:10:39 2011 +0000 +++ b/LuaAPI.wiki Sun Sep 25 13:13:54 2011 +0000 @@ -392,6 +392,10 @@ +=== !GetEffect(gearUid, effect) === + +
Returns the state of given effect for the given hedgehog gear. +=== !SetEffect(gearUid, effect, true/false) ===
Enables (true) or disables (false) one of the effects heInvulnerable, heResurrectable, hePoisoned for the specified hedgehog gear.