Help with WA Mad Queen's Mandate Trinket

Hey all,

Snagged Mad Queen’s Mandate off of our normal ansurek kill last night, I want to create a weak aura for it but am admittedly not the best at weak aura programming.

Since servers are down I haven’t even had a crack at it yet, but hoping some WA genius will take pity on me and help me out!

Since you are heavily incentivized to grab the killing blow with this trinket in M+, I want the weak aura to:

  • Display the numerical damage the trinket will do
    • The damage of the trinket scales based on health % of mob, the lower the mob health % the more damage it does. From my initial testing it appears to be fully linear based on mob health ie: @ 40% health the trinket appears to do 60% increased damage. Even if not 100% correct I assume the formula would be: damage = procc(1+(1-mob health%))
      • bonus points: I am not even sure how to format big numbers in WA, ie: 3.2M instead of 3,200,000 but the former would be ideal
  • Take damage modifiers into account
    • For me, an aff lock, Haunt increases shadow damage by 10%, and Shadow Embrace increases shadow damage by 2% per stack up to 8% at four stacks
  • Finally, and I figured this would be the tricky part if even doable, glow when the expected damage value is greater than the target’s current HP

Appreciate you WA wizards out there… thanks in advance for your help!!

There are very few damage modifiers that apply to trinkets outside of versatility, though the tooltip of the item should already be accounting for any that are self applied.