StartProtectionLoop

From NWN Lexicon
Jump to navigationJump to search



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: 

TalentUseProtectionOthers



 author: Tom Cassiotis, editors: Jody Fletcher, Mistress