TalentHealingSelf()

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

int TalentHealingSelf();

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: TalentAdvancedProtectSelf | TalentBuffSelf | TalentCureCondition | TalentHeal | TalentUseProtectionOnSelf
categories: Core AI Talent Functions | Talents/Skills/Feats Functions


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