Skip to content

Commit

Permalink
Merge pull request #2987 from jarveson/jake/feral-force-hidden-params
Browse files Browse the repository at this point in the history
feral: force hidden params to have values for now
  • Loading branch information
jarveson authored Apr 22, 2023
2 parents 9512d30 + e9e6247 commit 33b0b6b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion sim/druid/feral/rotation.go
Original file line number Diff line number Diff line change
Expand Up @@ -744,6 +744,10 @@ func (cat *FeralDruid) setupRotation(rotation *proto.FeralDruid_Rotation) {
cat.Rotation.FlowerWeave = false
cat.Rotation.BearweaveType = proto.FeralDruid_Rotation_None

// Until these are exposed as customizable param in ui, its easier to just force
cat.Rotation.BerserkFfThresh = 15
cat.Rotation.BerserkBiteThresh = 25

// Use automatic values unless specified
if rotation.ManualParams {
return
Expand All @@ -756,7 +760,6 @@ func (cat *FeralDruid) setupRotation(rotation *proto.FeralDruid_Rotation) {
cat.Rotation.UseBite = true

cat.Rotation.RipLeeway = 3 * time.Second
cat.Rotation.BerserkFfThresh = 15
cat.Rotation.MaxFfDelay = 700 * time.Millisecond

if cat.Rotation.FlowerWeave || (cat.Rotation.BearweaveType == proto.FeralDruid_Rotation_None) {
Expand Down

0 comments on commit 33b0b6b

Please sign in to comment.