Skip to content

Commit

Permalink
Disable EnableResumeAfterManaWait for APL, because it subtly affects …
Browse files Browse the repository at this point in the history
…tests
  • Loading branch information
jimmyt857 committed Jan 6, 2024
1 parent 022b884 commit da72c67
Show file tree
Hide file tree
Showing 10 changed files with 1,108 additions and 1,105 deletions.
3 changes: 3 additions & 0 deletions sim/core/mana.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ func (character *Character) EnableResumeAfterManaWait(callback func(sim *Simulat
if callback == nil {
panic("attempted to setup a mana tick callback that was nil")
}
if character.IsUsingAPL {
return
}
character.OnManaTick = func(sim *Simulation) {
if character.FinishedWaitingForManaAndGCDReady(sim) {
callback(sim)
Expand Down
4 changes: 2 additions & 2 deletions sim/mage/TestArcane.results
Original file line number Diff line number Diff line change
Expand Up @@ -252,8 +252,8 @@ dps_results: {
dps_results: {
key: "TestArcane-AllItems-EphemeralSnowflake-50260"
value: {
dps: 10738.79708
tps: 6577.6561
dps: 10727.16841
tps: 6570.11619
}
}
dps_results: {
Expand Down
8 changes: 4 additions & 4 deletions sim/mage/TestFire.results
Original file line number Diff line number Diff line change
Expand Up @@ -770,8 +770,8 @@ dps_results: {
dps_results: {
key: "TestFire-Settings-Troll-p3_fire_alliance-Fire-fire-FullBuffs-LongMultiTarget"
value: {
dps: 38085.36222
tps: 32980.78258
dps: 38064.82304
tps: 32963.64697
}
}
dps_results: {
Expand All @@ -791,8 +791,8 @@ dps_results: {
dps_results: {
key: "TestFire-Settings-Troll-p3_fire_alliance-Fire-fire-NoBuffs-LongMultiTarget"
value: {
dps: 22222.81509
tps: 20575.92958
dps: 22173.53497
tps: 20541.48297
}
}
dps_results: {
Expand Down
Loading

0 comments on commit da72c67

Please sign in to comment.