GetHasFeatEffect(int, object)
Determines whether a creature has the effects of a feat.
int GetHasFeatEffect( int nFeat, object oObject = OBJECT_SELF );
Parameters
nFeat
oObject
The object to investigate. (Default: OBJECT_SELF)
Description
Returns TRUE if oObject has effects on it originating from nFeat, otherwise FALSE.
Of course, oObject should almost always be a creature to get an accurate result.
Remarks
This should return TRUE even if the feat applies spell-like effects (such as Barbarian Rage, which has a "spell" attached to it, to apply effects), although it cirtainly accuratly reports when such feats as Knockdown are applied to a target.
Version
1.22
See Also
functions: | ActionUseFeat |
categories: | Talents/Skills/Feats Functions |
constants: | FEAT_* Constants |
author: Tom Cassiotis, editor: Jasperre