added animation to the progress bar

This commit is contained in:
Manuel Simon Hirsig
2016-02-03 02:28:45 +01:00
parent 8c999f9fb4
commit a1263056dc
5 changed files with 20 additions and 3 deletions
+3
View File
@@ -159,6 +159,9 @@ function public.set_tooltip(itemstring, EnhTooltip_info, owner, anchor, x_offset
local item_id = tonumber(({strfind(itemstring, '^item:(%d+)')})[3])
local item_info = Aux.static.item_info(item_id)
local slot_index = item_info.class and item_info.subclass and Aux.item_slot_index(item_info.class, item_info.subclass, item_info.slot)
snipe.log(item_info.class)
snipe.log(item_info.subclass)
snipe.log(slot_index)
if slot_index then
ShoppingTooltip1:SetOwner(GameTooltip, 'ANCHOR_BOTTOMRIGHT')