diff --git a/Modules/ConfigOptions.lua b/Modules/ConfigOptions.lua index 42c73f320..1fa0a46dc 100644 --- a/Modules/ConfigOptions.lua +++ b/Modules/ConfigOptions.lua @@ -512,6 +512,10 @@ return { { var = "conditionBlockedHitFromUniqueEnemyInPast10Sec", type = "check", ifVer = "3_0", label = "Blocked hit from a Unique in the past 10s?", ifNode = 63490, apply = function(val, modList, enemyModList) modList:NewMod("Condition:BlockedHitFromUniqueEnemyInPast10Sec", "FLAG", true, "Config", { type = "Condition", var = "Combat" }) end }, + { var = "multiplierManaSpentRecently", type = "count", label = "# Mana Spent Recently:", ifMult = "ManaSpentRecently", implyCond = "UsedSkillRecently", tooltip = "This option is specific to Indigon.\nThis also implies that you have used a Skill Recently.", apply = function(val, modList, enemyModList) + modList:NewMod("Multiplier:ManaSpentRecently", "BASE", val, "Config", { type = "Condition", var = "Combat" }) + modList:NewMod("Condition:UsedSkillRecently", "FLAG", val >= 1, "Config", { type = "Condition", var = "Combat" }) + end }, -- Section: Effective DPS options { section = "For Effective DPS", col = 1 }, diff --git a/Modules/ModParser-3_0.lua b/Modules/ModParser-3_0.lua index 149b80df6..7e62061d6 100644 --- a/Modules/ModParser-3_0.lua +++ b/Modules/ModParser-3_0.lua @@ -609,6 +609,7 @@ local modTagList = { ["per green socket"] = { tag = { type = "Multiplier", var = "GreenSocketIn{SlotName}" } }, ["per blue socket"] = { tag = { type = "Multiplier", var = "BlueSocketIn{SlotName}" } }, ["per white socket"] = { tag = { type = "Multiplier", var = "WhiteSocketIn{SlotName}" } }, + ["for each (%d+) total mana you have spent recently"] = function(num) return { tag = { type = "Multiplier", var = "ManaSpentRecently", div = num } } end, -- Per stat ["per (%d+) strength"] = function(num) return { tag = { type = "PerStat", stat = "Str", div = num } } end, ["per (%d+) dexterity"] = function(num) return { tag = { type = "PerStat", stat = "Dex", div = num } } end,