Skip to content

Commit 93ca7a0

Browse files
authored
Adjusted war cry uptime tooltip (#8599)
1 parent 2927b25 commit 93ca7a0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/Modules/CalcOffence.lua

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2404,6 +2404,7 @@ function calcs.offence(env, actor, activeSkill)
24042404
else
24052405
t_insert(globalBreakdown.AncestralUpTimeRatio, s_format("/ %.2f ^8(average warcry cooldown)", globalOutput.AncestralCryCooldown))
24062406
end
2407+
t_insert(globalBreakdown.AncestralUpTimeRatio, s_format("* %d ^8(stored uses)", storedUses))
24072408
t_insert(globalBreakdown.AncestralUpTimeRatio, s_format("= %d%%", globalOutput.AncestralUpTimeRatio))
24082409
end
24092410
globalOutput.AncestralCryCalculated = true
@@ -2427,6 +2428,7 @@ function calcs.offence(env, actor, activeSkill)
24272428
else
24282429
t_insert(globalBreakdown.InfernalUpTimeRatio, s_format("/ %.2f ^8(average warcry cooldown)", globalOutput.InfernalCryCooldown))
24292430
end
2431+
t_insert(globalBreakdown.InfernalUpTimeRatio, s_format("* %d ^8(stored uses)", storedUses))
24302432
t_insert(globalBreakdown.InfernalUpTimeRatio, s_format("= %d%%", globalOutput.InfernalUpTimeRatio))
24312433
end
24322434
end
@@ -2451,6 +2453,7 @@ function calcs.offence(env, actor, activeSkill)
24512453
else
24522454
t_insert(globalBreakdown.IntimidatingUpTimeRatio, s_format("/ %.2f ^8(average warcry cooldown)", globalOutput.IntimidatingCryCooldown))
24532455
end
2456+
t_insert(globalBreakdown.IntimidatingUpTimeRatio, s_format("* %d ^8(stored uses)", storedUses))
24542457
t_insert(globalBreakdown.IntimidatingUpTimeRatio, s_format("= %d%%", globalOutput.IntimidatingUpTimeRatio))
24552458
end
24562459
local ddChance = m_min(skillModList:Sum("BASE", cfg, "DoubleDamageChance") + (env.mode_effective and enemyDB:Sum("BASE", cfg, "SelfDoubleDamageChance") or 0) + exertedDoubleDamage, 100)
@@ -2496,6 +2499,7 @@ function calcs.offence(env, actor, activeSkill)
24962499
else
24972500
t_insert(globalBreakdown.RallyingUpTimeRatio, s_format("/ %.2f ^8(average warcry cooldown)", globalOutput.RallyingCryCooldown))
24982501
end
2502+
t_insert(globalBreakdown.RallyingUpTimeRatio, s_format("* %d ^8(stored uses)", storedUses))
24992503
t_insert(globalBreakdown.RallyingUpTimeRatio, s_format("= %d%%", globalOutput.RallyingUpTimeRatio))
25002504
end
25012505
globalOutput.RallyingAvgDmg = m_min(env.modDB:Sum("BASE", cfg, "Multiplier:NearbyAlly"), 5) * (env.modDB:Sum("BASE", nil, "RallyingExertMoreDamagePerAlly") / 100)
@@ -2549,6 +2553,7 @@ function calcs.offence(env, actor, activeSkill)
25492553
else
25502554
t_insert(globalBreakdown.SeismicUpTimeRatio, s_format("/ %.2f ^8(average warcry cooldown)", globalOutput.SeismicCryCooldown))
25512555
end
2556+
t_insert(globalBreakdown.SeismicUpTimeRatio, s_format("* %d ^8(stored uses)", storedUses))
25522557
t_insert(globalBreakdown.SeismicUpTimeRatio, s_format("= %d%%", globalOutput.SeismicUpTimeRatio))
25532558
end
25542559
globalOutput.SeismicCryCalculated = true
@@ -2572,6 +2577,7 @@ function calcs.offence(env, actor, activeSkill)
25722577
else
25732578
t_insert(globalBreakdown.BattlemageUpTimeRatio, s_format("/ %.2f ^8(average warcry cooldown)", globalOutput.BattleMageCryCooldown))
25742579
end
2580+
t_insert(globalBreakdown.BattlemageUpTimeRatio, s_format("* %d ^8(stored uses)", storedUses))
25752581
t_insert(globalBreakdown.BattlemageUpTimeRatio, s_format("= %d%%", globalOutput.BattlemageUpTimeRatio))
25762582
end
25772583
end

0 commit comments

Comments
 (0)