Skip to content

Commit

Permalink
Merge pull request #4048 from wowsims/rotcheck
Browse files Browse the repository at this point in the history
minor updates for rotation
  • Loading branch information
dbyena2 committed Nov 16, 2023
2 parents 6f122f9 + 962130b commit 4fb6b24
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions sim/priest/shadow/rotation.go
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ func (spriest *ShadowPriest) chooseSpellIdeal(sim *core.Simulation) (*core.Spell
bestIdx = swpIdx
}
// Snap shot BL on DP
if overwriteDPS2-currDPS2 > 2000 && bestIdx != vtIdx { //Seems to be a dps loss to overwrite a DP to snap shot
if overwriteDPS2-currDPS2 > 2500 && bestIdx != vtIdx { //Seems to be a dps loss to overwrite a DP to snap shot
bestIdx = dpIdx
currentWait = 0
}
Expand Down Expand Up @@ -634,7 +634,7 @@ func (spriest *ShadowPriest) chooseSpellIdeal(sim *core.Simulation) (*core.Spell
if chosenMfs == 1 {
numTicks = 1 // determiend above that it's more dps to add MF1, need if it's not better to enter ideal rotation instead
} else if (castMf2 == 1 && spriest.DevouringPlague.CurDot().IsActive() && spriest.VampiricTouch.CurDot().IsActive()) || (timeUntilBLStarts < (time.Duration(3)*tickLength).Seconds() && timeUntilBLStarts > 0.2) {
if spriest.MindFlayTickDuration()*3 < gcd {
if float64(spriest.MindFlayTickDuration().Seconds()*3) < float64(gcd.Seconds()*1.3) {
numTicks = 3
} else {
numTicks = 2
Expand Down Expand Up @@ -743,7 +743,7 @@ func (spriest *ShadowPriest) IdealMindflayRotation(sim *core.Simulation, gcd tim

AlmostAnotherTick := numTicks_Base - numTicks_floored

if AlmostAnotherTick >= 0.3 {
if AlmostAnotherTick >= 0.25 {
numTicks += 1
}

Expand Down Expand Up @@ -842,7 +842,7 @@ func (spriest *ShadowPriest) IdealMindflayRotation(sim *core.Simulation, gcd tim
}
AlmostAnotherTick := numTicks_Base - numTicks_floored

if AlmostAnotherTick >= 0.3 {
if AlmostAnotherTick >= 0.2 {
numTicks += 1
}

Expand All @@ -860,7 +860,7 @@ func (spriest *ShadowPriest) IdealMindflayRotation(sim *core.Simulation, gcd tim
max(0, spriest.AllCDs[3]-mfTime),
0,
}
if deltaTime.Seconds() < -0.33 {
if deltaTime.Seconds() < -1 {
numTicks -= 1
cdDiffs[bestIdx] += tickLength
}
Expand Down

0 comments on commit 4fb6b24

Please sign in to comment.