Skip to content

Commit

Permalink
remove rollover from rend OnSnapshot function
Browse files Browse the repository at this point in the history
  • Loading branch information
zoristaken committed Nov 1, 2024
1 parent ca7e7bf commit 00180e9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions sim/warrior/rend.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,7 @@ func (warrior *Warrior) RegisterRendSpell() {
NumberOfTicks: dotTicks,
TickLength: time.Second * 3,

OnSnapshot: func(sim *core.Simulation, target *core.Unit, dot *core.Dot, isRollover bool) {
if isRollover {
return
}

OnSnapshot: func(sim *core.Simulation, target *core.Unit, dot *core.Dot, _ bool) {
weaponMH := warrior.AutoAttacks.MH()
avgMHDamage := weaponMH.CalculateAverageWeaponDamage(dot.Spell.MeleeAttackPower())

Expand Down

0 comments on commit 00180e9

Please sign in to comment.