View Single Post
08-25-16, 01:45 AM   #1
Ketho
A Pyroguard Emberseer
 
Ketho's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,026
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