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

Token Mod use to increase current AND max hit points on a token's bar1 - REQUEST

I use this clunky stich-together I made to increase token's bar1 hit points beyond max for such uses as the False Life spell. !token-mod {{    --set bar1_value|[[{ (0@{selected|bar1} + 0d0+?{How many hit points do you increase?|0} ),  (0@{selected|bar1|max}d1 + (999)) }kl1 ]]   --report     all|"{name} gained {bar1_value:abschange} hit points"     gm|"{name} has {bar1_value}/{bar1_max} hp"   --ids @{selected|token_id}  }} How can it be modified to increase BOTH current and max hit points? Thank you!
Change ' bar1_value' to 'bar1': !token-mod {{    --set bar1|[[{ (0@{selected|bar1} + 0d0+?{How many hit points do you increase?|0} ),  (0@{selected|bar1|max}d1 + (999)) }kl1 ]]   --report     all|"{name} gained {bar1_value:abschange} hit points"     gm|"{name} has {bar1_value}/{bar1_max} hp"   --ids @{selected|token_id}  }}