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

Macro Problem [5E OGL]

1482851420

Edited 1482851449
I'm having a problem with a macro that I'm using. I have spell tracking on and when I use a spell from the attack portion of the OGL sheet it works fine, but when I click the same spell from my actions macro it doesn't count off a spell usage. Pictures, first is the Macro and then clicking from the sheet. Here is the macro that I'm working with. /w "@{selected|character_name}" &{template:desc} {{desc= **@{character_name}'s Attacks** [Battleaxe](~Selected|{selected|repeating_attack_$0_attack}) **Magics** [Sacred Flame](~Selected|{selected|repeating_attack_$1_attack}) [Guardian of Faith](~Selected|{selected|repeating_attack_$2_attack}) [Spirit Guardains](~Selected|{selected|repeating_attack_$3_attack}) [Spiritual Weapon](~Selected|{selected|repeating_attack_$4_attack}) **Healings** [Cure Wounds](~Selected|{selected|repeating_attack_$5_attack}) [Healing Word](~Selected|{selected|repeating_attack_$6_attack}) [Mass Cure Wounds](~Selected|{selected|repeating_attack_$7_attack}) [Mass Healing Word](~Selected|{selected|repeating_attack_$8_attack}) [Prayer of Healing](~Selected|{selected|repeating_attack_$9_attack}) [Heal](~Selected|{selected|repeating_attack_$10_attack}) }}
You'll have to call the spell roll buttons from the Spells page if you want spelltracking to work.
Ahhhhh, so the action has to happen from the Spell sheet? I get it, now I need to change the macro a bit. Thank you.
1482863554
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Also, there's something funky with your ability command button syntax, should just be: [Display text](~selected|repeating_attack_$9_attack)
Scott C. said: Also, there's something funky with your ability command button syntax, should just be: [Display text](~selected|repeating_attack_$9_attack) Thank you that fixed everything.