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
This post has been closed. You can still view previous posts, but you can't post any new replies.

Pathfinder Spell Macro Question

Hi...I'm hoping someone can help me with this. I've been entering the following: %{selected|repeating_weapon_$2_attack-roll} To create a 'Token Action' button, and it works just fine.  However, when I used the following: %{selected|repeating_level-1-spells_$0_roll} I end up getting the following error message: No ability was found for %{selected|repeating_level-1-spells_roll} Alain D. (GM):selected|repeating_level-1-spells_$0_roll Can someone suggest what I am missing?  Please note that I am a techno-moron and am not particularly well versed in computer lingo so I am hoping the solution is a simple one....
1459297539
James W.
Sheet Author
API Scripter
What you're looking for is: %{selected|repeating_lvl-1-spells_$0_roll} You can hover your mouse cursor over the roll button to see the appropriate name (just replace the "$X" with the appropriate number).
1459353299

Edited 1459353329
Hi James, I know and I have done that.  When you scroll over the roll button, the actual formula includes the 'X', and as you can see above it's been replaced with spell '0'. That still didn't fix the problem. Alain
Alain, you'll want to replace "level" with "lvl".
Perfect! Thank you both for your help.  Figures it would be something small.... Sigh.
1459528884
Gen Kitty
Forum Champion
As the question has been answered, I'll go ahead and close up this thread.  Please don't hesitate to start a new thread if you've any other questions or concerns.  Happy gaming!