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 Modifying Sheet Macros

1576418796

Edited 1576420378
Hey, I'm running a D&D 3.5e game here on Roll20, and one of my players is running an Artificer, and using a Repeating Heavy Crossbow. He took the Crossbow Sniper Feat for that sweet, sweet ½DEX mod to damage boost, and I have no idea how to add that to the weapon1damage macro. He's also is looking at Power Critical (Repeating Heavy Crossbow), and I, again, don't know how to add the "+4 to critical hit confirmation roll" to the weapon1crit Macro. Can I get some help here? I looked at the Macro guide, and maybe I just didn't see it, but I couldn't find how to add these into it. Also, coding isn't my strong suit, so maybe that's the issue I'm having?  Any and all help would be much appreciated! Thanks in advance, guys! EDIT: Spelling and grammar fixes
Is this for the D&D 3.5E character sheet? First set the Damage Ability to Dex. The macro weapon1damage usually looks like this:  1d8 + @{weapon1damagestat} [Weapon Dmg Ability] +@{weapon1enh}[Weapon Enh] +@{weapon1specialize}[Weapon Spec] +?{Power Attack Bonus?|0}[Pwr Attk] +?{Additional Damage Bonus?|0}[Ad'l Dmg Bon]  Modify it to: 1d8 + (floor(@{weapon1damagestat}/2)) [Weapon Dmg Ability] +@{weapon1enh}[Weapon Enh] +@{weapon1specialize}[Weapon Spec] +?{Power Attack Bonus?|0}[Pwr Attk] +?{Additional Damage Bonus?|0}[Ad'l Dmg Bon]  For the bonus to the crit confirmation, just add the +4 to the @{weapon1attackcalc} in the weapon1attackmacro  &{template:DnD35Attack} {{pcflag=true}} {{name=@{character_name}}} {{subtags=attacks with a @{weapon1name} }} {{attack1=hitting AC [[ @{weapon1attackcalc} ]] }} {{critconfirm1=Crit?: [[ @{weapon1attackcalc} +4 ]] }} {{fumbleroll=Fumble: [[ d20 ]] }} {{damage1=for [[ @{weapon1damage} ]]dmg}} {{critdmg1=+ [[ @{weapon1crit} ]] crit dmg}} {{fullattackflag= [[ 0d1 ]] }} 
Don't I need to put it in weapon1crit, since I'm recalculating Critical Hit chance? Also, the ½DEX to Damage one worked perfectly. Just tested it
weapon1crit is for damage calculation. The critconfirm1 for rolling the crit conformation is in the weapon1attackmacro, as I show. And it reuses the weapong1attackcalc for that confirmation, can't mess with that, so I added it after that macro call.
Ahh, Ok. I'll add it and see if it works. Be right back. And thank you ahead of time.
Update: it works. Checked it for both attack and crit confirm, only popped on crit confirm. Thank you again, you're a life saver!
My pleasure 
1576441496

Edited 1576441550
Hey, while I have you here, how do I add elemental damage to the damage macro? For instance, if I wanted to throw a boss wielding a Flametongue (Longsword, +1d6 Fire damage) at the party, how would I go about coding that? I doubt I can specify the damage type, though that'd be neat if I could, but I'd like to know how to add the damage at all, if you'd be so kind.  EDIT: Clarification
1576443475

Edited 1576443493
Ziechael
Forum Champion
Sheet Author
API Scripter
In the appropriate weapon slot you can just add it to the damage calc macro, by default it will say something like 1d6 or 1d8 + ... lots of other code. Right at the beginning you can make that: 1d8 + 1d6[Fire] +... The damage will output as normal but on hover the tooltip will show you the d6 followed by a tag telling you it is Fire damage.
Awesome! It took me a couple tries to get the formatting right, cause I'm an idiot, but it works! Flametongue and my player's Draconic Fist using Monk have been programmed. Again, both of you, thank you so much.
1576446566
Ziechael
Forum Champion
Sheet Author
API Scripter
Glad you got there with my barebones description... I'd normally have screenshots etc but not well so being lazy lol! Dianna's 3.5e sheet is super versatile so if there is ever anything you can't figure out how to represent be sure to post :)
Actually, Ziechael, if you wouldn't mind.... could you help me with Spell Card Macros? A new player wants to run a Druid, and I don't want to tell him no, but the spell macros might as well be written in Pig Latin Japanese for all that I can understand them...
1576488958
Ziechael
Forum Champion
Sheet Author
API Scripter
Always happy to help... have replied in the other thread .