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

Damage not showing in template macro

I have the following: &{template:pc} {{name=Main Hand Attack}} {{attack=1}} {{roll=[[1d20cs18 + (?{Flank?|No,0|Yes,1} * 2) + @{BAB} - 2 + @{dexterity_bonus}]]}} {{critconfirm=[[1d20 + (?{Flank?|No,0|Yes,1} * 2) + @{BAB} - 2 + @{dexterity_bonus}]]}} {{type=attack}} {{rolldmg1=[[1d6 + @{dexterity_bonus}]]}} I'm trying to get the damage to display and no editing has allowed that to show.  I have a simplified version of: &{template:pc} {{name=Main Hand Attack}} {{attack=1}} {{roll=[[1d20]]}} {{critconfirm=[[1d20]]}} {{type=attack}} {{atkvs=Melee vs AC}} {{dmg1flag=1}} {{dmg1=[[1d6]]}} {{dmg1type=Piercing}} {{dmg1crit=[[2d6]]}} Just trying to get the display to work and it just won't display.  Any help would be appreciated.
1595477032
GiGs
Pro
Sheet Author
API Scripter
Is the issue that you have the label rolldmg1 ? In your second macro its just dmg1
1595515459

Edited 1595515519
Oosh
Sheet Author
API Scripter
{{dmg1flag=1}} is probably needed to display any dmg1 related fields. Some templates might also have a {{damage=1}} flag to toggle the entire damage section, doesn't look like this one does though.
I've tried both rolldmg1 and dmg1 in the macro, still doesn't display. &{template:pc} {{name=Rapier}} {{type=attack}} {{roll=[[1d20]]}} {{dmg1flag=1}} {{damage=[[1d6]]}} {{dmg1crit=[[2d6]]}} {{dmg1type=Piercing}} Will display the damage type but not the roll.
Need to have {{damage=1}} and {{dmg1=[[#d#]]}} to display the dmg.  The finished macro: &{template:pc} {{showchar=[[1]]}} {{charname=Valos}} {{name=Main Hand Attack (Rapier)}} {{type=attack}} {{atkvs=(Melee vs AC)}} {{roll=[[1d20cs18 + (?{Flank?|No,0|Yes,1} * 2) + @{BAB} - 2 + @{dexterity_mod}[DEX]]]}} {{critconfirm=[[1d20cs18 + (?{Flank?|No,0|Yes,1} * 2) + @{BAB} - 2 + @{dexterity_mod}[DEX]]]}} {{damage=1}} {{dmg1=[[1d6 + @{dexterity_mod}[DEX]]]}} {{dmg1flag=1}} {{dmg1crit=1}} {{dmg1type=Piercing}} {{dmg2=[[ ?{Sneak?|No,0|Yes,1}*[[ ceil(@{level} / 2) ]]d6]]}} {{dmg2flag=1}} {{dmg2type=Sneak Attack Damage}} {{dmg1type=Piercing}} {{descflag=1}} {{desc=Main Hand Rapier Attack}} {{shownotes=[[1]]}} {{notes=This attack takes into account the penalties for two-weapon fighting with options for sneak attack damage and flanking bonuses.}}