Mercurial > wow > askmrrobot
comparison Gear.lua @ 137:6dc0e8e9f960 v64
uldir for auto-logging
author | yellowfive |
---|---|
date | Mon, 03 Sep 2018 19:19:38 -0700 |
parents | 57be71eccc0a |
children | c229c759a125 |
comparison
equal
deleted
inserted
replaced
136:5f3dde81a118 | 137:6dc0e8e9f960 |
---|---|
309 isEquipped = true | 309 isEquipped = true |
310 end | 310 end |
311 lblEquipped:SetText(isEquipped and "E" or "") | 311 lblEquipped:SetText(isEquipped and "E" or "") |
312 end | 312 end |
313 | 313 |
314 lblItem:SetFont(Amr.CreateFont(isEquipped and "Regular" or "Bold", isEquipped and 14 or 15, Amr.Colors.Qualities[q])) | 314 lblItem:SetFont(Amr.CreateFont(isEquipped and "Regular" or "Bold", isEquipped and 14 or 15, Amr.Colors.Qualities[q] or Amr.Colors.White)) |
315 lblItem:SetText(gameItem:GetItemName()) | 315 lblItem:SetText(gameItem:GetItemName()) |
316 lblIlvl:SetText(gameItem:GetCurrentItemLevel()) | 316 lblIlvl:SetText(gameItem:GetCurrentItemLevel()) |
317 Amr:SetItemTooltip(lblItem, gameItem:GetItemLink(), "ANCHOR_TOPRIGHT") | 317 Amr:SetItemTooltip(lblItem, gameItem:GetItemLink(), "ANCHOR_TOPRIGHT") |
318 end | 318 end |
319 end | 319 end |
612 | 612 |
613 -- note: ignore slots and/or saveset need to be called twice | 613 -- note: ignore slots and/or saveset need to be called twice |
614 -- for some reason, the slot is treated as blank if you try to ignore once on the first load of the equipment manager | 614 -- for some reason, the slot is treated as blank if you try to ignore once on the first load of the equipment manager |
615 | 615 |
616 -- clear any currently ignored slots | 616 -- clear any currently ignored slots |
617 C_EquipmentSet.ClearIgnoredSlotsForSave() | 617 --C_EquipmentSet.ClearIgnoredSlotsForSave() |
618 C_EquipmentSet.ClearIgnoredSlotsForSave() | 618 --C_EquipmentSet.ClearIgnoredSlotsForSave() |
619 | 619 |
620 -- ignore shirt and tabard | 620 -- ignore shirt and tabard |
621 C_EquipmentSet.IgnoreSlotForSave(INVSLOT_BODY) -- shirt | 621 C_EquipmentSet.IgnoreSlotForSave(INVSLOT_BODY) -- shirt |
622 C_EquipmentSet.IgnoreSlotForSave(INVSLOT_TABARD) | 622 C_EquipmentSet.IgnoreSlotForSave(INVSLOT_TABARD) |
623 C_EquipmentSet.IgnoreSlotForSave(INVSLOT_BODY) -- shirt | 623 C_EquipmentSet.IgnoreSlotForSave(INVSLOT_BODY) -- shirt |