Skip to content

Commit

Permalink
Cooldown set command didn't work how I had thought, need to add sim t…
Browse files Browse the repository at this point in the history
…ime to get correct duration
  • Loading branch information
mlizard32 committed Jul 7, 2024
1 parent 5fb14c0 commit af404e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sim/paladin/runes.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func (paladin *Paladin) registerTheArtOfWar() {
return
}
//paladin.holyShockCooldown.Reset()
paladin.exorcismCooldown.Set(max(0, paladin.exorcismCooldown.TimeToReady(sim) - time.Second * 2))
paladin.exorcismCooldown.Set(sim.CurrentTime + max(0, paladin.exorcismCooldown.TimeToReady(sim) - (time.Second * 2)))
},
})
}
Expand Down

0 comments on commit af404e6

Please sign in to comment.