Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Dark Dreams of Furiae - a new module for NWN:EE! Buy now
Attention, new and old users! Please read the new rules of conduct for the forums, and we hope you enjoy your stay!

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.


Sign In or Register to comment.