Event OnEffectStart (Actor akCaster, Actor akTarget)player = Game.GetPlayer()DPMod(player) ;applies the spell to increase the destruction power modifier debug.notification("PowerMod cast") utility.wait(0.0001) DPM = player.GetActorValue("DestructionPowerMod") debug.notification(DPM) DLife(akTarget) ;applies the damaging spell utility.wait(0.0001) player.DispelSpell(SP_DevourLifeDestPowMod_NECMAS) ;dispells the destruction power modifierEndEvent
Event OnEffectStart (Actor akCaster, Actor akTarget)player = Game.GetPlayer()DPMod(player) ;applies the spell to increase the destruction power modifier debug.notification("PowerMod cast") utility.wait(0.0001) DPM = player.GetActorValue("DestructionPowerMod") debug.notification(DPM) DLife(akTarget) ;applies the damaging spell utility.wait(0.0001) player.DispelSpell(SP_DevourLifeDestPowMod_NECMAS) ;dispells the destruction power modifierEndEvent