Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Flasks incorrectly having "Cannot Leech" on them #5981

Merged
merged 2 commits into from
Apr 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 18 additions & 18 deletions src/Data/Bases/flask.lua
Original file line number Diff line number Diff line change
Expand Up @@ -250,71 +250,71 @@ itemBases["Diamond Flask"] = {
subType = "Utility",
tags = { flask = true, utility_flask = true, default = true, },
implicitModTypes = { },
flask = { duration = 6, chargesUsed = 20, chargesMax = 40, buff = { "100% increased Global Critical Strike Chance", "Cannot Leech Mana" }, },
flask = { duration = 6, chargesUsed = 20, chargesMax = 40, buff = { "100% increased Global Critical Strike Chance" }, },
req = { level = 27, },
}
itemBases["Ruby Flask"] = {
type = "Flask",
subType = "Utility",
tags = { flask = true, utility_flask = true, default = true, },
implicitModTypes = { },
flask = { duration = 8, chargesUsed = 20, chargesMax = 50, buff = { "+50% to Fire Resistance", "Cannot Leech Mana", "20% less Fire Damage taken" }, },
flask = { duration = 8, chargesUsed = 20, chargesMax = 50, buff = { "+50% to Fire Resistance", "20% less Fire Damage taken" }, },
req = { level = 18, },
}
itemBases["Sapphire Flask"] = {
type = "Flask",
subType = "Utility",
tags = { flask = true, utility_flask = true, default = true, },
implicitModTypes = { },
flask = { duration = 8, chargesUsed = 20, chargesMax = 50, buff = { "+50% to Cold Resistance", "Cannot Leech Mana", "20% less Cold Damage taken" }, },
flask = { duration = 8, chargesUsed = 20, chargesMax = 50, buff = { "+50% to Cold Resistance", "20% less Cold Damage taken" }, },
req = { level = 18, },
}
itemBases["Topaz Flask"] = {
type = "Flask",
subType = "Utility",
tags = { flask = true, utility_flask = true, default = true, },
implicitModTypes = { },
flask = { duration = 8, chargesUsed = 20, chargesMax = 50, buff = { "+50% to Lightning Resistance", "Cannot Leech Mana", "20% less Lightning Damage taken" }, },
flask = { duration = 8, chargesUsed = 20, chargesMax = 50, buff = { "+50% to Lightning Resistance", "20% less Lightning Damage taken" }, },
req = { level = 18, },
}
itemBases["Granite Flask"] = {
type = "Flask",
subType = "Utility",
tags = { flask = true, utility_flask = true, default = true, },
implicitModTypes = { },
flask = { duration = 6, chargesUsed = 30, chargesMax = 60, buff = { "+1500 to Armour", "Cannot Leech Mana" }, },
flask = { duration = 6, chargesUsed = 30, chargesMax = 60, buff = { "+1500 to Armour" }, },
req = { level = 27, },
}
itemBases["Quicksilver Flask"] = {
type = "Flask",
subType = "Utility",
tags = { flask = true, utility_flask = true, default = true, },
implicitModTypes = { },
flask = { duration = 6, chargesUsed = 30, chargesMax = 60, buff = { "40% increased Movement Speed", "Cannot Leech Mana" }, },
flask = { duration = 6, chargesUsed = 30, chargesMax = 60, buff = { "40% increased Movement Speed" }, },
req = { level = 4, },
}
itemBases["Amethyst Flask"] = {
type = "Flask",
subType = "Utility",
tags = { flask = true, utility_flask = true, default = true, },
implicitModTypes = { },
flask = { duration = 6.5, chargesUsed = 35, chargesMax = 65, buff = { "+35% to Chaos Resistance", "Cannot Leech Mana" }, },
flask = { duration = 6.5, chargesUsed = 35, chargesMax = 65, buff = { "+35% to Chaos Resistance" }, },
req = { level = 18, },
}
itemBases["Quartz Flask"] = {
type = "Flask",
subType = "Utility",
tags = { flask = true, utility_flask = true, default = true, },
implicitModTypes = { },
flask = { duration = 6, chargesUsed = 30, chargesMax = 60, buff = { "+10% chance to Suppress Spell Damage", "Cannot Leech Mana", "Phasing" }, },
flask = { duration = 6, chargesUsed = 30, chargesMax = 60, buff = { "+10% chance to Suppress Spell Damage", "Phasing" }, },
req = { level = 27, },
}
itemBases["Jade Flask"] = {
type = "Flask",
subType = "Utility",
tags = { flask = true, utility_flask = true, default = true, },
implicitModTypes = { },
flask = { duration = 6, chargesUsed = 30, chargesMax = 60, buff = { "+1500 to Evasion Rating", "Cannot Leech Mana" }, },
flask = { duration = 6, chargesUsed = 30, chargesMax = 60, buff = { "+1500 to Evasion Rating" }, },
req = { level = 27, },
}
itemBases["Basalt Flask"] = {
Expand All @@ -323,7 +323,7 @@ itemBases["Basalt Flask"] = {
tags = { flask = true, utility_flask = true, default = true, },
implicit = "Taunts nearby Enemies on use",
implicitModTypes = { { "flask" }, },
flask = { duration = 8, chargesUsed = 40, chargesMax = 60, buff = { "Cannot Leech Mana", "20% more Armour" }, },
flask = { duration = 8, chargesUsed = 40, chargesMax = 60, buff = { "20% more Armour" }, },
req = { level = 27, },
}
itemBases["Aquamarine Flask"] = {
Expand All @@ -332,7 +332,7 @@ itemBases["Aquamarine Flask"] = {
tags = { flask = true, utility_flask = true, default = true, },
implicit = "Creates Chilled Ground on Use",
implicitModTypes = { { "flask" }, },
flask = { duration = 8, chargesUsed = 20, chargesMax = 50, buff = { "Cannot Leech Mana", "60% reduced Effect of Freeze on you" }, },
flask = { duration = 8, chargesUsed = 20, chargesMax = 50, buff = { "60% reduced Effect of Freeze on you" }, },
req = { level = 27, },
}
itemBases["Stibnite Flask"] = {
Expand All @@ -341,7 +341,7 @@ itemBases["Stibnite Flask"] = {
tags = { flask = true, utility_flask = true, default = true, },
implicit = "Creates a Smoke Cloud on Use",
implicitModTypes = { { "flask" }, },
flask = { duration = 8, chargesUsed = 40, chargesMax = 60, buff = { "Cannot Leech Mana", "20% more Evasion Rating" }, },
flask = { duration = 8, chargesUsed = 40, chargesMax = 60, buff = { "20% more Evasion Rating" }, },
req = { level = 27, },
}
itemBases["Sulphur Flask"] = {
Expand All @@ -350,39 +350,39 @@ itemBases["Sulphur Flask"] = {
tags = { flask = true, utility_flask = true, default = true, },
implicit = "Creates Consecrated Ground on Use",
implicitModTypes = { { "flask" }, },
flask = { duration = 8, chargesUsed = 40, chargesMax = 60, buff = { "40% increased Damage", "Cannot Leech Mana" }, },
flask = { duration = 8, chargesUsed = 40, chargesMax = 60, buff = { "40% increased Damage" }, },
req = { level = 27, },
}
itemBases["Silver Flask"] = {
type = "Flask",
subType = "Utility",
tags = { flask = true, utility_flask = true, default = true, },
implicitModTypes = { },
flask = { duration = 6, chargesUsed = 40, chargesMax = 60, buff = { "" }, },
flask = { duration = 6, chargesUsed = 40, chargesMax = 60, buff = { "Onslaught" }, },
req = { level = 27, },
}
itemBases["Bismuth Flask"] = {
type = "Flask",
subType = "Utility",
tags = { flask = true, utility_flask = true, default = true, },
implicitModTypes = { },
flask = { duration = 8.5, chargesUsed = 15, chargesMax = 40, buff = { "+35% to all Elemental Resistances", "Cannot Leech Mana" }, },
flask = { duration = 8.5, chargesUsed = 15, chargesMax = 40, buff = { "+35% to all Elemental Resistances" }, },
req = { level = 8, },
}
itemBases["Gold Flask"] = {
type = "Flask",
subType = "Utility",
tags = { flask = true, utility_flask = true, default = true, },
implicitModTypes = { },
flask = { duration = 5, chargesUsed = 60, chargesMax = 80, buff = { "30% increased Rarity of Items found", "Cannot Leech Mana" }, },
flask = { duration = 5, chargesUsed = 60, chargesMax = 80, buff = { "30% increased Rarity of Items found" }, },
req = { level = 27, },
}
itemBases["Corundum Flask"] = {
type = "Flask",
subType = "Utility",
tags = { flask = true, utility_flask = true, default = true, },
implicitModTypes = { },
flask = { duration = 7.5, chargesUsed = 20, chargesMax = 50, buff = { "Cannot Leech Mana", "30% increased Stun Threshold" }, },
flask = { duration = 7.5, chargesUsed = 20, chargesMax = 50, buff = { "30% increased Stun Threshold", "Cannot be Stunned if you've been Stunned during Effect" }, },
req = { level = 27, },
}
itemBases["Iron Flask"] = {
Expand All @@ -391,6 +391,6 @@ itemBases["Iron Flask"] = {
tags = { flask = true, utility_flask = true, not_for_sale = true, expedition_flask = true, default = true, },
implicit = "Restores Ward on use",
implicitModTypes = { { "flask" }, },
flask = { duration = 5, chargesUsed = 40, chargesMax = 60, buff = { "+200 to Ward", "Cannot Leech Mana" }, },
flask = { duration = 5, chargesUsed = 40, chargesMax = 60, buff = { "+200 to Ward" }, },
req = { level = 27, },
}
47 changes: 20 additions & 27 deletions src/Export/spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1668,153 +1668,146 @@ return {
width=40
},
[27]={
list=false,
name="",
refTo="",
type="Bool",
width=40
},
[28]={
list=false,
name="MinStat",
refTo="Stats",
type="Key",
width=180
},
[29]={
[28]={
list=false,
name="",
refTo="",
type="Bool",
width=40
},
[30]={
[29]={
list=false,
name="UIStackMode",
refTo="",
type="Int",
width=80
},
[31]={
[30]={
list=false,
name="",
refTo="",
type="Bool",
width=50
},
[32]={
[31]={
list=false,
name="IsSkillBuff",
refTo="",
type="Bool",
width=70
},
[33]={
[32]={
list=false,
name="",
refTo="",
type="Int",
width=50
},
[34]={
[33]={
list=true,
name="",
refTo="",
type="Int",
width=150
},
[35]={
[34]={
list=false,
name="",
refTo="",
type="Bool",
width=50
},
[36]={
[35]={
list=false,
name="",
refTo="",
type="Bool",
width=50
},
[37]={
[36]={
list=false,
name="",
refTo="",
type="Key",
width=150
},
[38]={
[37]={
list=false,
name="",
refTo="",
type="Bool",
width=50
},
[39]={
[38]={
list=true,
name="Stats2",
refTo="Stats",
type="Key",
width=250
},
[40]={
[39]={
list=true,
name="GrantedFlags",
refTo="Stats",
type="Key",
width=250
},
[41]={
[40]={
list=true,
name="GrantedStats",
refTo="Stats",
type="Key",
width=450
},
[42]={
[41]={
list=true,
name="ConditionStats",
refTo="Stats",
type="Key",
width=150
},
[43]={
[42]={
list=false,
name="",
refTo="",
type="Bool",
width=50
},
[44]={
[43]={
list=false,
name="",
refTo="",
type="Bool",
width=50
},
[45]={
[44]={
list=false,
name="",
refTo="",
type="Bool",
width=50
},
[46]={
[45]={
list=false,
name="",
refTo="",
type="Bool",
width=50
},
[47]={
[46]={
list=false,
name="",
refTo="",
type="Bool",
width=50
},
[48]={
[47]={
list=false,
name="",
refTo="Stats",
Expand Down