Skip to content

Get current temporary HP?

I'm sure this has been resolved ages ago, but I just realized that my solution to players logging to get free healing, can be exploited with temporary HPs. (They turn into normal HPs)
My initial idea was to just subtract those temporary hitpoints before saving, but I'm not seeing a clear function that looks like it will return that value. The lexicon makes it sound like if I just remove them, I'll have to wait to get the updated value. I'm not sure how long the player object stays valid after logging out.
I suppose maybe I could remove the current temp HP effect, then add another one and minus how ever much I added.

Comments

  • ForSeriousForSerious Member Posts: 446
    Tried that last approach I mentioned. Didn't update the result of GetCurrentHitPoints();

Sign In or Register to comment.