TalentHeal(int)

Determines if a creature's master (as a henchman) or fellow party members are damaged. If so, attempts to heal if has that ability.

int TalentHeal(
    int nForce = FALSE
);

Parameters

nForce

Select TRUE to force creature to only heal master PC. (Default: FALSE)


Description

Causes the creature to heal its master (if henchman) or fellow party members if GetAssociateHealMaster returns TRUE it heals the master, (or if nForce is set TRUE).

It then checks fellow faction members to see most damaged member, sees if they are below 1/2 their maximum HP total.

Determines whether or not the current creature can cast a heal spell, AND also verifies that the party member is NOT undead.



Requirements

#include "x0_i0_talent"

Version

1.29

See Also

functions: TalentCureCondition | TalentHealingSelf
categories: Core AI Talent Functions


 author: Jody Fletcher, editor: Mistress, contributor: Graewerld