Skip to content

Commit 9661541

Browse files
committed
add slow magnitude in modnamelist/preflaglist
1 parent b9e2767 commit 9661541

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
@@ -782,6 +782,7 @@ local modNameList = {
782782
["to ignore enemy physical damage reduction"] = "ChanceToIgnoreEnemyPhysicalDamageReduction",
783783
["weapon swap speed"] = "WeaponSwapSpeed",
784784
["to chain an additional time from terrain"] = "TerrainChainChance",
785+
["slow magnitude"] = "EnemySlowMagnitude",
785786
-- Flask and Charm modifiers
786787
["effect"] = "LocalEffect",
787788
["effect of flasks"] = "FlaskEffect",
@@ -1216,6 +1217,7 @@ local preFlagList = {
12161217
["^hits against you "] = { applyToEnemy = true, flags = ModFlag.Hit },
12171218
["^hits against you [hd][ae][va][el] "] = { applyToEnemy = true, flags = ModFlag.Hit },
12181219
["^enemies near your totems deal "] = { applyToEnemy = true },
1220+
["^debuffs you inflict [hd][ae][va][el] "] = { },
12191221
-- Other
12201222
["^your flasks grant "] = { },
12211223
["^when hit, "] = { },
@@ -3597,12 +3599,6 @@ local specialModList = {
35973599
["adrenaline"] = { flag("Condition:Adrenaline") },
35983600
["arcane surge"] = { flag("Condition:ArcaneSurge") },
35993601
["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,
36063602
["your curses have (%d+)%% increased effect if (%d+)%% of curse duration expired"] = function(num, _, limit) return {
36073603
mod("CurseEffect", "INC", num, { type = "MultiplierThreshold", actor = "enemy", var = "CurseExpired", threshold = tonumber(limit) }, { type = "SkillType", skillType = SkillType.AppliesCurse })
36083604
} end,

0 commit comments

Comments
 (0)