Here's the script
Spoiler
Scriptname lmspellscript extends ObjectReference
{Damage health each time cast the spell}
Spell Property LMspell Auto
Event OnSpellCast(Form akspell)
Spell spellCast = akSpell as Spell
If spellCast == LMspell
Game.GetPlayer().DamageAV("health",50)
EndIf
EndEvent
{Damage health each time cast the spell}
Spell Property LMspell Auto
Event OnSpellCast(Form akspell)
Spell spellCast = akSpell as Spell
If spellCast == LMspell
Game.GetPlayer().DamageAV("health",50)
EndIf
EndEvent
LMspell should cost health to cast, but it doesn't subtract my character's health at all..
I've tried to attach the script to the magic effect used by LMspell, as well as a cuirass equipped by the player, none of them worked.
I'm pretty sure that I hooked up the spell property with LMspell so it won't be the cause.
The script can be compiled successfully.
Scripting is pretty new to me, I've just finish the scripting tutorials on the creationkit wiki

I even don't know what kind of script should I use..
PLZ help, thanks a lot.
