Why is my script not working? I set the script's property as an action which may be the problem
Scriptname MAOnDeathDameDeVix extends ObjectReference
Action Property AddSpellOnDeath Auto
Event OnDeath(Actor killer)
Player.addSpell 0200412C
EndEvent
Scriptname MAOnDeathDameDeVix extends ObjectReference Actor Property playerRef autoSpell Property AddSpellOnDeath auto Event OnDeath(Actor killer) playerRef.addSpell(AddSpellOnDeath)EndEvent