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

Setting a character's ability scores via macros. (This is most notably useful for shapeshifters like Druids and Polymorphers.)

Greetings, all! I'm playing a shapeshifting Cleric for 3.5 named Antavius and using a Pathfinder Roll20 character sheet.&nbsp; Via macros alone, how to set the character's STR, DEX, and CON ability scores?&nbsp; I tried using a typical attack macro to no avail: MACRO: &amp;{template:PFAttack} {{name=Antavius's Giant Eagle Form}} {{subtags=goes for the weak point.}} {{attack= @{Antavius|STR} = 18 @{Antavius|DEX} = 17 @{Antavius|CON} = 12 - Claw 1 [[1d20 - 1 + @{Antavius|attk-melee}]] AC (+2 charge) (+2 flank) - Claw 2 [[1d20 - 1 - 8 + @{Antavius|attk-melee}]] AC (+2 charge) (+2 flank) - Bite [[1d20 - 1 - 5 + @{Antavius|attk-melee}]] AC (+2 charge) (+2 flank) {{damage= - Claw 1: [[d6 + (@{Antavius|STR-mod}) ]] pierce/slash damage + (#Volarian-Dragonfire Fire from Dragonfire Inspiration) - Claw 2: [[d6 + (@{Antavius|STR-mod}) ]] pierce/slash damage + (#Volarian-Dragonfire Fire from Dragonfire Inspiration) - Bite: [[d8 + (@{Antavius|STR-mod}) *0.5]] pierce/blunt/slash damage + (#Volarian-Dragonfire Fire from Dragonfire Inspiration) }} SAMPLE OUTPUT: Antavius's Giant Eagle Form goes for the weak point. Attack: (10 + 0 + 0 + 0) = 18 (17 + 0 + 0 + 0) = 17 (10 + 0 + 0 + 0) = 12 - Claw 1 <span class="inlinerollresult showtip tipsy-n-right" title=" Rolling 1d20 - 1 + ((0.5 + 0 + 0 + 0 + 0) + (floor((10 + 0 + 0 + 0) / 2) - 5) + 0 + -2 + 0) = ( 5 )-1+((0.5+0+0+0+0)+(floor((10+0+0+0)/2)-5)+0+-2+0)">2.5 AC (+2 charge) (+2 flank) - Claw 2 <span class="inlinerollresult showtip tipsy-n-right" title=" Rolling 1d20 - 1 - 8 + ((0.5 + 0 + 0 + 0 + 0) + (floor((10 + 0 + 0 + 0) / 2) - 5) + 0 + -2 + 0) = ( 10 )-1-8+((0.5+0+0+0+0)+(floor((10+0+0+0)/2)-5)+0+-2+0)">-0.5 AC (+2 charge) (+2 flank) - Bite <span class="inlinerollresult showtip tipsy-n-right" title=" Rolling 1d20 - 1 - 5 + ((0.5 + 0 + 0 + 0 + 0) + (floor((10 + 0 + 0 + 0) / 2) - 5) + 0 + -2 + 0) = ( 15 )-1-5+((0.5+0+0+0+0)+(floor((10+0+0+0)/2)-5)+0+-2+0)">7.5 AC (+2 charge) (+2 flank) {{damage= - Claw 1: <span class="inlinerollresult showtip tipsy-n-right fullcrit" title=" Rolling d6 + ((floor((10 + 0 + 0 + 0) / 2) - 5)) = ( 6 )+((floor((10+0+0+0)/2)-5))">6 pierce/slash damage + (<span class="inlinerollresult showtip tipsy-n-right" title=" Rolling 0d6 = ()">0 Fire from Dragonfire Inspiration) - Claw 2: 3 pierce/slash damage + (<span class="inlinerollresult showtip tipsy-n-right" title=" Rolling 0d6 = ()">0 Fire from Dragonfire Inspiration) - Bite: <span class="inlinerollresult showtip tipsy-n-right" title=" Rolling d8 + ((floor((10 + 0 + 0 + 0) / 2) - 5)) *0.5 = ( 3 )+((floor((10+0+0+0)/2)-5))*0.5">3 pierce/blunt/slash damage + (<span class="inlinerollresult showtip tipsy-n-right" title=" Rolling 0d6 = ()">0 Fire from Dragonfire Inspiration) Thankee! (I wanted to put these scores directly in my macros for ease and frequency of use.)
Macros can only read &nbsp;values from character sheets; the API is needed to write &nbsp;values to character sheets. The API also requires that the creator of the game have an active Pro subscription.