Skip to content

Commit e1a90ae

Browse files
committed
add slow magnitude modifier and apex moment
1 parent bc2014d commit e1a90ae

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
@@ -2890,6 +2890,10 @@ local specialModList = {
28902890
mod("Speed", "MORE", num, nil, ModFlag.Cast, { type = "GlobalEffect", effectType = "Buff", effectName = "Quicksand Hourglass" }, { type = "Condition", var = "QuicksandHourglass" }),
28912891
flag("Condition:CanGainQuicksandHourglass")
28922892
} end,
2893+
["enemies in your presence are slowed by (%d+)%%"] = function(num) return {
2894+
mod("EnemyModifier", "LIST", { mod = flag("Condition:Slowed") }),
2895+
mod("EnemyModifier", "LIST", { mod = mod("ApexOfMomentSlow", "INC", -num, { type = "GlobalEffect", effectType = "AuraDebuff" }, { type = "Condition", var = "Slowed" }) }),
2896+
} end,
28932897
-- Item local modifiers
28942898
["has no sockets"] = { flag("NoSockets") },
28952899
["reflects your other ring"] = {
@@ -3593,6 +3597,12 @@ local specialModList = {
35933597
["adrenaline"] = { flag("Condition:Adrenaline") },
35943598
["arcane surge"] = { flag("Condition:ArcaneSurge") },
35953599
["your aura buffs do not affect allies"] = { flag("SelfAurasCannotAffectAllies") },
3600+
["debuffs you inflict have (%d+)%% increased slow magnitude"] = function(num) return {
3601+
mod("EnemySlowMagnitude", "INC", num),
3602+
} end,
3603+
["debuffs you inflict have (%d+)%% reduced slow magnitude"] = function(num) return {
3604+
mod("EnemySlowMagnitude", "INC", -num),
3605+
} end,
35963606
["your curses have (%d+)%% increased effect if (%d+)%% of curse duration expired"] = function(num, _, limit) return {
35973607
mod("CurseEffect", "INC", num, { type = "MultiplierThreshold", actor = "enemy", var = "CurseExpired", threshold = tonumber(limit) }, { type = "SkillType", skillType = SkillType.AppliesCurse })
35983608
} end,

0 commit comments

Comments
 (0)