Add option to add classcolor formatting to UnitID name anytime a trigger carries a UnitID name
DaynishWoW opened this issue ยท 1 comments
Is your feature request related to a problem? Please describe.
It's not easily possible for simple users to color the UnitID name (i.e. %destName) in a status-cast trigger to be colored by the unit's class if applicable
Describe the solution you'd like
%destNameColored should return the same string as %destName but colored as the classcolor of the unit
Describe alternatives you've considered
Asakawa gave me this function to use instead:
function() if aura_env.state and aura_env.state.destUnit then return WA_ClassColorName(aura_env.state.destUnit) end end
Additional context
here's and example of how I've implemented it currently on wago.io
This is a duplicate of #1618