Skip to content

Commit 7c40b2d

Browse files
committed
FIX: emberwake mod parsing. "up to" ignite count mod.
1 parent c76a5fe commit 7c40b2d

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/Modules/CalcOffence.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4351,7 +4351,7 @@ function calcs.offence(env, actor, activeSkill)
43514351
-- For ignites we will be using a weighted average calculation
43524352
local maxStacks = 1
43534353
if skillFlags.igniteCanStack then
4354-
maxStacks = maxStacks + skillModList:Sum("BASE", cfg, "IgniteStacks")
4354+
maxStacks = skillModList:Override(cfg, "IgniteStacks") or (maxStacks + skillModList:Sum("BASE", cfg, "IgniteStacks"))
43554355
end
43564356
local overrideStackPotential = skillModList:Override(nil, "IgniteStackPotentialOverride") and skillModList:Override(nil, "IgniteStackPotentialOverride") / maxStacks
43574357
globalOutput.IgniteStacksMax = maxStacks

src/Modules/ModParser.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3175,8 +3175,9 @@ local specialModList = {
31753175
flag("CannotBrittle", { type = "SkillName", skillNameList = { "Flameblast", "Incinerate" }, includeTransfigured = true }),
31763176
flag("CannotSap", { type = "SkillName", skillNameList = { "Flameblast", "Incinerate" }, includeTransfigured = true }),
31773177
},
3178-
["you can inflict up to (%d+) ignites on an enemy"] = { flag("IgniteCanStack") },
3178+
["you can inflict up to (%d+) ignites on an enemy"] = function(num) return { flag("IgniteCanStack"), mod("IgniteStacks", "OVERRIDE", num) } end,
31793179
["you can inflict an additional ignite on an enemy"] = { flag("IgniteCanStack"), mod("IgniteStacks", "BASE", 1) },
3180+
["you can inflict an additional ignite on each enemy"] = { flag("IgniteCanStack"), mod("IgniteStacks", "BASE", 1) },
31803181
["enemies chilled by you take (%d+)%% increased burning damage"] = function(num) return { mod("EnemyModifier", "LIST", { mod = mod("FireDamageTakenOverTime", "INC", num) }, { type = "ActorCondition", actor = "enemy", var = "Chilled" }) } end,
31813182
["damaging ailments deal damage (%d+)%% faster"] = function(num) return { mod("IgniteBurnFaster", "INC", num), mod("BleedFaster", "INC", num), mod("PoisonFaster", "INC", num) } end,
31823183
["damaging ailments you inflict deal damage (%d+)%% faster while affected by malevolence"] = function(num) return {

0 commit comments

Comments
 (0)