From bdae7cfdf7ad6cec9ae164953d604f9f679cf13f Mon Sep 17 00:00:00 2001 From: Uilman Date: Sun, 10 Jan 2021 14:22:10 -0500 Subject: [PATCH] No longer counts rupture modifiers if source of rupture is removed --- Modules/ConfigOptions.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/ConfigOptions.lua b/Modules/ConfigOptions.lua index 6d1adadb..c360e44f 100644 --- a/Modules/ConfigOptions.lua +++ b/Modules/ConfigOptions.lua @@ -1012,8 +1012,8 @@ return { end }, { var = "multiplierRuptureStacks", type = "count", label = "# of Rupture stacks?", ifCond = "CanInflictRupture", tooltip = "Rupture applies 25% more bleed damage and 25% faster bleeds for 3 seconds, up to 3 stacks", apply = function(val, modList, enemyModList) enemyModList:NewMod("Multiplier:RuptureStack", "BASE", val, "Config", { type = "Condition", var = "Effective" }) - enemyModList:NewMod("DamageTaken", "MORE", 25, "Rupture", nil, KeywordFlag.Bleed, { type = "Multiplier", var = "RuptureStack", limit = 3}) - enemyModList:NewMod("SelfBleedFaster", "INC", 25, "Rupture", { type = "Multiplier", var = "RuptureStack", limit = 3}) + enemyModList:NewMod("DamageTaken", "MORE", 25, "Rupture", nil, KeywordFlag.Bleed, { type = "Multiplier", var = "RuptureStack", limit = 3}, { type = "ActorCondition", actor = "enemy", var = "CanInflictRupture" }) + enemyModList:NewMod("SelfBleedFaster", "INC", 25, "Rupture", { type = "Multiplier", var = "RuptureStack", limit = 3}, { type = "ActorCondition", actor = "enemy", var = "CanInflictRupture" }) end }, { var = "conditionEnemyPoisoned", type = "check", label = "Is the enemy Poisoned?", ifEnemyCond = "Poisoned", apply = function(val, modList, enemyModList) enemyModList:NewMod("Condition:Poisoned", "FLAG", true, "Config", { type = "Condition", var = "Effective" })