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

[5e OGL] saving throw reference question

I've been looking at the Wiki but havent found this yet - would anyone be able to help? If I wish to call up a target's skill within a macro, including whether or not they are proficient, I may use @{selected|medicine_bonus. What do I use to call up strength save? I tried various things, sorry if it is very simple. Thank you! Barry
1515464314
The Aaron
Pro
API Scripter
@{selected|strength_save_prof} if you're using the 5e OGL sheet.
Thank you Aaron! Always appreciate your willingness to share you scripting knowlege!
1515464909
The Aaron
Pro
API Scripter
=D  Well, I just happened to have all the source code available...  =D
Hey Aaron, I implemented your fix into the following macro  but it is not adding the target's save to a d20 roll. I am using the OGL.  *The Whirlwind* ***enters the space of @{target|token_name}*** *who receives [[10d6]] bludgeoning damage, or half with a successful DC [[0d0 + 8 + @{selected|Wisdom_Mod} + @{selected|PB} ]] dexterity save!* ``Their roll: [[1d20+{target|dexterity_save_prof}]]`` ***If @{target|token_name} fails the dexterity save, they must succeed at a DC [[0d0 + 8 + @{selected|Wisdom_Mod} + @{selected|PB} ]] strength save or be picked up and restrained by the whirlwind!!!*** ``Their roll: [[1d20+{target|strength_save_prof}]]`` *A restrained target may attempt a new dexterity or strength* ***CHECK*** *as an action each round.* Thank you! Barry
1515466321
The Aaron
Pro
API Scripter
Ah, for some reason I was thinking you just wanted to know if they were proficient.  Try instead @{selected|strength_save_bonus}
Aaron, Something is still not working. It rolls the d20 but adds nothing to it. Thanks *The Whirlwind* ***enters the space of @{target|token_name}*** *who receives [[10d6]] bludgeoning damage, or half with a successful DC [[0d0 + 8 + @{selected|Wisdom_Mod} + @{selected|PB} ]] dexterity save!* ``Their roll: [[1d20+{target|dexterity_save_bonus}]]`` ***If @{target|token_name} fails the dexterity save, they must succeed at a DC [[0d0 + 8 + @{selected|Wisdom_Mod} + @{selected|PB} ]] strength save or be picked up and restrained by the whirlwind!!!*** ``Their roll: [[1d20+{target|strength_save_bonus}]]`` *A restrained target may attempt a new dexterity or strength* ***CHECK*** *as an action each round.*
1515492566
Ziechael
Forum Champion
Sheet Author
API Scripter
You are missing the @ off the beginning of the attribute calls " @ {target|dexterity_save_bonus} " etc
Thank you Ziechael! I appreciate both, your help, and of course Aaron's help! Barry