# HG changeset patch # User Wuzzy # Date 1518444451 0 # Node ID 40698f589acb5cfb0bdd382751b51b25a57ac5ae # Parent 0d33477246bc6d8acc791cd250143d34d46c1459 LuaAPI: HealHog does not affect poison diff -r 0d33477246bc -r 40698f589acb LuaAPI.wiki --- a/LuaAPI.wiki Sun Feb 11 19:11:06 2018 +0000 +++ b/LuaAPI.wiki Mon Feb 12 14:07:31 2018 +0000 @@ -809,12 +809,14 @@ end === `HealHog(gearUid, healthBoost[, showMessage[, tint]])` (0.9.24) === -Convenience function to heal hedgehogs. +Convenience function to increase the health of hogs with default effects. Increases the health of the hedgehog gear with the given ID `gearUid` by `healthBoost`, displays some healing particles at the hedgehog and shows the health increae as a message. This is similar to the behavour after taking a health crate, or getting a health boost from vampirism. If `showMessage` is false, no message is shown. With `tint` you can set the RGBA color of the particles (default: `0x00FF00FF`). +This function does not affect the poison state, however (see `SetEffect`). + === !SetEffect(gearUid, effect, effectState) === 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.