Skip to content

Commit ae822f5

Browse files
committed
FIX: hallowing flame buff not applying to minions and using wrong element for damage gain as.
1 parent f52d3cd commit ae822f5

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

src/Modules/CalcPerform.lua

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3231,7 +3231,7 @@ function calcs.perform(env, skipEHP)
32313231
doActorLifeManaReservation(env.player, true)
32323232
end
32333233

3234-
if not env.minion and modDB:Flag(env.player.mainSkill.skillCfg, "Condition:CanInflictHallowingFlame") then
3234+
if modDB:Flag(env.player.mainSkill.skillCfg, "Condition:CanInflictHallowingFlame") then
32353235
local magnitude = modDB:Override(nil, "HallowingFlameMagnitude")
32363236

32373237
if env.mode == "MAIN" or not magnitude then
@@ -3242,12 +3242,11 @@ function calcs.perform(env, skipEHP)
32423242
end
32433243
end
32443244

3245-
local val = m_floor(25 * (1 + magnitude / 100)) -- Hallowing flame grants Attack Hits against you gain 25% of Physical Damage as Extra Fire Damage
3245+
local val = m_floor(25 * (1 + magnitude / 100)) -- Hallowing flame grants Attack Hits against you gain 25% of Physical Damage as Extra Fire Damage
32463246
modDB:NewMod("Multiplier:HallowingFlameMax", "BASE", 1, "Base")
3247-
modDB:NewMod("ExtraAura", "LIST", { onlyAllies = true, mod = modLib.createMod("PhysicalDamageGainAsLightning", "BASE", val, "Hallowing Flame", { type = "GlobalEffect", effectType = "Global", unscalable = true }, { type = "ActorCondition", actor = "enemy", var = "HallowingFlame" }, { type = "Multiplier", var = "HallowingFlame", actor = "enemy", limitActor = "parent", limitVar = "HallowingFlameMax" }) })
3247+
modDB:NewMod("ExtraAura", "LIST", { onlyAllies = true, mod = modLib.createMod("PhysicalDamageGainAsFire", "BASE", val, "Hallowing Flame", { type = "GlobalEffect", effectType = "Global", unscalable = true }, { type = "ActorCondition", actor = "enemy", var = "HallowingFlame" }, { type = "Multiplier", var = "HallowingFlame", actor = "enemy", limitActor = "parent", limitVar = "HallowingFlameMax" }) })
32483248
end
32493249

3250-
32513250
-- Check for extra auras
32523251
buffExports["Aura"]["extraAura"] = { effectMult = 1, modList = new("ModList") }
32533252
for _, value in ipairs(modDB:List(nil, "ExtraAura")) do

0 commit comments

Comments
 (0)