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

[Script] AutoMob - Mob damage calculator for DND 5th edition

1625027909

Edited 1625111134
Greetings friends! I recently needed to use the mod damage rules from the DMG and thought to myself... I could automate this. So I made one. As always, feedback is welcome. This script uses the following commands: !automob <ac> <attack bonus> <creature count> <avg damage> <multiattack> requires five parameters and then calculates mob damage based on what was passed in. example:  " !automob 1 2 3 4 5 " !automob_getmacro Creates a macro to streamline this process by querying you for the required parameters and then calling the script with those parameters. Handy tip! Customizing the macro during game prep will allow you to cut down the number of clicks by setting the queries to a fixed value. Useful if you're going to be using a lot of monsters of the same types. You will need to add it to your hotbar on your own. Look for a macro named "Query-Mob-Attack" after you run the command !automob_help Prints a message in chat with a reminder of the useable commands. AutoMob5e.js Gist *EDIT: Fixed a broken link.
Main script is working. But the built in "Getmacro" isn't running at all.  :(
1625084714

Edited 1625110750
I'll take a look at it tonight. Patch soon The command is  !automob_getmacro Currently it doesn't post to the chat log so you know it's working, I'll add an update so it will.
Updated instructions to look for a macro named "Query-Mob-Attack" in the macro tab after running the command. Added a chat message for visual feedback to know when the script has executed the command.
Aww, yes i found it there.  Thanks! I didn't know it was working at first.  Thanks!
No prob, I hope you get some good use out of it