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

Paladin Aura of Protection

I am trying to figure out a way to dynamically generate a saving throw modifier (+3) based on the spell Aura of Protection and have it update a value in the macro of a different character, so that they get the benefit of the improved saving throw. Is such a thing even possible?
1498269389
The Aaron
Pro
API Scripter
So, you should be able to add an attribute to one character and reference it in another.  For example, if you Paladin is named Bob and has the attribute AuraOfProtection, you could add that to formula in another character like this: [[ 1d20+@{modifier}+@{Bob|AuraOfProtection}]]
1498334650
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
While that would add the value, I suspect by the use of "dynamically", William G is referring to doing it on the fly, since the condition is entirely dependent on the Paladin's range. I suspect, you would need to add a roll query into your macro to let the player/dm decide to use it at the moment. It might be just easier to mentally adjust the result on the fly and save yourself a whole lot of clicking.
1498339936
The Aaron
Pro
API Scripter
Ah.  I can imagine an API script capable of doing that... would be quite a bit of work.
All, Thanks for the reply. This makes sense. Even though it is probably not worth pursuing, I learned something out of this post that is valuable
1498443769
The Aaron
Pro
API Scripter
Like many scripts, the interface is the hard part. 
I give the token an aura for the radius of the buff. Maybe the paladin's aura of protection is cornflower blue. Don't know if there's a way for a script to recognize if one token is within an aura of another token, but the visual reminder usual prompts me to add it manually.
yes, that works