Skip to content

Commit f5e02fc

Browse files
committed
add slow magnitude in modnamelist/preflaglist
1 parent 7145d80 commit f5e02fc

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/Modules/ModParser.lua

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -793,6 +793,7 @@ local modNameList = {
793793
["to ignore enemy physical damage reduction"] = "ChanceToIgnoreEnemyPhysicalDamageReduction",
794794
["weapon swap speed"] = "WeaponSwapSpeed",
795795
["to chain an additional time from terrain"] = "TerrainChainChance",
796+
["slow magnitude"] = "EnemySlowMagnitude",
796797
-- Flask and Charm modifiers
797798
["effect"] = "LocalEffect",
798799
["effect of flasks"] = "FlaskEffect",
@@ -1222,6 +1223,7 @@ local preFlagList = {
12221223
["^hits against you "] = { applyToEnemy = true, flags = ModFlag.Hit },
12231224
["^hits against you [hd][ae][va][el] "] = { applyToEnemy = true, flags = ModFlag.Hit },
12241225
["^enemies near your totems deal "] = { applyToEnemy = true },
1226+
["^debuffs you inflict [hd][ae][va][el] "] = { },
12251227
-- Other
12261228
["^your flasks grant "] = { },
12271229
["^when hit, "] = { },
@@ -3558,12 +3560,6 @@ local specialModList = {
35583560
["adrenaline"] = { flag("Condition:Adrenaline") },
35593561
["arcane surge"] = { flag("Condition:ArcaneSurge") },
35603562
["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,
35673563
["your curses have (%d+)%% increased effect if (%d+)%% of curse duration expired"] = function(num, _, limit) return {
35683564
mod("CurseEffect", "INC", num, { type = "MultiplierThreshold", actor = "enemy", var = "CurseExpired", threshold = tonumber(limit) }, { type = "SkillType", skillType = SkillType.AppliesCurse })
35693565
} end,

0 commit comments

Comments
 (0)