LuaAPI.wiki
changeset 134 b55012c48dbd
parent 133 b737ccb5b49a
child 135 124b11219537
equal deleted inserted replaced
133:b737ccb5b49a 134:b55012c48dbd
   390     end</code>
   390     end</code>
   391 
   391 
   392 
   392 
   393 
   393 
   394 </blockquote>
   394 </blockquote>
       
   395 === <tt>!GetEffect(gearUid, effect)</tt> ===
       
   396 
       
   397 <blockquote>Returns the state of given effect for the given hedgehog gear.  
       
   398 </blockquote>
   395 === <tt>!SetEffect(gearUid, effect, true/false)</tt> ===
   399 === <tt>!SetEffect(gearUid, effect, true/false)</tt> ===
   396 
   400 
   397 <blockquote>Enables (true) or disables (false) one of the effects <tt>heInvulnerable, heResurrectable, hePoisoned</tt> for the specified hedgehog gear.
   401 <blockquote>Enables (true) or disables (false) one of the effects <tt>heInvulnerable, heResurrectable, hePoisoned</tt> for the specified hedgehog gear.
   398 </blockquote>
   402 </blockquote>
   399 Example: (sets all bots poisoned)
   403 Example: (sets all bots poisoned)