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

Need help with Dungeon Crawl Classics warrior attack macro

I am trying to write a macro that rolls a "Deed Die"(d4) and applies the same modifier to my hit and damage rolls automatically. Currently I have: "Aegon's steel will and training grant [[d4]] to hit and damage this round! Aegon thrusts Seraphsiel for [[d20+1+2]] to hit and [[1d6+1+2]] damage! Add [[d14]] for critical damage!" but I have to manually add the Deed Die modifier to the roll results.  When I try to apply the Deed Die roll to my hit and damage within the macro, it rolls two separate d4's and applies the value for each roll. Anyone have an idea what I need to do? The +1 and  +2 modifiers are normal attribute and magical wep, etc..
1474212650
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Rolls are always unique, You're going to have to add them manually unfortunately.
1474212934
The Aaron
Roll20 Production Team
API Scripter
(Moved to Specific Use Queations)
I think I may have found a solution, but it is not automatic. I separated the Deed Die roll from the hit and damage roll macro and added a query for a modifier. Now I roll the Deed Die and add the result as a modifier to the hit and damage roll: Aegon thrusts Seraphsiel for [[d20+1+2+?{Modifier|0}]] to hit and [[1d6+1+2+?{Modifier|0}]] damage! Add [[d14]] for critical damage! I would still love an automatic macro if anyone has any ideas!
Joshua D. said: I separated the Deed Die roll from the hit and damage roll macro and added a query for a modifier. This is really the best solution you'll be able to get without the help of an API Script . (Access to the API is available only in games in which the game's Creator currently has an active Pro subscription.)