EffectHitPointChangeWhenDying(float)
Returns a new effect object.
effect EffectHitPointChangeWhenDying( float fHitPointChangePerRound );
Parameters
fHitPointChangePerRound
Positive or negative, but not zero.
Description
Create a Hit Point Change When Dying effect.
Returns an effect of type EFFECT_TYPE_INVALIDEFFECT if fHitPointChangePerRound is 0.
Fractions can be set; using -0.2 for fHitPointChangePerRound will mean that 1 HP is lost every 5 rounds.
Remarks
Healing a character (or anything that makes HP go above 0) when a character is dying will cause the effect to automatically disappear.
Known Bugs
Trying to locate and destroy this effect is difficult because the effect type is 0. Healing will remove this effect.
Version
1.26
See Also
categories: | Effects Functions |
constants: | EFFECT_TYPE_* Constants |
author: Michael Nork, editor: Jasperre, additional contributor(s): Enigmatic
Send comments on this topic.