EffectHeal

From Dragon Age Toolset Wiki
Jump to: navigation, search

Returns an effect which heals an object.

void EffectHeal(
float fValue,
int bIgnoreBloodMagic = FALSE
);
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.