Roll20 (SRD5) – Hexblade Curse Macro

So one of the guys in the Filthy Pig was having an issue with the SRD5 sheet, specifically trying to get his attack to add the Curse damage (his Proficiency Bonus) to the final result. While he had done this in other sheets, and they had worked fine, somehow the backend seems to have borked itself, So the only easy solution was to make the macro easier to manage, and consistent results that add up correctly. Also works for advantage and dis advantage rolls as well.

So here is the code that I made up for him so that it works correctly:

@{Hexblade Warlock|wtype}&{template:atkdmg} {{mod=+3}} {{rname=Longsword (?{HexDmg|No,0|Yes,@{Hexblade Warlock|PB}}) }} {{r1=[[1d20cs>20 + @{Hexblade Warlock|PB} + @{Hexblade Warlock|strength_mod}]]}} @{Hexblade Warlock|rtype}cs>20 + @{Hexblade Warlock|strength_mod} + @{Hexblade Warlock|PB} ]]}} {{attack=1}} {{damage=1}} {{dmg1flag=1}} {{dmg1=[[1d8 + @{Hexblade Warlock|strength_mod} + ?{HexDmg} ]]}} {{dmg1type=Slashing }} {{desc=}}


There are a couple of these to consider before using this, you will need to change up to 3 items.  They are following with a description of what it should be changed to.  I have set this code up (below) is in my usual format with a find and replace setup to me settings:

@{xxx|wtype}&{template:atkdmg} {{mod=+3}} {{rname=yyy (?{HexDmg|No,0|Yes,@{xxx|PB}}) }} {{r1=[[1d20cs>20 + @{xxx|PB} + @{xxx|zzz_mod}]]}} @{xxx|rtype}cs>20 + @{xxx|zzz_mod} + @{xxx|PB} ]]}} {{attack=1}} {{damage=1}} {{dmg1flag=1}} {{dmg1=[[1d8 + @{xxx|zzz_mod} + ?{HexDmg} ]]}} {{dmg1type=Slashing }} {{desc=}}

Things to F&R:

  • xxx > character_name (Free Text)
  • yyy > weapon_name (Free Text)
  • zzz > stat used for attack and damage.   lowercase, full names only: strength, dexterity, constitution, intelligence, wisdom and charisma.


5048total visits,4visits today

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.