Skip to content

Commit e90bdce

Browse files
committed
add slow magnitude modifier and apex moment
1 parent 950cab2 commit e90bdce

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
@@ -2854,6 +2854,10 @@ local specialModList = {
28542854
["skills have (%d+)%% chance to not consume a cooldown when used"] = function(num) return {
28552855
mod("CooldownChanceNotConsume", "BASE", num / 100, { type = "SkillType", skillType = SkillType.Cooldown })
28562856
} end,
2857+
["enemies in your presence are slowed by (%d+)%%"] = function(num) return {
2858+
mod("EnemyModifier", "LIST", { mod = flag("Condition:Slowed") }),
2859+
mod("EnemyModifier", "LIST", { mod = mod("ApexOfMomentSlow", "INC", -num, { type = "GlobalEffect", effectType = "AuraDebuff" }, { type = "Condition", var = "Slowed" }) }),
2860+
} end,
28572861
-- Item local modifiers
28582862
["has no sockets"] = { flag("NoSockets") },
28592863
["reflects your other ring"] = {
@@ -3554,6 +3558,12 @@ local specialModList = {
35543558
["adrenaline"] = { flag("Condition:Adrenaline") },
35553559
["arcane surge"] = { flag("Condition:ArcaneSurge") },
35563560
["your aura buffs do not affect allies"] = { flag("SelfAurasCannotAffectAllies") },
3561+
["debuffs you inflict have (%d+)%% increased slow magnitude"] = function(num) return {
3562+
mod("EnemySlowMagnitude", "INC", num),
3563+
} end,
3564+
["debuffs you inflict have (%d+)%% reduced slow magnitude"] = function(num) return {
3565+
mod("EnemySlowMagnitude", "INC", -num),
3566+
} end,
35573567
["your curses have (%d+)%% increased effect if (%d+)%% of curse duration expired"] = function(num, _, limit) return {
35583568
mod("CurseEffect", "INC", num, { type = "MultiplierThreshold", actor = "enemy", var = "CurseExpired", threshold = tonumber(limit) }, { type = "SkillType", skillType = SkillType.AppliesCurse })
35593569
} end,

0 commit comments

Comments
 (0)