Skip to content

Commit

Permalink
Fix Flicker Strike DPS being limited by cooldown (#7078)
Browse files Browse the repository at this point in the history
* fix: add skill option for flicker to bypass cd

* Update position of config

---------

Co-authored-by: LocalIdentity <[email protected]>
  • Loading branch information
sida-wang and LocalIdentity authored Dec 18, 2023
1 parent a72fde7 commit 1ad7736
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Modules/ConfigOptions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ return {
modList:NewMod("CooldownRecovery", "OVERRIDE", 0, "Config", { type = "SkillName", skillNameList = { "Cold Snap", "Cold Snap of Power" } })
end },
{ label = "Consecrated Path of Endurance:", ifSkill = "Consecrated Path of Endurance" },
{ var = "ConcPathBypassCD", type = "check", label = "Bypass CD?", ifSkill = "Consecrated Path of Endurance", apply = function(val, modList, enemyModList)
{ var = "ConcPathBypassCD", type = "check", label = "Bypass CD?", ifSkill = "Consecrated Path of Endurance", defaultState = true, apply = function(val, modList, enemyModList)
modList:NewMod("CooldownRecovery", "OVERRIDE", 0, "Config", { type = "SkillName", skillName = "Consecrated Path of Endurance" })
end },
{ label = "Corrupting Cry:", ifSkill = "Corrupting Cry" },
Expand Down Expand Up @@ -389,6 +389,10 @@ return {
{ var = "flameWallAddedDamage", type = "check", label = "Projectile Travelled through Flame Wall?", ifSkill = "Flame Wall", apply = function(val, modList, enemyModList)
modList:NewMod("Condition:FlameWallAddedDamage", "FLAG", true, "Config")
end },
{ label = "Flicker Strike:", ifSkill = { "Flicker Strike", "Flicker Strike of Power" } },
{ var = "FlickerStrikeBypassCD", type = "check", label = "Bypass CD?", ifSkill = { "Flicker Strike", "Flicker Strike of Power" }, defaultState = true, apply = function(val, modList, enemyModList)
modList:NewMod("CooldownRecovery", "OVERRIDE", 0, "Config", { type = "SkillName", skillNameList = { "Flicker Strike", "Flicker Strike of Power" } })
end },
{ label = "Fresh Meat:", ifSkill = "Fresh Meat" },
{ var = "freshMeatBuffs", type = "check", label = "Is Fresh Meat active?", ifSkill = "Fresh Meat", apply = function(val, modList, enemyModList)
modList:NewMod("Condition:FreshMeatActive", "FLAG", true, "Config")
Expand Down

0 comments on commit 1ad7736

Please sign in to comment.