Jump to content

Recommended Posts

Posted

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)

Posted

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.

Posted (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 by fffseven
Posted

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. ;)

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...