PDA

View Full Version : Recovery Hit Dice and Wounds



Daxcor
October 30th, 2019, 19:24
I am totally lost, I have been googling around and I can't seem to find the answer.

I am editing the function Charmanger.resetHealth. It is my belief that nodeChar contains the current PC in the CT that during a rest is having their hp reset. I query the value DB.getValue(nodeChar, "hp.wounds", "") and I get the current wounds of that pc. Next I call ActionRecovery.performRoll(false, nodeChar, vClass); Everything updates on PC sheet and CT just find as it should. However when I query DB.getValue(nodeChar, "hp.wounds", "") again, I get the original value of wounds, not the updated one based on the recovery die I just called. I am at a loss as to why? can anyone shed some light?

Daxcor