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 .
×
Advertisement Create a free account

Cure Wounds macro for pathfinder using the community character sheet.

Im trying to create a selectable cure macro for CLW, CMW, CSW, and CCW spells. So far i have this... !power {{ --name|Cure Spell from @{selected|token_name} --?{Cure |Cure Light Wounds, Your cure heals [[1d8+{5,@{level}}kl1 ]]|Cure Moderate Wounds, Your cure heals [[2d8+{10,@{level}}kl1 ]]|Cure Serious Wounds, Your cure heals [[3d8+{15,@{level}}kl1 ]]|Cure Critical Wounds, Your cure heals [[4d8+{20,@{level}}kl1 ]]} }} When i test it, i get    TypeError: u is undefined.  What am I doing wrong (Im using powercards too by the way). Any help appreciated.
1627534051

Edited 1627534210
vÍnce
Pro
Sheet Author
Just focusing on the query w/out powercards... this works for me on the Dev; ?{Cure |Cure Light Wounds, Your cure heals [[ 1d8+{5,@{selected|level} }kl1 ]] |Cure Moderate Wounds, Your cure heals [[ 2d8+{10,@{selected|level} }kl1 ]] |Cure Serious Wounds, Your cure heals [[ 3d8+{15,@{selected|level} }kl1 ]] |Cure Critical Wounds, Your cure heals [[ 4d8+{20,@{selected|level} }kl1 ]]} that said, it seems to fail on the Main server, which probably means you may need to use html special character substitutions in the query .  There are new features on the Dev that are being tested that no longer require the substitutions, so that explains why it works on the Dev.  Hope is on the way. ;-)