Skip to content

Commit a799e3e

Browse files
committed
Rune Of Equinox - mana regen also applies to Ward
1 parent 67ed754 commit a799e3e

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

src/Modules/CalcDefence.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1694,6 +1694,10 @@ function calcs.defence(env, actor)
16941694
modDB:NewMod("OverflowEnergyShieldRecovery", "BASE", output.LifeRegenRecovery - recoveryRate, "Zealot's Oath")
16951695
output[resource.."RegenRecovery"] = 0
16961696
end
1697+
if resource == "Mana" and modDB:Flag(nil, "RuneOfEquinox") and output[resource.."RegenRecovery"] > 0 then
1698+
ConPrintf("YES")
1699+
modDB:NewMod("WardRegen", "BASE", output[resource.."RegenRecovery"], "Rune of Equinox")
1700+
end
16971701
if output[resource.."RegenRecovery"] > 0 then
16981702
modDB:NewMod("Condition:CanGain"..resource, "FLAG", true, resourceName.."Regen")
16991703
end

src/Modules/ModParser.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2395,6 +2395,7 @@ local specialModList = {
23952395
["leech life (%d+)%% slower"] = function(num) return {mod("LifeLeechRate", "INC", -num)} end,
23962396
["leech life (%d+)%% faster"] = function(num) return {mod("LifeLeechRate", "INC", num)} end,
23972397
["life regeneration is applied to energy shield instead"] = { flag("ZealotsOath") },
2398+
["mana recovery from regeneration is also applied to runic ward"] = { flag("RuneOfEquinox") },
23982399
["excess life recovery from regeneration is applied to energy shield"] = { flag("ZealotsOath", { type = "Condition", var = "FullLife" }) },
23992400
["life regeneration has no effect"] = { flag("NoLifeRegen") },
24002401
["life recharges instead of energy shield"] = { flag("EnergyShieldRechargeAppliesToLife") },

0 commit comments

Comments
 (0)