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 .
×

Macro for damage only rolls (using 2014 NPC sheets)

Hello community, first post here!  I a DMing Tyranny of Dragons that uses the 2014 NPC sheets and I plan to use a defense roll, rather than attack roll. So the players will be rolling to see if they defend rather than me rolling for attack for the monsters. Anyhow, upon a hit I would like a quick way to roll just damage for that weapon publicly in the chat. I feel like I am REAL close to it working as what I have now does actually do the rolls correctly it just doesn't show the weapon names correctly and I can't figure out why. I do also have Token Action Maker loaded which is awesome except it does an attack roll AND damage. Trying to avoid the Attack roll which will not be used. Here is what I have; " /w gm &{template:default} {{name=@{selected|token_name} Damage Menu}} {{Choose a Weapon= [@{selected|repeating_npcaction_$0_name}](~selected|repeating_npcaction_$0_npc_dmg) [@{selected|repeating_npcaction_$1_name}](~selected|repeating_npcaction_$1_npc_dmg) [@{selected|repeating_npcaction_$2_name}](~selected|repeating_npcaction_$2_npc_dmg) [@{selected|repeating_npcaction_$3_name}](~selected|repeating_npcaction_$3_npc_dmg) [@{selected|repeating_npcaction_$4_name}](~selected|repeating_npcaction_$4_npc_dmg) [@{selected|repeating_npcaction_$5_name}](~selected|repeating_npcaction_$5_npc_dmg) }} &{noerror} " There is also likely a more elegant way than just running 5 actions but I thought that would cover most minions and I can use full sheets for big bads. Any advise or help is welcome. 
Keith A. said: it just doesn't show the weapon names correctly  Can you post a screenshot of what you are seeing? What is being shown versus what are you expecting to see? 
1787183298

Edited 1787183565
If you want some fancy code (adapted from my Statblock Macromule ), then you can do this to show up to 10 repeating NPC actions and roll for their respective damage. Clicking on the name of the NPC at the top of the output will open the character sheet as well. Create two Collections Macros (not visible to players): Damage-Rolls&nbsp; #DamageRollsCode DamageRollsCode /w gm &amp;{template:npcaction} {{rname=[@{selected|token_name}](<a href="https://journal.roll20.net/character/@{selected|character_id}" rel="nofollow">https://journal.roll20.net/character/@{selected|character_id}</a>" style="text-decoration: none; background: none; border: none; padding: 0px; font-family: sans-serif; display:none; white-space: wrap; color: #7e2d40; cursor: pointer; font-size: 16px; font-weight: normal; display:inline;) }} {{description=[-- Damage Rolls --](" style="text-decoration: none; background: none; border: none; padding: 0px; font-size: 13px; font-family: sans-serif; cursor: text; display:none; font-weight: bold; white-space: wrap; color: #7e2d40;)[@{selected|repeating_npcaction_$0_name} ](~@{selected|character_name}|repeating_npcaction_$0_npc_dmg" style="text-decoration: none; background: none; border: none; padding: 0px; font-size: 13px; font-family: sans-serif; cursor: text; display:none; cursor: pointer; color: Crimson; display:inline-block@{selected|repeating_npcaction_$0_name|max};) [@{selected|repeating_npcaction_$0_attack_onhit}&amp;nbsp;](" style="text-decoration: none; background: none; border: none; padding: 0px; font-size: 13px; font-family: sans-serif; cursor: text; display:none; color: DarkSlateGray; display:inline-block@{selected|repeating_npcaction_$0_name|max};)[@{selected|repeating_npcaction_$1_name} ](~@{selected|character_name}|repeating_npcaction_$1_npc_dmg" style="text-decoration: none; background: none; border: none; padding: 0px; font-size: 13px; font-family: sans-serif; cursor: text; display:none; cursor: pointer; color: Crimson; display:inline-block@{selected|repeating_npcaction_$1_name|max};) [@{selected|repeating_npcaction_$1_attack_onhit}&amp;nbsp;](" style="text-decoration: none; background: none; border: none; padding: 0px; font-size: 13px; font-family: sans-serif; cursor: text; display:none; color: DarkSlateGray; display:inline-block@{selected|repeating_npcaction_$1_name|max};)[@{selected|repeating_npcaction_$2_name} ](~@{selected|character_name}|repeating_npcaction_$2_npc_dmg" style="text-decoration: none; background: none; border: none; padding: 0px; font-size: 13px; font-family: sans-serif; cursor: text; display:none; cursor: pointer; color: Crimson; display:inline-block@{selected|repeating_npcaction_$2_name|max};) [@{selected|repeating_npcaction_$2_attack_onhit}&amp;nbsp;](" style="text-decoration: none; background: none; border: none; padding: 0px; font-size: 13px; font-family: sans-serif; cursor: text; display:none; color: DarkSlateGray; display:inline-block@{selected|repeating_npcaction_$2_name|max};)[@{selected|repeating_npcaction_$3_name} ](~@{selected|character_name}|repeating_npcaction_$3_npc_dmg" style="text-decoration: none; background: none; border: none; padding: 0px; font-size: 13px; font-family: sans-serif; cursor: text; display:none; cursor: pointer; color: Crimson; display:inline-block@{selected|repeating_npcaction_$3_name|max};) [@{selected|repeating_npcaction_$3_attack_onhit}&amp;nbsp;](" style="text-decoration: none; background: none; border: none; padding: 0px; font-size: 13px; font-family: sans-serif; cursor: text; display:none; color: DarkSlateGray; display:inline-block@{selected|repeating_npcaction_$3_name|max};)[@{selected|repeating_npcaction_$4_name} ](~@{selected|character_name}|repeating_npcaction_$4_npc_dmg" style="text-decoration: none; background: none; border: none; padding: 0px; font-size: 13px; font-family: sans-serif; cursor: text; display:none; cursor: pointer; color: Crimson; display:inline-block@{selected|repeating_npcaction_$4_name|max};) [@{selected|repeating_npcaction_$4_attack_onhit}&amp;nbsp;](" style="text-decoration: none; background: none; border: none; padding: 0px; font-size: 13px; font-family: sans-serif; cursor: text; display:none; color: DarkSlateGray; display:inline-block@{selected|repeating_npcaction_$4_name|max};)[@{selected|repeating_npcaction_$5_name} ](~@{selected|character_name}|repeating_npcaction_$5_npc_dmg" style="text-decoration: none; background: none; border: none; padding: 0px; font-size: 13px; font-family: sans-serif; cursor: text; display:none; cursor: pointer; color: Crimson; display:inline-block@{selected|repeating_npcaction_$5_name|max};) [@{selected|repeating_npcaction_$5_attack_onhit}&amp;nbsp;](" style="text-decoration: none; background: none; border: none; padding: 0px; font-size: 13px; font-family: sans-serif; cursor: text; display:none; color: DarkSlateGray; display:inline-block@{selected|repeating_npcaction_$5_name|max};)[@{selected|repeating_npcaction_$6_name} ](~@{selected|character_name}|repeating_npcaction_$6_npc_dmg" style="text-decoration: none; background: none; border: none; padding: 0px; font-size: 13px; font-family: sans-serif; cursor: text; display:none; cursor: pointer; color: Crimson; display:inline-block@{selected|repeating_npcaction_$6_name|max};) [@{selected|repeating_npcaction_$6_attack_onhit}&amp;nbsp;](" style="text-decoration: none; background: none; border: none; padding: 0px; font-size: 13px; font-family: sans-serif; cursor: text; display:none; color: DarkSlateGray; display:inline-block@{selected|repeating_npcaction_$6_name|max};)[@{selected|repeating_npcaction_$7_name} ](~@{selected|character_name}|repeating_npcaction_$7_npc_dmg" style="text-decoration: none; background: none; border: none; padding: 0px; font-size: 13px; font-family: sans-serif; cursor: text; display:none; cursor: pointer; color: Crimson; display:inline-block@{selected|repeating_npcaction_$7_name|max};) [@{selected|repeating_npcaction_$7_attack_onhit}&amp;nbsp;](" style="text-decoration: none; background: none; border: none; padding: 0px; font-size: 13px; font-family: sans-serif; cursor: text; display:none; color: DarkSlateGray; display:inline-block@{selected|repeating_npcaction_$7_name|max};)[@{selected|repeating_npcaction_$8_name} ](~@{selected|character_name}|repeating_npcaction_$8_npc_dmg" style="text-decoration: none; background: none; border: none; padding: 0px; font-size: 13px; font-family: sans-serif; cursor: text; display:none; cursor: pointer; color: Crimson; display:inline-block@{selected|repeating_npcaction_$8_name|max};) [@{selected|repeating_npcaction_$8_attack_onhit}&amp;nbsp;](" style="text-decoration: none; background: none; border: none; padding: 0px; font-size: 13px; font-family: sans-serif; cursor: text; display:none; color: DarkSlateGray; display:inline-block@{selected|repeating_npcaction_$8_name|max};)[@{selected|repeating_npcaction_$9_name} ](~@{selected|character_name}|repeating_npcaction_$9_npc_dmg" style="text-decoration: none; background: none; border: none; padding: 0px; font-size: 13px; font-family: sans-serif; cursor: text; display:none; cursor: pointer; color: Crimson; display:inline-block@{selected|repeating_npcaction_$9_name|max};) [@{selected|repeating_npcaction_$9_attack_onhit}&amp;nbsp;](" style="text-decoration: none; background: none; border: none; padding: 0px; font-size: 13px; font-family: sans-serif; cursor: text; display:none; color: DarkSlateGray; display:inline-block@{selected|repeating_npcaction_$9_name|max};)[ &amp;nbsp; More Actions Not Shown&amp;nbsp;](" style="text-decoration: none; background: none; border: none; padding: 0px; font-size: 13px; font-family: sans-serif; cursor: text; display:none; color: Crimson; color: red; cursor: text; font-weight: bold; display:inline-block@{selected|repeating_npcaction_$10_name|max};) [ ](" style="text-decoration: none; background: none; border: none; padding: 0px; font-size: 13px; font-family: sans-serif; cursor: text; display:none; height: 0.0px; display:block@{selected|repeating_npcaction_$10_name|max};)}} {{name=NPC Damage Rolls}} &amp;{noerror} You can change the name of 'Damage-Rolls' to whatever you want; make sure it is checked as 'In Bar' or 'Show as Token Action'. 'DamageRollsCode' should not be checked as 'In Bar' or 'Show as Token Action'.&nbsp; This is because of a quirk of how the &amp;{noerror} works. Here's what the Collections Macros should look like: Here's what the output looks like in chat:
Wow, Thank you @Jarren, this is exactly what I was looking for...well, I would like the damage roll to be public instead of whispered to GM but this is as close to perfect and was more than what I was trying to. I very much appreciate it!
The menu will only be whispered to the GM, &nbsp;but when you click on the name of the attack for the damage roll, that will follow whatever sheet settings you have for that character. If it’s still being whispered then check the NPCs character sheet whisper settings.&nbsp;
Ah, and easy fix. Works PERFECTLY. thanks again!