Skip to content

Commit

Permalink
Added comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Horatio27 committed Dec 29, 2023
1 parent 2aacfa4 commit b8404f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sim/core/item_swaps.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ func (swap *ItemSwap) SwapItems(sim *Simulation, slots []proto.ItemSlot) {
character.AutoAttacks.StopMeleeUntil(sim, sim.CurrentTime, false)
}

// If GCD is ready then, then use the GCD, otherwise we assume it's being used along side a spell.
// If GCD is ready then use the GCD, otherwise we assume it's being used along side a spell.
if character.GCD.IsReady(sim) {
newGCD := sim.CurrentTime + 1500*time.Millisecond
character.SetGCDTimer(sim, newGCD)
Expand Down

0 comments on commit b8404f9

Please sign in to comment.