Advanced Framesort Macro help

I want this macro to:

  • activate Ascendance everytime I press it, no matter what
  • use Fireblood with Ascendance when I use the shift modifier
  • Use Heroism, targeting the OtherDPS, with Fireblood and Ascendance when I use the ctrl modifier
  • Use Heroism, targeting the Healer, with Fireblood and Ascendance when I use the alt modifier

I haven’t been able to write it in a way that gets Heroism cast on the right target:

#showtooltip
#FS
/cast Ascendance
/cast [mod:shift][mod:ctrl][mod:alt]Fireblood
/cast [mod:ctrl, @OD,help,exists][mod:alt, @Healer,help,exists]Heroism

^ This version doesn’t cast Heroism at all. But I added a after the mod brackets and it at least would cast Heroism on myself…whenever I pressed it, regardless of if there was a modifier or not:

#showtooltip
#FS
/cast Ascendance
/cast [mod:shift][mod:ctrl][mod:alt]Fireblood
/cast [mod:ctrl, @OD,help,exists][mod:alt, @Healer,help,exists][]Heroism

Looking at https://github.com/Verubato/framesort/blob/main/src/Modules/Macro/Parser.lua it appears they need to also appear in the header and be lowercase

Optimized

#showtooltip
#FS od h
/cast Ascendance
/cast [mod] Fireblood
/cast [mod:ctrl,@od] [mod:alt,@h] Heroism

With better tooltips

#showtooltip
#FS od h
/cast [mod:ctrl,@od] [mod:alt,@h] Heroism
/cast [mod] Fireblood
/cast Ascendance