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 making a conditional macro

Okay, so I need help here. One of my important story enemies, the Cauldronborn, have this neat ability called "Feel No Pain". I've been told there may be a way to make and attach a toggleable roll condition in response to attack made by PC 's on roll20. Does anyone know if this is possible, and if so, how I would make one? I would just need it to roll a con save of DC12+half damage anytime the PC deals damage to them. Otherwise, combats with a mob of them go waaaay too slow.
1688442260
Gauss
Forum Champion
You have two options here:  1) You build a macro into every PC for every one of their attacks so that when they roll the damage they are also rolling the creatures Con save.  Drawback: This will take a lot of work and effort to make a bunch of macros just for this one encounter.  2) A Mod (API Script) should be able to handle this, but that is a Pro feature. Does the campaign owner have a Pro account? 
1688443456

Edited 1688443608
You can create this as an Ability on the Cauldronborn character sheet, called 'FeelNoPainRoll': /w gm &{template:npcaction} {{rname=Cauldronborn Orc}} {{name=Feel No Pain Roll}} {{description=Save: [[12 + ceil(?{How Much Damage?|0}/2)]]  Roll: [[@{Orc|d20}+[[@{Orc|constitution_mod}]][CON]]]}} Then make the FeelNoPainRoll a Token Action. Or, in the description for the 'Feel No Pain' ability, just add this: [Click to roll](~Cauldronborn Orc|FeelNoPainRoll) Or another option is just a link to the CON ST roll: [Click to roll](~Cauldronborn Orc|npc_con_save) You can make that button look prettier by using an html style injection trick : [Click to roll](~Cauldronborn Orc|FeelNoPainRoll #" style="text-decoration: none; background: none; background-color: transparent; border: none; padding: 0px; font-size: 13px;  color: #7e2d40;  ) You may also be interested a universal macro mule chat menu approach for rolling for NPCs.
Gauss said: You have two options here:  1) You build a macro into every PC for every one of their attacks so that when they roll the damage they are also rolling the creatures Con save.  Drawback: This will take a lot of work and effort to make a bunch of macros just for this one encounter.  2) A Mod (API Script) should be able to handle this, but that is a Pro feature. Does the campaign owner have a Pro account?  I am the campaign owner, and no I have a plus account. These are creatures that appear frequently, however, they are the minions of one of the Big Bads of my campaign, so there will be a lot more encounters with them.
1688443953

Edited 1688444058
Gauss
Forum Champion
Lord of the Waffle House, To clarify, Jarren's macro options will definitely help you roll this faster, but it will not be a conditional like you are asking for.  Lord Of The Waffle House  said: I am the campaign owner, and no I have a plus account. These are creatures that appear frequently, however, they are the minions of one of the Big Bads of my campaign, so there will be a lot more encounters with them. Did you want to modify all of your PCs attacks? Personally I think Jarren's solution is the best one. Just pop the button every time they hit the NPC.  Token Actions or Macro bar buttons will speed up the rolling so you don't have to reference the sheet every time. 
Gauss said: Lord of the Waffle House, To clarify, Jarren's macro options will definitely help you roll this faster, but it will not be a conditional like you are asking for.  Lord Of The Waffle House  said: I am the campaign owner, and no I have a plus account. These are creatures that appear frequently, however, they are the minions of one of the Big Bads of my campaign, so there will be a lot more encounters with them. Did you want to modify all of your PCs attacks? Personally I think Jarren's solution is the best one. Just pop the button every time they hit the NPC.  Token Actions or Macro bar buttons will speed up the rolling so you don't have to reference the sheet every time.  What I'm looking to do is simply a tool speed up encounters. Here is the most recent example. The dead monsters are just evenly placed so I can count them for exp purposes, but basically the Cauldronborn were with a Gnoll Plagueweaver and six gnoll warriors, and were rolling quite well, so they were staying up a lot longer than I initially thought they would against the monk and rogue/fighter, while the sorc and cleric fought the Plagueweaver, and the Pally and Barb fought the Gnoll Warriors. Because of that there were on average 7 con saves per round from Feel No Pain, and it was a bit of a slog. It was really slowing down the encounter until the sorc finally blew a wall of fire after they realized they weren't getting the save against fire damage. I've made the macro and it's working, so I'll probably just use it since it seems like my fastest option. If you have any other ideas, I'd love to hear them, any macro more indepth than adding gifs is outside my depth.
The GroupCheck Mod script (Pro subscription required) will let you roll saves and checks for multiple tokens at the same time.  A custom mod script could be created to automatically roll a Con save for a character whenever a linked token takes damage, but I’m not aware of any script that does that currently   Otherwise there’s likely not a better way to do what you’re looking for with a non-Pro account if the options Gauss and I provided aren’t what you’re looking for. I’m not clear what exactly would isn’t working for you with those options, or what exactly you’d like to see happen. 
Jarren said: The GroupCheck Mod script (Pro subscription required) will let you roll saves and checks for multiple tokens at the same time.  A custom mod script could be created to automatically roll a Con save for a character whenever a linked token takes damage, but I’m not aware of any script that does that currently   Otherwise there’s likely not a better way to do what you’re looking for with a non-Pro account if the options Gauss and I provided aren’t what you’re looking for. I’m not clear what exactly would isn’t working for you with those options, or what exactly you’d like to see happen.  The one you provided is working pretty well in testing. I may just have to go pro account.