But here's a conditional:
/run local t="target"if (UnitHealth(t) / UnitHealthMax(t)) < 0.90 then SendChatMessage("Die, scum!","yell")end
The thing is, this just show a text instead of casting a spell, and for sending chat message, it works.
i thought about using modfiers but i already use modifiers to cast different spells with keys: 1-6, f1-f6, and shift as modifier, i guess i have to start using alt and ctrl too.
|