Skip to content

Commit cbed79c

Browse files
committed
Remove old barkskin stacking behaviour
1 parent de56576 commit cbed79c

2 files changed

Lines changed: 1 addition & 11 deletions

File tree

src/Modules/ConfigOptions.lua

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -247,11 +247,6 @@ local configSettings = {
247247
{ var = "bannerValour", type = "count", label = "Banner Valour:", tooltip = "The amount of valour consumed for the placed banner", ifSkill = { "Dread Banner", "War Banner", "Defiance Banner" }, apply = function(val, modList, enemyModList)
248248
modList:NewMod("Multiplier:ValourStacks", "BASE", val, "Config", { type = "IgnoreCond" }, { type = "Condition", var = "Combat" })
249249
end },
250-
{ label = "Barkskin:", ifSkill = "Barkskin" },
251-
{ var = "barkskinStacks", type = "count", label = "# of Barkskin Stacks:", ifSkill = "Barkskin", apply = function(val, modList, enemyModList)
252-
modList:NewMod("Multiplier:BarkskinStacks", "BASE", m_min(val, 10), "Config")
253-
modList:NewMod("Multiplier:MissingBarkskinStacks", "BASE", m_max(-val, -10), "Config")
254-
end },
255250
{ label = "Unbound Avatar:", ifSkill = "Unbound Avatar" },
256251
{ var = "Unbound", type = "check", label = "Are you Unbound?", ifSkill = "Unbound Avatar", apply = function(val, modList, enemyModList)
257252
modList:NewMod("Condition:Unbound", "FLAG", true, "Config")

src/Modules/ModParser.lua

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1562,8 +1562,6 @@ local modTagList = {
15621562
["per animated weapon"] = { tag = { type = "Multiplier", var = "AnimatedWeapon", actor = "parent" } },
15631563
["per grasping vine"] = { tag = { type = "Multiplier", var = "GraspingVinesCount" } },
15641564
["per fragile regrowth"] = { tag = { type = "Multiplier", var = "FragileRegrowthCount" } },
1565-
["per bark"] = { tag = { type = "Multiplier", var = "BarkskinStacks" } },
1566-
["per bark below maximum"] = { tag = { type = "Multiplier", var = "MissingBarkskinStacks" } },
15671565
["per allocated mastery passive skill"] = { tag = { type = "Multiplier", var = "AllocatedMastery" } },
15681566
["per allocated notable passive skill"] = { tag = { type = "Multiplier", var = "AllocatedNotable" } },
15691567
["for each connected notable passive skill allocated"] = { tag = { type = "Multiplier", var = "AllocatedConnectedNotable" } },
@@ -3298,7 +3296,7 @@ local specialModList = {
32983296
},
32993297
-- Mutable Star // assumed 150% limit because overflow, could not verify in wiki
33003298
["defend against hits as though you had (%d+)%% more armour per (%d+)%% current energy shield"] = function(armour, _, perCurrentES) return {
3301-
mod("ArmourDefense", "MAX", armour, { type = "Multiplier", var = "CurrentEnergyShield", div = perCurrentES, limit = 150 }, { type = "Condition", var = "UseCurrentEnergyShield"}),
3299+
mod("ArmourDefense", "MAX", armour, { typebarkskin = "Multiplier", var = "CurrentEnergyShield", div = perCurrentES, limit = 150 }, { type = "Condition", var = "UseCurrentEnergyShield"}),
33023300
} end,
33033301
-- Warrior - Titan
33043302
["(%d+)%% increased effect of small passive skills"] = function(num) return { mod("SmallPassiveSkillEffect", "INC", num) } end,
@@ -3326,9 +3324,6 @@ local specialModList = {
33263324
mod("DamageTakenOverTime", "MORE", -num * tonumber(duration) / 10, { type = "Condition", var = "HeartstopperAVERAGE" })
33273325
} end,
33283326
-- Warden
3329-
["prevent %+(%d+)%% of suppressed spell damage per bark below maximum"] = function(num) return {
3330-
mod("SpellSuppressionEffect", "BASE", num, { type = "Multiplier", var = "MissingBarkskinStacks" })
3331-
} end,
33323327
["hits that would ignite instead scorch"] = { flag("IgniteCanScorch"), flag("CannotIgnite") },
33333328
["you can inflict an additional scorch on each enemy"] = { flag("ScorchCanStack"), mod("ScorchStacksMax", "BASE", 1) },
33343329
["maximum effect of shock is (%d+)%% increased damage taken"] = function (num) return { mod("ShockMax", "OVERRIDE", num) } end,

0 commit comments

Comments
 (0)