Jump to content

Modify magicka cost of spells relative to armor weight


Arael54

Recommended Posts

Hello,

 

I'm trying to change magicka cost from spells relative to armor weight, so that the heavier the player would get, the more magicka spells would cost.

 

I'm practically sure I would need a script to achieve this (correct me if I'm wrong). I'm not really good at scripting (I can only do some reverse engineering for already existing scripts and create / modify them for my needs at the moment).

 

I've already adapted some scripts so I could add a stamina cost to normal attacks relative to their total armor and weapon weight. So I already have a mean to add a property that return the total armor weight.

But I have no idea how to adapt this for spells and magicka.

 

I suppose I have 2 options (that I can think of at least):

 

- A script that would update the magicka cost of spells everytime a piece of equipment is equipped / unequipped ;

- A script that would apply the magicka cost multiplier on spell cast (on animation I suppose ? different between casting and concentration spell ?)

 

I suppose the first option would be overall lighter (if this option is possible).

 

Could someone point me in the right direction about this ?

 

Thank you.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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