Skip to content

Commit 3581803

Browse files
committed
Add metric for EnemyAttackTableBlock
1 parent 8541fdf commit 3581803

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

sim/core/spell_outcome.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -722,6 +722,8 @@ func (result *SpellResult) applyEnemyAttackTableBlock(sim *Simulation, spell *Sp
722722
result.Outcome |= OutcomeBlock
723723
if result.DidCrit() {
724724
spell.SpellMetrics[result.Target.UnitIndex].CritBlocks++
725+
} else if result.DidGlance() {
726+
spell.SpellMetrics[result.Target.UnitIndex].GlanceBlocks++
725727
} else {
726728
spell.SpellMetrics[result.Target.UnitIndex].Blocks++
727729
}

0 commit comments

Comments
 (0)