TalentHealingSelf
From NWN Lexicon
Contents |
[edit] TalentHealingSelf()
Checks to see if NPC or creature is damaged. If so, tries to heal either with a spell or a potion.
[edit] Description
Causes the creature to heal itself if its current HP total drops below 1/2 the maximum HP total of the creature.
Determines whether or not creature has healing capability and if not, uses potions (if it has any).
[edit] Remarks
Is created to always return FALSE for creatures of the following racial types:
RACIAL_TYPE_ABERRATION
RACIAL_TYPE_BEAST
RACIAL_TYPE_ELEMENTAL
RACIAL_TYPE_VERMIN
RACIAL_TYPE_MAGICAL_BEAST
RACIAL_TYPE_UNDEAD
RACIAL_TYPE_DRAGON
RACIAL_TYPE_ANIMAL
29 (the ooze racial type)
[edit] Requirements
#include " x0_i0_talent "
[edit] Version
1.61
[edit] See Also
functions: |
author: Jody Fletcher, editors: Lilac Soul, Mistress, contributor: Graewerld