diff --git a/src/Modules/CalcPerform.lua b/src/Modules/CalcPerform.lua index 01b8d67878..f67a344dc5 100644 --- a/src/Modules/CalcPerform.lua +++ b/src/Modules/CalcPerform.lua @@ -369,6 +369,9 @@ local function doActorAttribsConditions(env, actor) modDB:NewMod("StunThreshold", "INC", 50, "Wyvern Form") modDB:NewMod("AilmentThreshold", "INC", 50, "Wyvern Form") end + if env.configInput.inDemonForm then + condList["Shapeshifted"] = true + end if skillFlags.hit and not skillFlags.trap and not skillFlags.mine and not skillFlags.totem then condList["HitRecently"] = true if skillFlags.spell then diff --git a/src/Modules/ConfigOptions.lua b/src/Modules/ConfigOptions.lua index ffabe09e16..4d1c13108d 100644 --- a/src/Modules/ConfigOptions.lua +++ b/src/Modules/ConfigOptions.lua @@ -343,6 +343,7 @@ local configSettings = { end }, { label = "Demon Form:", ifSkill = "Demon Form" }, { var = "inDemonForm", type = "check", label = "Are you in Demon Form?", ifSkill = "Demon Form", defaultState = true, tooltip = "Players need a minimum of 2 ^xE05030Life ^7to enter Demon Form, so you cannot use it with Chaos Inoculation", apply = function(val, modList, enemyModList) + modList:NewMod("Condition:Shapeshifted", "FLAG", true, "Config") modList:NewMod("Condition:DemonForm", "FLAG", true, "Config", { type = "StatThreshold", stat = "Life", threshold = 2 }) end }, { var = "demonFormStacks", type = "count", label = "Demonflame Stacks", ifSkill = "Demon Form", defaultPlaceholderState = 10, apply = function(val, modList, enemyModList)