keeping hp and mp values across job changes
Posted: Fri Oct 31, 2014 8:46 pm
I've been playing around with on the fly job changes via @changejob, and I'm curious if anyone can help with a question I have regarding hp/mp values.
When a job is changed via changejob, hp and mp are restored to full. Aside from using @hp or @mp to simply reset them to a fixed value, is there a way to note what current hp and mp values are before change > do the job change > reapply hp and mp values on new job?
I would imagine a lua script would be the best way to go about doing this but I have little experience with Lua. Anyone have any pointers or easier methods to accomplish this?
When a job is changed via changejob, hp and mp are restored to full. Aside from using @hp or @mp to simply reset them to a fixed value, is there a way to note what current hp and mp values are before change > do the job change > reapply hp and mp values on new job?
I would imagine a lua script would be the best way to go about doing this but I have little experience with Lua. Anyone have any pointers or easier methods to accomplish this?