Skip to content

Commit

Permalink
Remove quality from tincture, Remove Add implicit from Tincture (#7862)
Browse files Browse the repository at this point in the history
Co-authored-by: justjuangui <servicios@juacarvajal.com>
  • Loading branch information
justjuangui and justjuangui authored Jul 23, 2024
1 parent f3c227d commit daeec1f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/Classes/ItemsTab.lua
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ holding Shift will put it in the second.]])
self:AddImplicitToDisplayItem()
end)
self.controls.displayItemAddImplicit.shown = function()
return self.displayItem and (self.displayItem.corruptible or ((self.displayItem.type ~= "Flask" or self.displayItem.type ~= "Jewel") and (self.displayItem.rarity == "NORMAL" or self.displayItem.rarity == "MAGIC" or self.displayItem.rarity == "RARE")))
return self.displayItem and self.displayItem.type ~= "Tincture" and (self.displayItem.corruptible or ((self.displayItem.type ~= "Flask" or self.displayItem.type ~= "Jewel") and (self.displayItem.rarity == "NORMAL" or self.displayItem.rarity == "MAGIC" or self.displayItem.rarity == "RARE")))
end

-- Section: Influence dropdowns
Expand Down Expand Up @@ -3292,9 +3292,7 @@ function ItemsTabClass:AddItemTooltip(tooltip, item, slot, dbMode)
elseif base.tincture then
-- Tincture-specific info
local tinctureData = item.tinctureData
if item.quality > 0 then
tooltip:AddLine(16, s_format("^x7F7F7FQuality: "..colorCodes.MAGIC.."+%d%%", item.quality))
end

tooltip:AddLine(16, s_format("^x7F7F7FInflicts Mana Burn every %s%.2f ^x7F7F7FSeconds", main:StatColor(tinctureData.manaBurn, base.tincture.manaBurn), tinctureData.manaBurn))
tooltip:AddLine(16, s_format("^x7F7F7F%s%.2f ^x7F7F7FSecond Cooldown When Deactivated", main:StatColor(tinctureData.cooldown, base.tincture.cooldown), tinctureData.cooldown))
for _, modLine in pairs(item.buffModLines) do
Expand Down

0 comments on commit daeec1f

Please sign in to comment.