Why in the known world would this not be working?
I am not seeing my debug message, and other tests I have done shows the attacker is not added to the faction.
I have checked the faction a dozen times to be sure it is set in the properties.
Scriptname aadpTestScript extends ActiveMagicEffect Faction Property aadpBlockElemAttack AutoEvent OnHit(ObjectReference akAggressor, Form akSource, Projectile akProjectile, bool abPowerAttack, bool abSneakAttack, bool abBashAttack, bool abHitBlocked)actor attacker = (akAggressor as Actor)attacker.addtofaction(aadpBlockElemAttack)if attacker.isinfaction(aadpBlockElemAttack) == trueDebug.messagebox("Working")endifendevent