Skip to content

Commit 7d35225

Browse files
committed
add slow magnitude in modnamelist/preflaglist
1 parent 35d4507 commit 7d35225

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
@@ -780,6 +780,7 @@ local modNameList = {
780780
["to ignore enemy physical damage reduction"] = "ChanceToIgnoreEnemyPhysicalDamageReduction",
781781
["weapon swap speed"] = "WeaponSwapSpeed",
782782
["to chain an additional time from terrain"] = "TerrainChainChance",
783+
["slow magnitude"] = "EnemySlowMagnitude",
783784
-- Flask and Charm modifiers
784785
["effect"] = "LocalEffect",
785786
["effect of flasks"] = "FlaskEffect",
@@ -1213,6 +1214,7 @@ local preFlagList = {
12131214
["^hits against you "] = { applyToEnemy = true, flags = ModFlag.Hit },
12141215
["^hits against you [hd][ae][va][el] "] = { applyToEnemy = true, flags = ModFlag.Hit },
12151216
["^enemies near your totems deal "] = { applyToEnemy = true },
1217+
["^debuffs you inflict [hd][ae][va][el] "] = { },
12161218
-- Other
12171219
["^your flasks grant "] = { },
12181220
["^when hit, "] = { },
@@ -3582,12 +3584,6 @@ local specialModList = {
35823584
["adrenaline"] = { flag("Condition:Adrenaline") },
35833585
["arcane surge"] = { flag("Condition:ArcaneSurge") },
35843586
["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,
35913587
["your curses have (%d+)%% increased effect if (%d+)%% of curse duration expired"] = function(num, _, limit) return {
35923588
mod("CurseEffect", "INC", num, { type = "MultiplierThreshold", actor = "enemy", var = "CurseExpired", threshold = tonumber(limit) }, { type = "SkillType", skillType = SkillType.AppliesCurse })
35933589
} end,

0 commit comments

Comments
 (0)