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 Potion 2024

So I came across a Nick Olivo video about making a Hp Potion that works on the 2024 sheets. In the video he says you have to be on experimental (and I have tried it on both and it does the same thing on both default and  experimental) and the macro updates the bar on the token and the sheet, however I can only get it to update the token not the sheet. Any Ideas? !token-mod {{ --set bar1_value|+?{Potion|Regular,[[2d4+2]]|Greater,[[4d4+4]]|Superior,[[8d4+8]]|Supreme,[[10d4+20]]}! --report all|"{name} drinks a healing potion and recovers {bar1_value:abschange} HP. " }}
Also is there a way to add which potion you selected to the report?
I cannot replicate what you are seeing. If I take that same token-mod command and paste it into a Jumpgate game with 2024 sheet and the Experimental sandbox, it updates the sheet and the token. Before After Maybe check that your token bar is linked to the attribute on the sheet? In my Jumpgate, 2024 sheet test game, that macro you posted works as I would expect. I cannot answer the question about getting report to work. I know there are ways to display data and update tokens and attributes with the ScriptCards mod if you were wanting to go down that route but the Roll Query method you are using above is pretty limited since it runs before any Mod can process that data so I think the token-mod is only sent the result of the inline roll so token-mod would only see something like: !token-mod --set bar1_value|+8! --report all|"{name} drinks a healing potion and recovers {bar1_value:abschange} HP. " But I may be wrong on that and someone more knowledgeable with roll queries can correct me. If you are interested in seeing a ScriptCards way of handling healing potions, let me know and I could probably help with that.
I don't know why but it works now and I didn't change anything.
1752286751

Edited 1752286782
I figured out the problem because It's happening in another game. The game is set to experimental but it doesn't actually switch.