Skip to content

Commit 0fe3491

Browse files
author
LocalIdentity
committed
Fix Ward Shatter + minion low life mod
1 parent 27aabf8 commit 0fe3491

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/Data/Skills/other.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4577,7 +4577,7 @@ skills["WardShatter"] = {
45774577
mod("Damage", "MORE", nil, ModFlag.Ailment),
45784578
},
45794579
["active_skill_damage_+%_final_if_ward_has_not_broken_in_the_past_2_seconds"] = {
4580-
mod("Damage", "MORE", nil, 0, 0, { type = "Condition", var = "WardBrokenPast2Seconds"}),
4580+
mod("Damage", "MORE", nil, 0, 0, { type = "Condition", var = "WardBrokenPast2Seconds", neg = true }),
45814581
},
45824582
},
45834583
baseFlags = {

src/Export/Skills/other.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1202,7 +1202,7 @@ local skills, mod, flag, skill = ...
12021202
mod("Damage", "MORE", nil, ModFlag.Ailment),
12031203
},
12041204
["active_skill_damage_+%_final_if_ward_has_not_broken_in_the_past_2_seconds"] = {
1205-
mod("Damage", "MORE", nil, 0, 0, { type = "Condition", var = "WardBrokenPast2Seconds"}),
1205+
mod("Damage", "MORE", nil, 0, 0, { type = "Condition", var = "WardBrokenPast2Seconds", neg = true }),
12061206
},
12071207
},
12081208
#baseMod skill("showAverage", true)

src/Modules/ModParser.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1551,7 +1551,6 @@ local modTagList = {
15511551
-- Player status conditions
15521552
["if used while on low life"] = { tag = { type = "Condition", var = "LowLife" } },
15531553
["wh[ie][ln]e? on low life"] = { tag = { type = "Condition", var = "LowLife" } },
1554-
["wh[ie][ln]e? they are on low life"] = { tag = { type = "Condition", var = "LowLife" } },
15551554
["on reaching low life"] = { tag = { type = "Condition", var = "LowLife" } },
15561555
["wh[ie][ln]e? not on low life"] = { tag = { type = "Condition", var = "LowLife", neg = true } },
15571556
["wh[ie][ln]e? on low mana"] = { tag = { type = "Condition", var = "LowMana" } },
@@ -4083,6 +4082,7 @@ local specialModList = {
40834082
["(%d+)%% increased minion damage if you have hit recently"] = function(num) return { mod("MinionModifier", "LIST", { mod = mod("Damage", "INC", num) }, { type = "Condition", var = "HitRecently" }) } end,
40844083
["(%d+)%% increased minion damage if you've used a minion skill recently"] = function(num) return { mod("MinionModifier", "LIST", { mod = mod("Damage", "INC", num) }, { type = "Condition", var = "UsedMinionSkillRecently" }) } end,
40854084
["minions deal (%d+)%% increased damage if you've used a minion skill recently"] = function(num) return { mod("MinionModifier", "LIST", { mod = mod("Damage", "INC", num) }, { type = "Condition", var = "UsedMinionSkillRecently" }) } end,
4085+
["minions deal (%d+)%% more damage while they are on low life"] = function(num) return { mod("MinionModifier", "LIST", { mod = mod("Damage", "MORE", num, { type = "Condition", var = "LowLife" }) }) } end,
40864086
["minions have (%d+)%% increased attack and cast speed if you or your minions have killed recently"] = function(num) return { mod("MinionModifier", "LIST", { mod = mod("Speed", "INC", num) }, { type = "Condition", varList = { "KilledRecently", "MinionsKilledRecently" } }) } end,
40874087
["(%d+)%% increased minion attack speed per (%d+) dexterity"] = function(num, _, div) return { mod("MinionModifier", "LIST", { mod = mod("Speed", "INC", num, nil, ModFlag.Attack) }, { type = "PerStat", stat = "Dex", div = tonumber(div) }) } end,
40884088
["(%d+)%% increased minion movement speed per (%d+) dexterity"] = function(num, _, div) return { mod("MinionModifier", "LIST", { mod = mod("MovementSpeed", "INC", num) }, { type = "PerStat", stat = "Dex", div = tonumber(div) }) } end,

0 commit comments

Comments
 (0)