Skip to content

Commit

Permalink
Merge pull request #3262 from jarveson/jake/feral-aoe-idol
Browse files Browse the repository at this point in the history
feral: update aoe rotation for p3 idol
  • Loading branch information
jarveson authored Jul 7, 2023
2 parents 118759f + 40751b8 commit 2a14e31
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions sim/druid/feral/rotation.go
Original file line number Diff line number Diff line change
Expand Up @@ -741,6 +741,8 @@ func (cat *FeralDruid) setupRotation(rotation *proto.FeralDruid_Rotation) {
rotation.BerserkBiteThresh = 25
rotation.BearWeaveType = proto.FeralDruid_Rotation_None

equipedIdol := cat.Equip[core.ItemSlotRanged].ID

cat.Rotation = FeralDruidRotation{
RotationType: rotation.RotationType,
BearweaveType: rotation.BearWeaveType,
Expand All @@ -761,8 +763,8 @@ func (cat *FeralDruid) setupRotation(rotation *proto.FeralDruid_Rotation) {
LacerateTime: 8.0 * time.Second,
SnekWeave: core.Ternary(rotation.BearWeaveType == proto.FeralDruid_Rotation_None, false, rotation.SnekWeave),
FlowerWeave: core.Ternary(rotation.RotationType == proto.FeralDruid_Rotation_Aoe, rotation.FlowerWeave, false),
// Use mangle if idol of corruptor equipped
AoeMangleBuilder: cat.Equip[core.ItemSlotRanged].ID == 45509,
// Use mangle if idol of corruptor or mutilation equipped
AoeMangleBuilder: equipedIdol == 45509 || equipedIdol == 47668,
}

// Use automatic values unless specified
Expand Down

0 comments on commit 2a14e31

Please sign in to comment.