_________________________________________________________________________________________
Scriptname powerfulundead extends ActiveMagicEffect
Event OnEffectStart(actor akTarget, actor akCaster)
If (akCaster.hasperk(necromancy))
akTarget.forceav("health", 1)
akTarget.modav("magicka", 50)
akTarget.modav("stamina", 50)
akTarget.modav("speedmult", 200)
Debug.MessageBox("Is THIS WORKING?")
endIF
endEvent
perk property necromancy auto
_________________________________________________________________________________________
The script compiles, but in game something weird happens: The effects effect my character, not the target. I know that the walrus I am testing this on does not have the perk "necromancy", so it obviously recognizes me as the caster. So why does it effect me as the target as well. I have been struggling with this ONE SINGLE PROBLEM for two days now. Any help?
