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
16 changes: 16 additions & 0 deletions src/Modules/CalcOffence.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3291,6 +3291,14 @@ function calcs.offence(env, actor, activeSkill)
end
globalOutput.CausticGroundDPS = CausticGroundDPSCapped
globalOutput.CausticGroundFromPoison = true
if globalBreakdown then
globalBreakdown.CausticGroundFromPoison = {
s_format("%.1f ^8(single poison damage per second)", baseVal * effectMod * rateMod),
s_format("* %.1f%% ^8(percent as Caustic ground)", groundMult),
s_format("* %.3f ^8(effect mult)", effMult),
s_format("= %.1f ^8per second", globalOutput.CausticGroundFromPoison)
}
end
end
local durationBase
if skillData.poisonDurationIsSkillDuration then
Expand Down Expand Up @@ -3561,6 +3569,14 @@ function calcs.offence(env, actor, activeSkill)
end
globalOutput.BurningGroundDPS = BurningGroundDPSCapped
globalOutput.BurningGroundFromIgnite = true
if globalBreakdown then
globalBreakdown.BurningGroundDPS = {
s_format("%.1f ^8(ignite damage per second)", baseVal * effectMod * rateMod),
s_format("* %.1f%% ^8(percent as burning ground)", groundMult),
s_format("* %.3f ^8(effect mult)", fireEffMult),
s_format("= %.1f ^8per second", globalOutput.BurningGroundDPS)
}
end
end
globalOutput.IgniteDamage = output.IgniteDPS * globalOutput.IgniteDuration
if skillFlags.igniteCanStack then
Expand Down
4 changes: 2 additions & 2 deletions src/Modules/CalcSections.lua
Original file line number Diff line number Diff line change
Expand Up @@ -813,7 +813,7 @@ return {
{ breakdown = "MainHand.PoisonDPS" },
{ breakdown = "OffHand.PoisonDPS" },
}, },
{ label = "Caustic Ground DPS", haveOutput = "CausticGroundFromPoison", { format = "{0:output:CausticGroundDPS}", { breakdown = "CausticGroundDPS" } } },
{ label = "Caustic Ground", haveOutput = "CausticGroundFromPoison", { format = "{0:output:CausticGroundDPS}", { breakdown = "CausticGroundDPS" } } },
{ label = "Poison Duration", { format = "{2:output:PoisonDuration}s",
{ breakdown = "PoisonDuration" },
{ label = "Player modifiers", modName = { "EnemyPoisonDuration", "SkillAndDamagingAilmentDuration", "PoisonFaster" }, cfg = "poison" },
Expand Down Expand Up @@ -877,7 +877,7 @@ return {
{ breakdown = "OffHand.IgniteDPS" },
{ modName = { "IgniteBurnRate" }, cfg = "skill" },
}, },
{ label = "Burning Ground DPS", haveOutput = "BurningGroundFromIgnite", { format = "{0:output:BurningGroundDPS}", { breakdown = "BurningGroundDPS" } } },
{ label = "Burning Ground", haveOutput = "BurningGroundFromIgnite", { format = "{0:output:BurningGroundDPS}", { breakdown = "BurningGroundDPS" } } },
{ label = "Ignite Duration", { format = "{2:output:IgniteDuration}s",
{ breakdown = "IgniteDuration" },
{ label = "Player modifiers", modName = { "EnemyIgniteDuration", "SkillAndDamagingAilmentDuration", "IgniteBurnFaster", "IgniteBurnSlower" }, cfg = "skill" },
Expand Down