From 13da46674d7a48cb44852d5e75b5b8cdab5fd320 Mon Sep 17 00:00:00 2001 From: James Tanner Date: Mon, 15 Jan 2024 09:21:24 -0800 Subject: [PATCH] Fix feral code references to rotation before it is set --- sim/druid/feral/feral.go | 2 -- sim/druid/feral/rotation.go | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/sim/druid/feral/feral.go b/sim/druid/feral/feral.go index d30579fe0a..0fadd3b062 100644 --- a/sim/druid/feral/feral.go +++ b/sim/druid/feral/feral.go @@ -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) diff --git a/sim/druid/feral/rotation.go b/sim/druid/feral/rotation.go index 4694a15739..b6d790f689 100644 --- a/sim/druid/feral/rotation.go +++ b/sim/druid/feral/rotation.go @@ -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 {