TalentHealingSelf

From NWN Lexicon
Revision as of 23:50, 25 August 2012 by Dood (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search



Contents

TalentHealingSelf()

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

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



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)


Requirements

#include " x0_i0_talent "

Version

1.61

See Also

functions: 

TalentUseProtectionOnSelf



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

Personal tools
Categories