Syntax:
HasMagicEffect EffectID
Example:
HasMagicEffect FIDG
Returns 1 if the calling reference is currently being affected by the given magic effect.
IsSpellTargetOnMagicEffectHit