Remove various additional legacy options
This commit is contained in:
@@ -2082,10 +2082,8 @@ function ItemsTabClass:AddCustomModifierToDisplayItem()
|
||||
end)
|
||||
end
|
||||
end
|
||||
if (self.build.targetVersion ~= "2_6" and self.displayItem.base.subType ~= "Abyss") or (self.displayItem.type ~= "Jewel" and self.displayItem.type ~= "Flask") then
|
||||
t_insert(sourceList, { label = "Crafting Bench", sourceId = "MASTER" })
|
||||
end
|
||||
if self.displayItem.type ~= "Jewel" and self.displayItem.type ~= "Flask" then
|
||||
t_insert(sourceList, { label = "Crafting Bench", sourceId = "MASTER" })
|
||||
t_insert(sourceList, { label = "Essence", sourceId = "ESSENCE" })
|
||||
end
|
||||
if not self.displayItem.crafted then
|
||||
@@ -2429,9 +2427,6 @@ function ItemsTabClass:AddItemTooltip(tooltip, item, slot, dbMode)
|
||||
if item.base.flask.life or item.base.flask.mana then
|
||||
local rateInc = modDB:Sum("INC", nil, "FlaskRecoveryRate")
|
||||
local instantPerc = flaskData.instantPerc
|
||||
if self.build.targetVersion == "2_6" and instantPerc > 0 then
|
||||
instantPerc = m_min(instantPerc + effectInc, 100)
|
||||
end
|
||||
if item.base.flask.life then
|
||||
local lifeInc = modDB:Sum("INC", nil, "FlaskLifeRecovery")
|
||||
local lifeRateInc = modDB:Sum("INC", nil, "FlaskLifeRecoveryRate")
|
||||
|
||||
@@ -221,7 +221,7 @@ function calcs.buildActiveSkillModList(env, activeSkill)
|
||||
elseif not weapon1Info.melee and skillFlags.projectile then
|
||||
skillFlags.melee = nil
|
||||
end
|
||||
elseif skillTypes[SkillType.DualWield] or skillTypes[SkillType.MainHandOnly] or skillFlags.forceMainHand or (env.build.targetVersion ~= "2_6" and weapon1Info) then
|
||||
elseif skillTypes[SkillType.DualWield] or skillTypes[SkillType.MainHandOnly] or skillFlags.forceMainHand or weapon1Info then
|
||||
-- Skill requires a compatible main hand weapon
|
||||
skillFlags.disable = true
|
||||
activeSkill.disableReason = "Main Hand weapon is not usable with this skill"
|
||||
|
||||
Reference in New Issue
Block a user