Skip to content

Commit

Permalink
fix warrior stance not assigning properly
Browse files Browse the repository at this point in the history
  • Loading branch information
kayla-glick committed Dec 31, 2024
1 parent 0f4c756 commit f17f6cb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
1 change: 1 addition & 0 deletions sim/warrior/dps_warrior/dps_warrior.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ func NewDpsWarrior(character *core.Character, options *proto.Player) *DpsWarrior

war := &DpsWarrior{
Warrior: warrior.NewWarrior(character, options.TalentsString, warrior.WarriorInputs{
Stance: warOptions.Options.Stance,
StanceSnapshot: warOptions.Options.StanceSnapshot,
}),
Options: warOptions.Options,
Expand Down
1 change: 1 addition & 0 deletions sim/warrior/tank_warrior/tank_warrior.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ func NewTankWarrior(character *core.Character, options *proto.Player) *TankWarri

war := &TankWarrior{
Warrior: warrior.NewWarrior(character, options.TalentsString, warrior.WarriorInputs{
Stance: warOptions.Options.Stance,
StanceSnapshot: warOptions.Options.StanceSnapshot,
}),
Options: warOptions.Options,
Expand Down
10 changes: 3 additions & 7 deletions sim/warrior/warrior.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,10 @@ type Warrior struct {
revengeProcAura *core.Aura
OverpowerAura *core.Aura

lastMeleeAutoTarget *core.Unit

// Enrage Auras
BerserkerRageAura *core.Aura
BloodrageAura *core.Aura
EnrageAura *core.Aura
BerserkerRageAura *core.Aura
BloodrageAura *core.Aura
EnrageAura *core.Aura

// Reaction time values
reactionTime time.Duration
Expand Down Expand Up @@ -195,8 +193,6 @@ func (warrior *Warrior) Initialize() {
warrior.registerHeroicStrikeSpell(queuedRealismICD)
warrior.registerCleaveSpell(queuedRealismICD)



warrior.registerBloodrageCD()
warrior.RegisterRecklessnessCD()
}
Expand Down

0 comments on commit f17f6cb

Please sign in to comment.