Heya,
I'm currently having a bit of an issue determining if a target is a Raid boss (Patchwek, Grobb etc.).
Right now I'm using:
Code:
if (UnitClassification('target') == 'elite') and (UnitLevel('target') >= 82)
... which sometimes triggers on certain trash mobs in Naxx as well, so it's not foolproof.
Now the UnitClassification value of "worldboss" only seems to work for outdoor raid encounters, not traditional raid bosses. Is there a more elegant way to solve this without listing every boss name (which would be the last-resort option)?
Thank you in advance!