# D&D Beyond Homebrew monster macros Resources(For their new dice rolling)
Hey so I was going adding in the new dice rolling mechanics for D&D Beyond's monster dice rolling and decided that I'd share them with everyone else who puts homebrew monsters on there. Just add and remove dice numbers and damage types where you need to for your homebrew mechanic!
Hope it helps!
### Ranged Attack Formula:
Shortbow. Ranged Weapon Attack: [rollable]+4;{"diceNotation":"1d20+4","rollType":"to hit","rollAction":"Shortbow"}[/rollable] to hit, range 80/320 ft., one target. Hit: 5 [rollable](1d6 + 2);{"diceNotation":"1d6+2","rollType":"damage","rollAction":"Shortbow","rollDamageType":"piercing"}[/rollable] piercing damage.
### Melee Attack Formula:
Scimitar. Melee Weapon Attack: [rollable]+4;{"diceNotation":"1d20+4","rollType":"to hit","rollAction":"Scimitar"}[/rollable] to hit, reach 5 ft., one target. Hit: 5 [rollable](1d6 + 2);{"diceNotation":"1d6+2","rollType":"damage","rollAction":"Scimitar","rollDamageType":"slashing"}[/rollable] slashing damage.
### Monster Attack with addition effect formula:
Bite. Melee Weapon Attack: [rollable]+11;{"diceNotation":"1d20+11","rollType":"to hit","rollAction":"Bite"}[/rollable] to hit, reach 10 ft., one target. Hit: 17 [rollable](2d10 + 6);{"diceNotation":"2d10+6","rollType":"damage","rollAction":"Bite","rollDamageType":"piercing"}[/rollable] piercing damage plus 4 [rollable](1d8);{"diceNotation":"1d8","rollType":"damage","rollAction":"Bite","rollDamageType":"acid"}[/rollable] acid damage.
### Monster Ability Formula:
Nimble Escape. The goblin can take the [action]Disengage[/action] or [action]Hide[/action] action as a bonus action on each of its turns.
### Monster Condition Formula:
Frightful Presence. Each creature of the dragon's choice that is within 120 feet of the dragon and aware of it must succeed on a DC 16 Wisdom saving throw or become [condition]frightened[/condition] for 1 minute. A creature can repeat the saving throw at the end of each of its turns, ending the effect on itself on a success. If a creature's saving throw is successful or the effect ends for it, the creature is immune to the dragon's Frightful Presence for the next 24 hours.
### Monster Skill/Condition/Spell:
[condition]charmed[/condition]
[spell]magic missile[/spell]
[skill]perception[/skill]
### Monster Recharge Ability Formula:
Acid Breath [rollable](Recharge 5–6);{"diceNotation":"1d6","rollType":"recharge","rollAction":"Acid Breath"}[/rollable]. The dragon exhales acid in a 60-foot line that is 5 feet wide. Each creature in that line must make a DC 18 Dexterity saving throw, taking 54 [rollable](12d8);{"diceNotation":"12d8","rollType":"damage","rollAction":"Acid Breath","rollDamageType":"acid"}[/rollable] acid damage on a failed save, or half as much damage on a successful one.