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

[Macro Help Request] Macro for Improvised Weapon in 5e

1605614159

Edited 1605614212
Pat
Pro
API Scripter
I have a player that picked up Tavern Brawler feat specifically because her druid often throws or uses handy objects instead of carrying weapons. Whatever comes to hand. I wanted to make a quick macro for the player to pick "Attack or Throw" then "Damage Type" - so if they want to throw a mirror, it might do 1d4 slashing, ranged, versus striking with a nearby pig which would be 1d4 bludgeoning, melee. So it'll always roll 1d4 of a damage type, plus the relevant stat proficiency...  May not be able to macro it, I understand, and having a pro subscription I can write an API, but I'm not experienced enough to know if this is macro-possible or not. Edit: This brings up a question of if the feat is usable while wildshaped and I'm not sure it's ever come up before... 
Assuming the Roll20 official D&D 5e sheet, you should be able to adapt/tweak this Generic Attack  and Damage (Seperately prompts you for the attack modifier, the damage dice(without the mod)  and the damage modifier, so it handles crits correctly) &{template:atkdmg} {{mod=Generic Attack}}  {{r1=[[ 1d20+?{Attack Mod|0} ]]}} {{always=1}} {{r2=[[1d20 +?{Attack Mod|0}]]}} {{attack=1}} {{damage=1}} {{dmg1flag=1}} {{dmg1=[[?{Damage Dice} + ?{Damage Mod} ]] }} {{dmg1type=dmg1type}} {{crit1=[[?{Damage Dice}]]}}
1605655573
Oosh
Sheet Author
API Scripter
Pat said: Edit: This brings up a question of if the feat is usable while wildshaped and I'm not sure it's ever come up before...  Definitely DM territory, though very few combat forms are able to wield random objects. Giant Octopus springs to mind, but if your player is choosing to do 1d4 damage with their entire turn, instead of using an auto-restrain, 15ft attack, you probably need to increase the encounter difficulty :) But yeah, throwing a ?{Damage type|Bludgeoning|Piercing|Slashing} into the {{dmg1type}} field should do the trick. Probably worth mentioning that, homebrew aside, there are very few situations where this matters beyond narrative. Skeletons, some types of oozes... I can't think of much else. Blanket BPS resistance/immunity is common, but differentiating between them is rare.