I found a useful weakauras for convulsive shadows target on Iron Maidens and I wonder if someone could make the name appear in appropriate class colors?
Here's the trigger:
Code:
function(event, unit)
if GetUnitName(unit) == "Enforcer Sorka" and UnitCastingInfo(unit) == "Convulsive Shadows" then
WA_contarget = GetUnitName(unit .. "target")
return true
end
end
And the current display:
Code:
function()
return "Convulsive: " .. WA_contarget
end
Something including this maybe?
Code:
local name = string.format("|c%s%s|r", RAID_CLASS_COLORS[select(2, UnitClass(WA_contarget))].colorStr, UnitName(WA_contarget))
Result = string.format("%s%s, name)
(I just copied some parts including class colors of a WA Hamsda made for me. I really don't know what I'm doing.)