# HG changeset patch # User Wuzzy # Date 1459269455 -3600 # Node ID adfb23d8bc131a982fb334330aa3fb0b19be163b # Parent 83dacaa4d7d08166ebfdc65a09fcfb9875b4aa8d LuaAPI: fix typo diff -r 83dacaa4d7d0 -r adfb23d8bc13 LuaAPI.wiki --- a/LuaAPI.wiki Tue Mar 29 17:35:16 2016 +0100 +++ b/LuaAPI.wiki Tue Mar 29 17:37:35 2016 +0100 @@ -775,12 +775,12 @@ Sets the state for one of the effects heInvulnerable, heResurrectable, hePoisoned, heResurrected, heFrozen for the specified hedgehog gear. A value of 0 usually means the effect is disabled, values other than that indicate that it is enabled and in some cases specify e.g. the remaining time of that effect. -|| *`effect`* || *Desription* || *`effectState`* || +|| *`effect`* || *Description* || *`effectState`* || || `heInvulnerable` || Wether hog is invulnerable || Any non-zero value turns on invulnerability. `0` turns it off. || || `hePoisoned` || Poison damage, damages hog each turn. || Amount of damage per turn. Use `0` to disable poisoning. || || `heResurrectable` || Whether to resurrect the hog on death || With a non-zero value, the hedgehog will be resurrected and teleported to a random location on death. `0` disables this. || -|| `heResurrected` || Whether the hedgehog has been resurrected once. This is only a graphical effect. || With a non-zero value, the hedgehog was resurrected, `0` otherwise. || -|| `heFroze` || Freeze level. Frozen hedgehogs skip turn, are heavy and take half damage || The number denotes “how frozen” the hedgehog is, i.e. how long it. The freezer sets this to `199999` initially. The value will be reduced by `50000` each round. If `0`, hedgehog is not frozen. The value will also be used for some other things by the engine, like animation, etc. || +|| `heResurrected` || Whether the hedgehog has been resurrected once. This is only a subtle graphical effect. || With a non-zero value, the hedgehog was resurrected, `0` otherwise. || +|| `heFroze` || Freeze level. Frozen hedgehogs skip turn, are heavy and take half damage || The number denotes “how frozen” the hedgehog is, i.e. how long it takes to melt. The freezer sets this to `199999` initially. The value will be reduced by `50000` each round. If `0`, hedgehog is not frozen. The value will also be used for some other things by the engine, like animation, etc. || Example (sets all bots poisoned with poison damage of 1):