# HG changeset patch # User RedGrinner@gmail.com # Date 1316958027 0 # Node ID 04d82b673bc420a2295397a2eec683f765423f7d # Parent 6bf231a611a7ce9f1efb7a463639a3d4a3848ce6 Edited wiki page LuaAPI through web user interface. diff -r 6bf231a611a7 -r 04d82b673bc4 LuaAPI.wiki --- a/LuaAPI.wiki Sun Sep 25 13:38:32 2011 +0000 +++ b/LuaAPI.wiki Sun Sep 25 13:40:27 2011 +0000 @@ -229,6 +229,10 @@
returns the name of the specified hedgehog gear
+=== !GetEffect(gearUid, effect) === + +
Returns the state of given effect for the given hedgehog gear. +
=== !GetHogHat(gearUid) ===
Returns the hat of the specified hedgehog gear @@ -389,10 +393,6 @@
-=== !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.