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

Thoughts on Spell Casting with Checks Macro

Hi all, Looking for some help to try something.  In the Attack rolls of say a xbow, the Damage is clickable.  This is nice. When a spell is casted, using the attack link, that has a save vs Wisdom, why is the Wisdom not clickable? Now the affected player/players have to all go open their sheets and click on the save.  In my efforts to make this clickable by anyone, I was trying to add a macro into the savedesc.  Since I have a macro available for tokens to click and pick what ability, I figured this would at least help some. @{Arnie|wtype}&{template:dmg} {{rname=Vicious Mockery}} 0 {{range=60 feet}} {{damage=1}} {{dmg1flag=1}} {{dmg1=[[[[round((@{Arnie|level} + 1) / 6 + 0.5)]]d4]]}} {{dmg1type=Psychic}} 0 {{dmg2=[[0]]}} {{dmg2type=}} {{save=1}} {{saveattr=Wisdom}} {{savedesc= [Roll vs Ability](! #Roll-vs-Ability) = [[1d20]] }} {{savedc=[[[[(@{Arnie|spell_save_dc})]][SAVE]]]}} {{desc=}}  {{spelllevel=cantrip}} {{innate=}} {{globaldamage=[[0]]}} {{globaldamagetype=@{Arnie|global_damage_mod_type}}} ammo= @{Arnie|charname_output} This is the output of the spell casted by Arnie.  I added the savedesc text in there to run my macro that rolls vs Ability, but when I click the button, the menu pops up, I pick the ability, but nothing happens. I am rolling the d20 for the DM in case its vs a NPC, at least they dont have to roll it. The goal here would be, somehow the macro makes it into chat so people could select their own token and roll if it affects them.   Hopefully I explained this enough.  If you have any thoughts on how to make this work, actually would make a good enhancement, because even if i get this working, I am not sure how to go about making it actually happen.  Is there anyway to maybe run the macro with (! #Roll-vs-@{saveattr}) ?? Feels like this should just be part of r20, not sure why it doesnt work as default.
1584967961
The Aaron
Roll20 Production Team
API Scripter
Try changing what you have to this: {{savedesc=[Roll vs Ability](! 
 #Roll-vs-Ability) = [[1d20]]}} Assuming each player has the macro Roll-vs-Ability, that should let them click it to get the macro executed. I speculate that the reason this doesn't exist as a default option is that the chat doesn't know the context for which character to roll the save against.  It doesn't know what players a character has, and even if it did, it wouldn't know which one to roll against.  Automation like this is pretty situational.
Ah, thanks The Aaron  Guess I didnt really think this all the way through as this still doesnt help me though, I can't make it :"global" for all spells that check vs abilities... So i could go add this in the description of saves per spell, but that isnt feasible... Thanks for the help, I do appreciate it, I forgot about the HTML stuff...
1584972248
The Aaron
Roll20 Production Team
API Scripter
No worries!