Skip to content

Commit

Permalink
Merge pull request #4171 from wowsims/apl
Browse files Browse the repository at this point in the history
Fix feral code references to rotation before it is set
  • Loading branch information
jimmyt857 authored Jan 15, 2024
2 parents 4d764ec + 13da466 commit e1c1136
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions sim/druid/feral/feral.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ func NewFeralDruid(character *core.Character, options *proto.Player) *FeralDruid

cat.AssumeBleedActive = feralOptions.Options.AssumeBleedActive
cat.maxRipTicks = cat.MaxRipTicks()
cat.prepopOoc = feralOptions.Rotation.PrePopOoc
cat.setupRotation(feralOptions.Rotation)

cat.EnableEnergyBar(100.0)

Expand Down
1 change: 1 addition & 0 deletions sim/druid/feral/rotation.go
Original file line number Diff line number Diff line change
Expand Up @@ -695,6 +695,7 @@ func (cat *FeralDruid) setupRotation(rotation *proto.FeralDruid_Rotation) {
AoeMangleBuilder: equipedIdol == 45509 || equipedIdol == 47668,
RakeDpeCheck: equipedIdol != 50456,
}
cat.prepopOoc = rotation.PrePopOoc

// Use automatic values unless specified
if rotation.ManualParams {
Expand Down

0 comments on commit e1c1136

Please sign in to comment.