fffseven Posted September 13, 2017 Posted September 13, 2017 I am trying to make combo spell casting mod. I write a script that includes myspell.cast(PlayerRef). When i try to test the mod it work fine except magicka. I can cast combo spells but magicka won't reduce. I wonder what is wrong ?. İt is the way its work or I am doing something wrong. (Sorry for bad English)
cdcooley Posted September 14, 2017 Posted September 14, 2017 That is just the way it works. The Papyrus command allows you to force just about anything to cast spells. It's real purpose is to make traps work and those don't have a magicka limit.
fffseven Posted September 16, 2017 Author Posted September 16, 2017 (edited) Ok. That is cheating, not work for me. I can't reduce magicka manually without skse. Because there is no way to get magicka cost.Is there a way to equip spell then cast it ? Edited September 16, 2017 by fffseven
Narue Posted September 18, 2017 Posted September 18, 2017 Is DamageActorValue not sufficient from your script? MySpell.Cast(actor)actor.DamageActorValue("Magicka", spellCost) Granted, that's a smidge awkward, but I'd favor it over script casting ticking magicka automatically. I can think of a majority of reasons why one would want to apply effects to an actor without a magicka cost. ;)
Recommended Posts