Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

HP-Bug when Spawning Tokens

Hello,  I have encountered it quite unregulary but often (especially after level up or when using the Spawn API) that current and maximum HP of characters get reset to some previous state. This completly ruins the game. Attribute of the bar is linked to HP and the token is set as default token. I am using DND 5e by Roll 20 sheet . For example: Before lvl up maximum 35 HP after level up 41 HP -> drag out tokens 2 times Maximum HP are reset to 35 HP For example: Finished last session with 23/52 HP, which character sheet shows, after Spawning Token it is reset to 52/52 Any help would be great.
1715614402
Gauss
Forum Champion
Hi Lestrasil,  This is a known issue with the D&D 5e by Roll20 sheet. It occurs randomly.  When the token's stats revert go to the character sheet and click the hitpoints and then hit enter. That forces the token to update.  Make sure you do this before the token updates the sheet (the other direction).  I personally think it is the result of there being two different (conflicting) token setups. But I have no proof of this.  Did you set up the token via the token or via the Edit Token Properties on the Character side?  Ever since I started using Edit Token Properties exclusively I don't think it has happened to me again (anecdotal, not proper proof).
Thank you for your reply, I set the bar to HP via the  Edit Token Properties. Setting the default token via TokenMod. I am not quite sure what you mean by  " Did you set up the token via the token " To be honest 
1715618775

Edited 1715618786
Also I think your tipp wont work for me because they instantly update on the sheet for me.  " Make sure you do this before the token updates the sheet (the other direction). "
1715619377

Edited 1715619487
Gauss
Forum Champion
That may be due to TokenMod, it should not be instantly updating the sheet otherwise.  I am pretty sure that to instantly update the sheet the token's bar/bubble has to be interacted with. It does not push values otherwise.  My suggestion in that case, put a note in the Bio tab or the Features and Traits section storing the correct values for each bar.  Regarding setting up the token, there are two ways to set up the token.  The first is to edit the token directly (click the cog on the token), the second is via the Edit Token Properties button on the Character.  You are apparently using a third method entirely via TokenMod.  I would consider disabling TokenMod and see if the problem ceases. It may be an issue with that API Script. 
1715644279
David M.
Pro
API Scripter
If you are using the Spawn script to, say, spawn the party as described in Nick O.'s YT video, it might be due to the problem described here . Try using the Example syntax provided in that forum link when spawning PCs. If you update the default tokens at each level up then this method would not be required, but who is going to remember to do that? :)
David M. said: If you are using the Spawn script to, say, spawn the party as described in Nick O.'s YT video, it might be due to the problem described here . Try using the Example syntax provided in that forum link when spawning PCs. If you update the default tokens at each level up then this method would not be required, but who is going to remember to do that?  That's exactly what i was looking for in regard to spawn script thank you :)