small tooltip change

This commit is contained in:
Manuel Simon Hirsig
2016-03-20 21:14:43 +01:00
parent 7a3a6259d5
commit a0d046e074
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
Aux = {
version = '2.8.1',
version = '2.8.2',
blizzard_ui_shown = false,
orig = {},
}
+1 -1
View File
@@ -73,7 +73,7 @@ function private.extend_tooltip(tooltip, hyperlink, quantity)
tooltip:AddLine('Disenchants into:', color.r, color.g, color.b)
sort(distribution, function(a,b) return a.probability > b.probability end)
for _, event in distribution do
tooltip:AddLine(format(' %s%% %s x%s', event.probability * 100, Aux.info.display_name(event.item_id, true) or event.item_id, event.quantity), color.r, color.g, color.b)
tooltip:AddLine(format(' %s%% %s x%s', event.probability * 100, Aux.info.display_name(event.item_id, true) or 'item:'..event.item_id, event.quantity), color.r, color.g, color.b)
end
end