Skip to content

Commit

Permalink
Replace all gear presets with blank ones, remove all but one lvl 60 t…
Browse files Browse the repository at this point in the history
…est case for specs
  • Loading branch information
FelixPflaum committed Nov 21, 2024
1 parent cefe945 commit 5634c85
Show file tree
Hide file tree
Showing 217 changed files with 2,256 additions and 20,076 deletions.
2 changes: 1 addition & 1 deletion sim/common/sod/item_effects/phase_6.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func init() {
core.NewItemEffect(ObsidianChampion, func(agent core.Agent) {
character := agent.GetCharacter()
vanilla.StrengthOfTheChampionAura(character)
vanilla.EnrageAura446327(character)
//vanilla.EnrageAura446327(character)
ObsidianEdgedAura(ObsidianChampion, agent)
})

Expand Down
538 changes: 127 additions & 411 deletions sim/common/vanilla/item_effects.go

Large diffs are not rendered by default.

11 changes: 5 additions & 6 deletions sim/core/bulksim.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import (
"fmt"
"math"
"runtime"
"runtime/debug"
"sort"
"strings"
"sync/atomic"
Expand Down Expand Up @@ -57,11 +56,11 @@ type singleBulkSim struct {

func (b *bulkSimRunner) Run(signals simsignals.Signals, progress chan *proto.ProgressMetrics) (result *proto.BulkSimResult) {
defer func() {
if err := recover(); err != nil {
result = &proto.BulkSimResult{
Error: &proto.ErrorOutcome{Message: fmt.Sprintf("%v\nStack Trace:\n%s", err, string(debug.Stack()))},
}
}
// if err := recover(); err != nil {
// result = &proto.BulkSimResult{
// Error: &proto.ErrorOutcome{Message: fmt.Sprintf("%v\nStack Trace:\n%s", err, string(debug.Stack()))},
// }
// }
signals.Abort.Trigger()
}()

Expand Down
8 changes: 4 additions & 4 deletions sim/core/simsignals/api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ func TestAbort(t *testing.T) {
Level: 60,
Race: proto.Race_RaceOrc,
Class: proto.Class_ClassWarrior,
Equipment: core.GetGearSet("../../../ui/warrior/gear_sets", "phase_4_2h").GearSet,
Equipment: core.GetGearSet("../../../ui/tank_warrior/gear_sets", "placeholder").GearSet,
Rotation: &proto.APLRotation{},
Consumes: &proto.Consumes{},
Spec: &proto.Player_Warrior{
Warrior: &proto.Warrior{
Options: &proto.Warrior_Options{
StartingRage: 50,
Shout: proto.WarriorShout_WarriorShoutBattle,
StartingRage: 50,
Shout: proto.WarriorShout_WarriorShoutBattle,
},
},
},
Expand Down Expand Up @@ -175,7 +175,7 @@ func TestAbort(t *testing.T) {
BaseSettings: rsr,
BulkSettings: &proto.BulkSettings{
Combinations: true,
Items: []*proto.ItemSpec{{Id: 19168}, {Id: 228757}},
Items: []*proto.ItemSpec{{Id: 19168}, {Id: 10761}},
IterationsPerCombo: 9999,
FastMode: false,
},
Expand Down
Loading

0 comments on commit 5634c85

Please sign in to comment.