FG Spreadshirt Swag
  1. #1

    Recovery Hit Dice and Wounds

    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
    Last edited by Daxcor; October 31st, 2019 at 00:30.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Starfinder Playlist

Log in

Log in