WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Legion Beta archived threads (https://www.wowinterface.com/forums/forumdisplay.php?f=177)
-   -   Silver dragon icon not shown on nameplates (https://www.wowinterface.com/forums/showthread.php?t=54283)

Ketho 08-25-16 01:45 AM

Silver dragon icon not shown on nameplates
 
Rare mobs don't seem to show the silver dragon icon on nameplates
Don't know if there is any difference between "rareelite" and "rare", if any

Ammako was the person that found out about it and made an addon for it, maybe this could also be included in BlizzBugsSuck
http://us.battle.net/forums/en/wow/topic/20748825042

https://github.com/Gethe/wow-ui-sour...Frame.lua#L943
Code:

function CompactUnitFrame_UpdateClassificationIndicator(frame)
        if ( frame.optionTable.showClassificationIndicator ) then
                local classification = UnitClassification(frame.unit);
                if ( classification == "elite" or classification == "worldboss" ) then
                        frame.classificationIndicator:SetAtlas("nameplates-icon-elite-gold");
                        frame.classificationIndicator:Show();
                elseif ( classification == "rareelite" or classification == "rare" ) then
                        frame.classificationIndicator:SetAtlas("nameplates-icon-elite-silver");
                        frame.classificationIndicator:Show();
                else
                        frame.classificationIndicator:Hide();
                end
        elseif ( frame.classificationIndicator ) then
                frame.classificationIndicator:Hide();
        end
end



All times are GMT -6. The time now is 04:14 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI