Skip to content

Commit

Permalink
Warrior: Bloodsurge proc will not refresh T10 4pc
Browse files Browse the repository at this point in the history
  • Loading branch information
TheGroxEmpire committed Nov 3, 2023
1 parent c14fd36 commit b3fddf7
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions sim/warrior/talents.go
Original file line number Diff line number Diff line change
Expand Up @@ -294,15 +294,13 @@ func (warrior *Warrior) applyBloodsurge() {

warrior.lastBloodsurgeProc = sim.CurrentTime

// As of 3.4.351943, bloodsurge will refresh Ymirjar 4pc duration if Ymirjar 4pc duration is >5s.
// However, it'll replace it if Ymirjar 4pc duration is <5s.
// As of 3.4.351943, bloodsurge will replace Ymirjar 4pc if Ymirjar 4pc duration is <5s
if warrior.Ymirjar4pcProcAura.IsActive() && warrior.Ymirjar4pcProcAura.RemainingDuration(sim) < time.Second*5 {
warrior.Ymirjar4pcProcAura.Deactivate(sim)

} else if ymirjar4Set && (sim.RandomFloat("Ymirjar 4pc") < 0.2 || warrior.Ymirjar4pcProcAura.IsActive()) {
} else if ymirjar4Set && (sim.RandomFloat("Ymirjar 4pc") < 0.2) {
warrior.BloodsurgeAura.Deactivate(sim)
warrior.Ymirjar4pcProcAura.Activate(sim)

warrior.BloodsurgeValidUntil = sim.CurrentTime + warrior.Ymirjar4pcProcAura.Duration
return
}
Expand Down

0 comments on commit b3fddf7

Please sign in to comment.