Skip to content

Commit

Permalink
Merge pull request #1175 from ncberman/hunter_aq25intFix
Browse files Browse the repository at this point in the history
(BUG) Fixed integer truncation bug in ranged aq2.5 set for hunters
  • Loading branch information
kayla-glick authored Nov 23, 2024
2 parents ab2047a + dae582f commit db8fdfd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sim/hunter/item_sets_pve.go
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,8 @@ var StrikersPursuit = core.NewItemSet(core.ItemSet{
if hunter.HasActiveAura("Rapid Fire") {
spell.CD.Reset()
} else if sim.CurrentTime > sim.Encounter.Duration/2 {
spell.CD.Set(sim.CurrentTime + spell.CD.TimeToReady(sim)/time.Duration(1/(1.0-cdReduction)))
reducedCooldown := spell.CD.TimeToReady(sim) / 1000 * time.Duration(1000*(1.0-cdReduction))
spell.CD.Set(sim.CurrentTime + reducedCooldown)
}
},
}))
Expand Down

0 comments on commit db8fdfd

Please sign in to comment.