Jump to content

SetAV rightitemcharge issue


Recommended Posts

I'm trying to fix a problem in a mod where calls to SetAV rightitemcharge don't result in the correct charge value on the item

Example:

Equip a new staff in the right hand (never used) with max charge of 2000 (or whatever getav rightitemcharge returns)

use 500 worth of charge

call: setav rightitemcharge 2000

call: getav rightitemcharge returns 1500

use 1000 worth of charge

call: setav rightitemcharge 2000

call: getav rightitemcharge returns 500

Somewhere the game is storing the amount of charge used so far

Dropping the staff and picking it back up resets this "stored" value to 0 (likely when dropped it gets an object reference and does something)

anyone else seeing anything like this?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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