Skip to content

Commit

Permalink
Fix crushing blows in concurrent sim
Browse files Browse the repository at this point in the history
  • Loading branch information
kayla-glick committed Dec 29, 2024
1 parent 7555c40 commit 76cfcd0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions sim/core/sim_concurrent.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ func (rsrc *raidSimResultCombiner) addActionMetrics(unit *proto.UnitMetrics, add
baseTgt.Blocks += addTgt.Blocks
baseTgt.BlockedCrits += addTgt.BlockedCrits
baseTgt.Glances += addTgt.Glances
baseTgt.Crushes += addTgt.Crushes
baseTgt.Damage += addTgt.Damage
baseTgt.ResistedDamage += addTgt.ResistedDamage
baseTgt.CritDamage += addTgt.CritDamage
Expand All @@ -195,6 +196,7 @@ func (rsrc *raidSimResultCombiner) addActionMetrics(unit *proto.UnitMetrics, add
baseTgt.CritTickDamage += addTgt.CritTickDamage
baseTgt.ResistedCritTickDamage += addTgt.ResistedCritTickDamage
baseTgt.GlanceDamage += addTgt.GlanceDamage
baseTgt.CrushDamage += addTgt.CrushDamage
baseTgt.BlockDamage += addTgt.BlockDamage
baseTgt.BlockedCritDamage += addTgt.BlockedCritDamage
baseTgt.Threat += addTgt.Threat
Expand Down
2 changes: 1 addition & 1 deletion ui/core/components/detailed_results/damage_metrics.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export class DamageMetricsTable extends MetricsTable<ActionMetrics> {
};
}),
{
name: 'Damage done',
name: 'Damage Done',
headerCellClass: 'text-center metrics-table-cell--primary-metric',
columnClass: 'metrics-table-cell--primary-metric',
getValue: (metric: ActionMetrics) => metric.avgDamage,
Expand Down

0 comments on commit 76cfcd0

Please sign in to comment.