Skip to content

Commit 269c1b7

Browse files
committed
add slow magnitude modifier and apex moment
1 parent 8c1b143 commit 269c1b7

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/Modules/ModParser.lua

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2875,6 +2875,10 @@ local specialModList = {
28752875
mod("Speed", "MORE", num, nil, ModFlag.Cast, { type = "GlobalEffect", effectType = "Buff", effectName = "Quicksand Hourglass" }, { type = "Condition", var = "QuicksandHourglass" }),
28762876
flag("Condition:CanGainQuicksandHourglass")
28772877
} end,
2878+
["enemies in your presence are slowed by (%d+)%%"] = function(num) return {
2879+
mod("EnemyModifier", "LIST", { mod = flag("Condition:Slowed") }),
2880+
mod("EnemyModifier", "LIST", { mod = mod("ApexOfMomentSlow", "INC", -num, { type = "GlobalEffect", effectType = "AuraDebuff" }, { type = "Condition", var = "Slowed" }) }),
2881+
} end,
28782882
-- Item local modifiers
28792883
["has no sockets"] = { flag("NoSockets") },
28802884
["reflects your other ring"] = {
@@ -3578,6 +3582,12 @@ local specialModList = {
35783582
["adrenaline"] = { flag("Condition:Adrenaline") },
35793583
["arcane surge"] = { flag("Condition:ArcaneSurge") },
35803584
["your aura buffs do not affect allies"] = { flag("SelfAurasCannotAffectAllies") },
3585+
["debuffs you inflict have (%d+)%% increased slow magnitude"] = function(num) return {
3586+
mod("EnemySlowMagnitude", "INC", num),
3587+
} end,
3588+
["debuffs you inflict have (%d+)%% reduced slow magnitude"] = function(num) return {
3589+
mod("EnemySlowMagnitude", "INC", -num),
3590+
} end,
35813591
["your curses have (%d+)%% increased effect if (%d+)%% of curse duration expired"] = function(num, _, limit) return {
35823592
mod("CurseEffect", "INC", num, { type = "MultiplierThreshold", actor = "enemy", var = "CurseExpired", threshold = tonumber(limit) }, { type = "SkillType", skillType = SkillType.AppliesCurse })
35833593
} end,

0 commit comments

Comments
 (0)