comparison Gear.lua @ 153:31386c009f03 v72

dazar'alor auto-logging
author yellowfive
date Tue, 22 Jan 2019 22:18:27 -0800
parents bdf1b0c98882
children 35612aee8e15
comparison
equal deleted inserted replaced
152:f33e5aaaee9e 153:31386c009f03
300 if equippedItem and optimalItem and Amr.GetItemUniqueId(equippedItem, false, true) == Amr.GetItemUniqueId(optimalItem, false, true) then 300 if equippedItem and optimalItem and Amr.GetItemUniqueId(equippedItem, false, true) == Amr.GetItemUniqueId(optimalItem, false, true) then
301 301
302 if slotId == 1 or slotId == 3 or slotId == 5 then 302 if slotId == 1 or slotId == 3 or slotId == 5 then
303 -- show the item as not equipped if azerite doesn't match... might mean they have to switch to another version of same item 303 -- show the item as not equipped if azerite doesn't match... might mean they have to switch to another version of same item
304 local aztDiff = countItemDifferences(optimalItem, equippedItem) 304 local aztDiff = countItemDifferences(optimalItem, equippedItem)
305 if aztDiff == 0 then 305 if aztDiff < 10 then
306 isEquipped = true 306 isEquipped = true
307 end 307 end
308 else 308 else
309 isEquipped = true 309 isEquipped = true
310 end 310 end