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

Cure light wounds doesn't work as intended using tokenmod

1593265778

Edited 1593265954
Hi guys, I want to automatically use cure wounds spells and have tried the following: !token-mod {{--set bar1_value|[[@{target|Whom|bar1|max},[[1d8+@{target|Whom|bar1|current}+{5,@{Simar Altran|class1_level}}kl1]]kl1]] --ids @{target|Whom|token_id}} This one is editing the bar1 but always entered max hp.The second keep lowest part seems not to work. i cant figure out the problem. Someone there to help me out? thx
1593317279

Edited 1593317698
Oosh
Sheet Author
API Scripter
Looks like you're just missing the curly braces for the outside kl1! !token-mod {{--set bar1_value|[[{@{target|Whom|bar1|max},[[1d8+@{target|Whom|bar1|current}+{5,@{Simar Altran|class1_level}}kl1]]}kl1]] --ids @{target|Whom|token_id}}
Thx! That's it!