HasMagicEffect
Revision as of 16:08, 1 June 2017 by imported>DavidJCobb
Description
If the calling reference is being affected by a Spell that can potentially apply the specified Magic Effect, then the condition function returns 1. Effects will be detected by this condition even if they aren't actually affecting the reference (because their spell-side conditions aren't being met).
In other words, "having a magic effect" is distinct from "being affected by a magic effect," and this function tests for the former.
Syntax:
ActorRef.HasMagicEffect EffectID
Example:
Player.HasMagicEffect 000B729D ; (FrostSlowConcAimed)