TalentHealingSelf

From NWN Lexicon
Jump to: navigation, search



TalentHealingSelf()[edit]

Checks to see if NPC or creature is damaged. If so, tries to heal either with a spell or a potion.

Description[edit]

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).



Remarks[edit]

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)


Requirements[edit]

#include " x0_i0_talent "

Version[edit]

1.61

See Also[edit]

functions: 

TalentUseProtectionOnSelf



 author: Jody Fletcher, editors: Lilac Soul, Mistress, contributor: Graewerld