Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions src/Modules/CalcOffence.lua
Original file line number Diff line number Diff line change
Expand Up @@ -395,11 +395,13 @@ function calcs.offence(env, actor, activeSkill)
end
if breakdown then
breakdown.AreaOfEffectMod = { }
breakdown.multiChain(breakdown.AreaOfEffectMod, {
{ "%.2f ^8(increased/reduced)", 1 + skillModList:Sum("INC", skillCfg, "AreaOfEffect") / 100 },
{ "%.2f ^8(more/less)", skillModList:More(skillCfg, "AreaOfEffect") },
total = s_format("= %.2f", output.AreaOfEffectMod),
})
if output.AreaOfEffectMod ~= 1 then
breakdown.multiChain(breakdown.AreaOfEffectMod, {
{ "%.2f ^8(increased/reduced)", 1 + skillModList:Sum("INC", skillCfg, "AreaOfEffect") / 100 },
{ "%.2f ^8(more/less)", skillModList:More(skillCfg, "AreaOfEffect") },
total = s_format("= %.2f", output.AreaOfEffectMod),
})
end
end
end

Expand Down
2 changes: 1 addition & 1 deletion src/Modules/ModParser.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4402,7 +4402,7 @@ local specialModList = {
["while stationary, gain (%d+)%% increased area of effect every second, up to a maximum of (%d+)%%"] = function(num, _, limit) return {
mod("AreaOfEffect", "INC", num, { type = "Multiplier", var = "StationarySeconds", globalLimit = tonumber(limit), globalLimitKey = "ExpansiveMight" }, { type = "Condition", var = "Stationary" }),
} end,
["fireball and rolling magma have (%d+)%% more area of effect"] = function(num) return { mod("AreaOfEffect", "MORE", num, nil, { type = "SkillName", skillNameList = { "Fireball", "rolling Magma" } }) } end,
["fireball and rolling magma have (%d+)%% more area of effect"] = function(num) return { mod("AreaOfEffect", "MORE", num, { type = "SkillName", skillNameList = { "Fireball", "Rolling Magma" } }) } end,
["attack skills have added lightning damage equal to (%d+)%% of maximum mana"] = function(num) return {
mod("LightningMin", "BASE", 1, nil, ModFlag.Attack, { type = "PercentStat", stat = "Mana", percent = num }),
mod("LightningMax", "BASE", 1, nil, ModFlag.Attack, { type = "PercentStat", stat = "Mana", percent = num }),
Expand Down