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

Hit die Macro with Durable and Wound closure

For those wondering how to roll hit die for a character with both durable and the amulet of would closure I've typed up a macro for free use. &{template:simple} {{rname=^{hit-dice-u}}} {{?{number of Hit die|0}} {{mod=D@{selected|hitdieroll}+[[@{selected|constitution_mod}[CON]]]}} {{r1=[[{[[?{number of Hit die}d@{selected|hitdieroll}+[[@{selected|constitution_mod}*?{number of Hit die}*2]][CON]]],[[@{selected|constitution_mod}*2*?{number of Hit die}*2]]}kh1]]}} {{normal=1}} @{selected|charname_output} Enjoy everyone
I'm back with an Update to the Code, as I was testing it again recently I spotted an error which has been fixed and the new code will be posted be low I did have help from a friend to rework the problem as they've done coding before &{template:simple} {{rname=^{hit-dice-u}}} {{?{number of Hit die|0}} {{mod=D@{selected|hitdieroll}+[[@{selected|constitution_mod}[CON]]]}} {{r1=[[{[[?{number of Hit die}d@{selected|hitdieroll}+[[@{selected|constitution_mod}*?{number of Hit die}]][CON]]],[[@{selected|constitution_mod}*2*?{number of Hit die}]]}kh1*2]]}} {{normal=1}} @{selected|charname_output} I am kicking myself for the fix to the problem if you're having trouble spotting the difference, the last *2 was removed from both and put after the kh1, which fixed the issues of the first dice roll not being correct and having only the con mod * number of dice * 2 instead of (hit die+con mod * number of dice)*2, enjoy the code, it was a pain to work with