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

NPC attack and damage rolls add extra zero

When rolling attack and damage rolls for NPCs only, an extra zero is added at the end of each roll. Is there an attribute I can toggle that will prevent this from displaying?
1607518279
David M.
Pro
API Scripter
Following.
1607522116

Edited 1607522309
Oosh
Sheet Author
API Scripter
There's not much you can do about it apart from use a custom macro. It's a flat zero being added, rather than an Attribute reference: Attack: @{wtype}&{template:npcatk} {{attack=1}} @{damage_flag} @{npc_name_flag} {{rname=[@{name}](~repeating_npcaction_npc_dmg)}} {{rnamec=[@{name}](~repeating_npcaction_npc_crit)}} {{type=[^{attack-u}](~repeating_npcaction_npc_dmg)}} {{typec=[^{attack-u}](~repeating_npcaction_npc_crit)}} {{r1=[[@{d20}+(@{attack_tohit}+0)]]}} @{rtype}+(@{attack_tohit}+0)]]}} @{charname_output} Damage: @{wtype}&{template:npcdmg} @{damage_flag} {{dmg1=[[@{attack_damage}+0]]}} {{dmg1type=@{attack_damagetype}}} {{dmg2=[[@{attack_damage2}+0]]}} {{dmg2type=@{attack_damagetype2}}} {{description=@{show_desc}}} Attack/Damage auto-roll: @{wtype}&{template:npcfullatk} {{attack=1}} @{damage_flag} @{npc_name_flag} {{rname=@{name}}} {{r1=[[@{d20}+(@{attack_tohit}+0)]]}} @{rtype}+(@{attack_tohit}+0)]]}} {{dmg1=[[@{attack_damage}+0]]}} {{dmg1type=@{attack_damagetype}}} {{dmg2=[[@{attack_damage2}+0]]}} {{dmg2type=@{attack_damagetype2}}} {{crit1=[[@{attack_crit}+0]]}} {{crit2=[[@{attack_crit2}+0]]}} {{description=@{show_desc}}} @{charname_output} I have no idea why, or how long it's been doing that. It's possible that a sheetworker is failing to read something and throwing a 0 in there to stop an error. Not really sure what an NPC needs added to their static bonus, though, and there's no way to check since we can't see what the sheet currently looks like. Odd!
Found this Reddit post on the Internets. It doesn't offer up a solution, but a confirmation that maybe it's intentional? Tommy8972 4 points · 3 years ago Found the answer. I got a response from one of the mods on roll 20. Silvyre said: The OGL sheet uses those +0's to prevent rolls from requiring certain fields on the sheet to be filled out. If those +0's were not there some, some rolls would throw errors or fail if a user did not fill out certain fields on the sheet.