Difference between revisions of "EffectHeal"
From Dragon Age Toolset Wiki
m (Fixing links) |
m (Correcting category) |
||
Line 20: | Line 20: | ||
When applied to an object, this effect restores the given amount of health to the object. The object’s health will not be raised above its maximum health. | When applied to an object, this effect restores the given amount of health to the object. The object’s health will not be raised above its maximum health. | ||
− | If the object is a creature which is dead no health will be healed unless bHealIfDead is TRUE, in which case the creature will be resurrected and healed. | + | If the object is a creature which is dead no health will be healed unless <code>bHealIfDead</code> is [[Boolean constants|TRUE]], in which case the creature will be resurrected and healed. |
− | + | Look at <code>spell_drainlife.nss</code> to see how this works. | |
<!-- == Remarks == --> | <!-- == Remarks == --> | ||
<!-- This section contains additional comments, observations and known issues. --> | <!-- This section contains additional comments, observations and known issues. --> | ||
Line 29: | Line 29: | ||
<!-- == See also == --> | <!-- == See also == --> | ||
<!-- This section contains links to articles, functions or constant groups. --> | <!-- This section contains links to articles, functions or constant groups. --> | ||
− | [[Category: Effect | + | [[Category:Effect functions]] |
Latest revision as of 20:04, 10 March 2012
Returns an effect which heals an object.
- Parameters:
- fValue
- The amount of health.
- bIgnoreBloodMagic
- Whether or not ignore Blood Magic OR whether or not to resurrect and heal dead creatures (the description is somewhat contradictory).
- Returns:
- Nothing.
- Source:
- Core Game Resources.effect_heal_h
Description
Constructor for the heal health effect.
When applied to an object, this effect restores the given amount of health to the object. The object’s health will not be raised above its maximum health.
If the object is a creature which is dead no health will be healed unless bHealIfDead
is TRUE, in which case the creature will be resurrected and healed.
Look at spell_drainlife.nss
to see how this works.