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

D&D 3.5e character sheet macro edits

I have 2 things I want to add to my character sheet rolls and I need to know if ether is possible. On skill checks our group if we roll a 20 we get a bonus of +5 and a -5 on a 1 roll. Is there a way to add this contingency to the skill checks? If so, how? Secondly we have a rogue type in our group and I want to be able to add her sneak attack to the damage rolls. Is there a way to make it when flanked is checked it rolls her additional damage? If so, how?  Any help on this would be greatly appreciated. And thank you for your time.
1609932138
Ziechael
Forum Champion
Sheet Author
API Scripter
The 3.5e sheet is highly customisable thanks to Diana exposing the default macros in free text boxes. The sneak attack option would be easy enough to add to the damage macro portion of the characters various weapons: Adding + [[?{Flank (1=yes)} * <insert sneak attack roll here>[Sneak Attack] ]] to the end of each of the characters 'Damage Calc' macros should do it. For clarity the full thing with a sample sneak attack damage roll would be:  + [[?{Flank (1=yes)} * 3d6[Sneak Attack] ]] The skill check would be slightly harder since conditional logic is not really easily doable without access to the API (a Pro subscriber perk based on the game creators account). You might be better using a universal macro to save having to update each characters built in skill rolls... I'll play around and see if I can come up with an example that might fit the bill for you...
Thank you so very much for your time and information.
1610016966

Edited 1610017031
Ziechael
Forum Champion
Sheet Author
API Scripter
Found some time to have a play around with this for you, setting each character up with an ability like this would be the closest you are likely to come without having to consider the API: &{template:DnD35StdRoll} {{skillflag=true}} {{name=@{character_name}}} {{check= ?{Skill|Appraise,Appraise check:}} {{checkroll= [[ 1d20 + @{appraise}| Balance,Balance check:}} {{checkroll= [[ 1d20 + @{balance}| Bluff,Bluff check:}} {{checkroll= [[ 1d20 + @{bluff}|Climb,Climb check:}} {{checkroll= [[ 1d20 + @{climb}|Concentration,Concentration check:}} {{checkroll= [[ 1d20 + @{concentration}} + ?{Bonus|0} ]]}} {{critroll=Major success, +5 to the result }} {{fumbleroll=Major fail, -5 to the result }} I've done the first 5 skills as an example but you should be able to reverse engineer it enough to add the rest if it fits your needs. In essence you just need to replicate the bit in bold and change the requisite words, in this example Balance and balance, to fit each skill as per the sheet. I've put the 'non-query' stuff in italics so that it is easier to see the static parts of the macro too. You can also set it up as a global macro in the 'collections' tab and give all players access if you want them to be able to add it to their macro bar themselves, you'd need to do a find/replace on @{ to change it to @{selected| to account for the need to identify the sheet being used.
Thank you so much for all this. Your amazing. I do have 1 final question on the first part if possible. When I added the line you gave me it worked great. It took me a bit of tinkering but it works. The damage added as needed. But I am wondering (I hope I'm not being a pain) if there is a way to add it separately to the output without editing the API. So the output would be like: "Character" attacks with "weapon" Hitting AC with "roll" for "roll" damage and "roll" sneak attack damage. I tried a few things but I can't seem to get it to display. Again thanks. You have been amazing!
 
1610289105
Ziechael
Forum Champion
Sheet Author
API Scripter
Happy to help, this stuff can get very complex very quickly so asking is always advised lol... To have it display separately you could remove it from the damage calc section and instead put it in the actual attack macro itself (the second macro box under each weapon): &{template:DnD35Attack} {{pcflag=true}} {{name=@{character_name}}} {{subtags=attacks with a @{weapon1name} }} {{attack1=hitting AC [[ @{weapon1attackcalc} ]] }} {{critconfirm1=Crit?: [[ @{weapon1attackcalc} ]] }} {{fumbleroll=Fumble: [[ d20 ]] }} {{damage1=for [[ @{weapon1damage} ]]dmg and [[ ?{Flank (1=yes)} * 3d6[Sneak Attack] ]] sneak attack dmg }} {{critdmg1=+ [[ @{weapon1crit} ]] crit dmg}} {{fullattackflag= [[ 0d1 ]] }} You'll get it in every attack either as 0 damage or an actual damage roll when it is applicable but that should be your easiest implementation option.
That is awesome. Exactly what I am looking for. Thank you so much for the assistance. One last question. Can I force that sneak attack to a new line? If not that is fine. It still works amazeballs! :D Again thank you so much of the assistance. 
1610398112
Ziechael
Forum Champion
Sheet Author
API Scripter
Since it is part of a template output a hard return should suffice: &{template:DnD35Attack} {{pcflag=true}} {{name=@{character_name}}} {{subtags=attacks with a @{weapon1name} }} {{attack1=hitting AC [[ @{weapon1attackcalc} ]] }} {{critconfirm1=Crit?: [[ @{weapon1attackcalc} ]] }} {{fumbleroll=Fumble: [[ d20 ]] }} {{damage1=for [[ @{weapon1damage} ]]dmg [[ ?{Flank (1=yes)} * 3d6[Sneak Attack] ]] sneak attack dmg }} {{critdmg1=+ [[ @{weapon1crit} ]] crit dmg}} {{fullattackflag= [[ 0d1 ]] }}
You have been amazing thank you so much for your time. :)