Skip to content

Commit e6a09e3

Browse files
committed
Breakdown cleanup
1 parent 4a09424 commit e6a09e3

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

src/Data/Skills/act_dex.lua

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3825,15 +3825,17 @@ skills["ExplosiveArrow"] = {
38253825
-- Number of fuses is less than the limit, so the entire fuse duration applies
38263826
globalOutput.HitTime = duration
38273827
end
3828+
38283829
globalOutput.HitSpeed = 1 / globalOutput.HitTime
38293830

38303831
if globalBreakdown and globalOutput.MaxExplosiveArrowFuseCalculated then
38313832
globalBreakdown.MaxExplosiveArrowFuseCalculated = {}
3832-
t_insert(globalBreakdown.MaxExplosiveArrowFuseCalculated, s_format("%.2f ^8(Hit Chance)", output.HitChance / 100))
3833-
t_insert(globalBreakdown.MaxExplosiveArrowFuseCalculated, s_format("x %.2f ^8(Speed)", globalOutput.Speed))
3834-
t_insert(globalBreakdown.MaxExplosiveArrowFuseCalculated, s_format("x %.2f ^8(Action Speed)", globalOutput.ActionSpeedMod))
3835-
t_insert(globalBreakdown.MaxExplosiveArrowFuseCalculated, s_format("x %.2f ^8(dpsMultiplier)", activeSkill.skillData.dpsMultiplier))
3836-
t_insert(globalBreakdown.MaxExplosiveArrowFuseCalculated, s_format("x %.2f ^8(barrageProjectiles)", barrageProjectiles or 1))
3833+
t_insert(globalBreakdown.MaxExplosiveArrowFuseCalculated, s_format("%.2f ^8(attack speed)", globalOutput.Speed))
3834+
if output.HitChance < 100 then
3835+
t_insert(globalBreakdown.MaxExplosiveArrowFuseCalculated, s_format("x %.2f ^8(hit chance)", output.HitChance / 100))
3836+
end
3837+
t_insert(globalBreakdown.MaxExplosiveArrowFuseCalculated, s_format("x %.2f ^8(action speed)", globalOutput.ActionSpeedMod))
3838+
t_insert(globalBreakdown.MaxExplosiveArrowFuseCalculated, s_format("x %.2f ^8(projectiles)", barrageProjectiles or 1))
38373839
if activeSkill.skillFlags.totem then
38383840
t_insert(globalBreakdown.MaxExplosiveArrowFuseCalculated, s_format("= %.2f ^8(fuse rate)", initialApplicationRate))
38393841
t_insert(globalBreakdown.MaxExplosiveArrowFuseCalculated, s_format("x %d ^8(active totems)", activeTotems))

0 commit comments

Comments
 (0)