StartProtectionLoop()

Finds a protection talent to use.

talent StartProtectionLoop();

Description

A utility function that looks for a beneficial protection talent for the creature whose script calls the function.



Remarks

This function calls GetCreatureTalentRandom first with TALENT_CATEGORY_BENEFICIAL_PROTECTION_SELF, then TALENT_CATEGORY_BENEFICIAL_PROTECTION_SINGLE and finally TALENT_CATEGORY_BENEFICIAL_PROTECTION_AREAEFFECT.


Requirements

#include "x0_i0_talent"

Version

1.29

See Also

functions: TalentAdvancedProtectSelf | TalentUseProtectionOnSelf | TalentUseProtectionOthers
categories: Core AI Talent Functions


 author: Tom Cassiotis, editors: Jody Fletcher, Mistress