You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AutoGearPrint("AutoGear: "..rollItemInfo.link.." is "..(rollItemInfo.isMountand"a mount" or"an upgrade usable within 5 levels")..", but you already have "..tostring(numberOfCopiesOwned).." cop"..(numberOfCopiesOwned==1and"y" or"ies")..", so rolling "..RED_FONT_COLOR_CODE.."GREED"..FONT_COLOR_CODE_CLOSE..".",3)
@@ -3586,6 +3589,16 @@ function AutoGearReadItemInfo(inventoryID, lootRollID, container, slot, questRew
@@ -4374,6 +4384,7 @@ function AutoGearIsGearPairEquippableTogether(a, b)
4374
4384
or ((a.id==b.id)
4375
4385
and ((GetItemCount(a.id, true) <2)
4376
4386
or (a.unique)))
4387
+
or (a.uniqueTypeand (a.uniqueType==b.uniqueType) and (a.numEquippable<2) and (b.numEquippable<2))
4377
4388
or (a.ammoBagRangedAttackSpeedandb.ammoBagRangedAttackSpeed)
4378
4389
or ((a.is1hWeaponOrOffHandandb.is1hWeaponOrOffHand)
4379
4390
and ((weapons=="dagger and any")
@@ -4382,6 +4393,7 @@ function AutoGearIsGearPairEquippableTogether(a, b)
4382
4393
or ((weapons=="weapon and shield")
4383
4394
and (a.subclassID~=Enum.ItemArmorSubclass.Shield)
4384
4395
and (b.subclassID~=Enum.ItemArmorSubclass.Shield))) then
4396
+
-- AutoGearPrint("AG: "..a.link.." ("..(a.guid or "missing guid")..") and "..b.link.." ("..(b.guid or "missing guid")..") are not equippable together", 3)
4385
4397
return
4386
4398
end
4387
4399
for_, firstSlotinpairs(a.validGearSlots) do
@@ -4394,6 +4406,7 @@ function AutoGearIsGearPairEquippableTogether(a, b)
4394
4406
and ((secondSlot==INVSLOT_MAINHAND)
4395
4407
or (secondSlot==INVSLOT_OFFHAND))))
4396
4408
then
4409
+
-- AutoGearPrint("AG: "..a.link.." ("..(a.guid or "missing guid")..") and "..b.link.." ("..(b.guid or "missing guid")..") are equippable together", 3)
4397
4410
return1
4398
4411
end
4399
4412
end
@@ -4706,7 +4719,7 @@ function AutoGearTooltipHook(tooltip, tooltipData)
-- local rollDecision = AutoGearDecideRoll(tooltipItemInfo.link)
4722
+
-- local rollDecision = AutoGearDecideRoll(info.link)
4710
4723
-- tooltip:AddDoubleLine(
4711
4724
-- "AutoGear: would roll:",
4712
4725
-- (rollDecision == 1 and GREEN_FONT_COLOR_CODE.."NEED" or (rollDecision == 2 and RED_FONT_COLOR_CODE.."GREED" or HIGHLIGHT_FONT_COLOR_CODE.."no roll"))..FONT_COLOR_CODE_CLOSE,
0 commit comments