Skip to content

Commit

Permalink
Merge pull request #1257 from wowsims/bmstuff
Browse files Browse the repository at this point in the history
BM and Pet and KC updates
  • Loading branch information
ToxicKevinFerm authored Dec 10, 2024
2 parents da6f16e + 0b3a3dc commit c8ad078
Show file tree
Hide file tree
Showing 10 changed files with 1,889 additions and 1,852 deletions.
1 change: 0 additions & 1 deletion sim/core/focus.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ func (fb *focusBar) AddFocus(sim *Simulation, amount float64, metrics *ResourceM
panic("Trying to add negative focus!")
}
newFocus := min(fb.currentFocus+amount, fb.maxFocus)

if fb.isPlayer {
if sim.Log != nil {
fb.unit.Log(sim, "Gained %0.3f focus from %s (%0.3f --> %0.3f) of %0.0f total.", amount, metrics.ActionID, fb.currentFocus, newFocus, fb.maxFocus)
Expand Down
Loading

0 comments on commit c8ad078

Please sign in to comment.