OnLoad
self:RegisterEvent("PLAYER_TARGET_CHANGED")
self:Hide()
OnEvent
if ( UnitClassification("target") == "worldboss" ) then
self:Show()
else
self:Hide()
end
As soon as I change worldboss with elite, it starts working, well, for every elite target. Tried it with sample scripts from the wiki as well. Also tried "boss" "raidboss" and some other combinations to test it. No luck.
Last edited by bender1453 : 03-27-19 at 09:17 AM.
|