Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feral: update aoe rotation for p3 idol #3262

Merged
merged 1 commit into from
Jul 7, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading