Hey all,

This is my first time trying custom modifiers, so far I have repurposed parts of macros I have found but don't understand enough to fix the problems I've encountered.

I am playing a Sorlock with Elven Accuracy (disgusting I know, but were having fun).

My spell attacks have the crit modifier;

  • [[20-@{Name|repeating_damagemod_$1_global_damage_active_flag}]] - which pulls from my second Hexblade's Curse mod to change my crit range to 19 when it is active.

I have two Global Damage Mods;

  • Hex - adds hex damage.
  • Hexblade's Curse - allows other strings to pull from this to change crit range or add damage.

I have one Global Attack Mod;

  • 2d20kh1cs>[[20-@{Name|repeating_damagemod_$1_global_damage_active_flag}]] + 4[CHA] + 3[PROF] - this allows me to roll to attack 3 times with elven accuracy.

What works;

  • Hex damage.
  • Increased crit range.
  • Rolling 3 times for an attack.

What doesn't work;

  • On triple attack rolls, crit damage is only rolled when the crit is on the first dice. Is this possible to fix? Not a huge deal but always feels good to solve these problems.
  • I want to add Hexblade's Curse to the Damage 2 part of each spell so it is the correct damage type rather than it combining with Hex's necrotic damage due to the limit of 1 Global Damage Mod damage type. I have tried adding the damage via [[4-@{Lareth|repeating_damagemod_$1_global_damage_active_flag}]] with Hexblade's Curse mod it adds 3 (my prof) but without the curse mod it adds 4. What would I begin this string with to show no damage when my Global Damage Mod isn't activated?
  • Am I able to stop the Hexblade's Curse damage critting from the Damage 2 portion of a spell? Maybe this damage needs to be added a different way if possible?

Any help would be greatly appreciated, if there are easier ways to go about this then please be my guest.
I don't want to use Yes/No queries as I cast a lot of spells and macros are less than ideal as I would need one for each spell with combinations of Hex, Hexblade's Curse and Elven Accuracy.