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

Undead Fortitude Macro

So even though I play D&D a lot, I still suck at math, and I have a future combat that uses Undead Fortitude quite a Lot Undead  Fortitude : If damage reduces the zombie to 0  Hit Points , it must make a  Constitution  saving throw with a DC of 5+the damage taken, unless the damage is radiant or from a critical hit. On a success, the zombie drops to 1 hit point instead. Therefore, is there an easy macro that can take the last damage taken and run the saving throw automatically?
Nothing that can pick up the damage from the chat, but we can make something that would both run the check as well as post the DC for you. Make this Macro: Undead Fortitude DC = [[5+?{How much damage taken?}]] %{selected|npc_Con} You can even put it multiple damage totals if it was something that does add-on damage like sneak attacks, Hunter's Mark, or Hex. So, like if you have multiple damage amounts as part of one hit, put them in the box with a + between them.
How do i get the undead fortitude part in my roll tmplete? I have this and it doesn't work. &{template:npcaction} {{rname= Zombie}} {{**Undead Fortitude DC** = [[5+?{How much damage taken?}]] %{selected|npc_Con}
This works but it could be better. &{template:npcaction} {{rname= Zombie}} &{template:npcaction} {{rname=**Undead Fortitude DC**= [[5+?{How much damage taken?}]]}} %{selected|npc_Con}
1588179133

Edited 1588179172
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Try this: &{template:npcaction} {{rname= @{selected|character_name}}}{{description=**Undead Fortitude DC**= [[5+?{How much damage taken?}]]}} %{selected|npc_con_save} This pulls the Constitution Save roll, instead of a Constitution Ability roll, and pulls the name from the selected character, so that the same code can be used on different creatures with Undead Fortitude. It also reduces the number of roll templates generated by one.
keithcurtis said: Try this: &{template:npcaction} {{rname= @{selected|character_name}}}{{description=**Undead Fortitude DC**= [[5+?{How much damage taken?}]]}} %{selected|npc_con_save} This pulls the Constitution Save roll, instead of a Constitution Ability roll, and pulls the name from the selected character, so that the same code can be used on different creatures with Undead Fortitude. It also reduces the number of roll templates generated by one. I really like this! Thank you!