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

Remove legacy rotation code from sod-fork #4206

Merged
merged 26 commits into from
Jan 29, 2024
Merged

Remove legacy rotation code from sod-fork #4206

merged 26 commits into from
Jan 29, 2024

Conversation

kayla-glick
Copy link
Contributor

@kayla-glick kayla-glick commented Jan 28, 2024

Working through #4116 and follow-up PRs to remove the old rotation code

sim/core/cast.go Outdated Show resolved Hide resolved
@@ -43,7 +43,6 @@ func (cat *FeralDruid) OnGCDReady(sim *core.Simulation) {
// Replace gcd event with our own if we casted a spell
if !cat.GCD.IsReady(sim) {
nextGcd := cat.NextGCDAt()
cat.DoNothing()
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this file be removed? It contains powershift logic

@kayla-glick kayla-glick marked this pull request as ready for review January 29, 2024 18:10
@@ -393,20 +391,6 @@ export abstract class IndividualSimUI<SpecType extends Spec> extends SimUI {
//this.simHeader.addExportLink("CLI", _parent => new Exporters.IndividualCLIExporter(this.rootElem, this), true);
}

applyDefaultRotation(eventID: EventID) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was an intentional add on my part to allow individual sims to specify the simple interface as what users see by default if desired. Should still work with the new code as long as the individual sim config supports optional fields within the defaults section for "rotationType?" and "simpleRotation?". I'm happy to re-commit it separately though if that's easier.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The feral sim still shows the simple rotation and changing options does affect results, too.

image

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And with full buffs I get ~306 dps

image

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah that commit wouldn't change results at all, just which interface is shown when loading defaults.

Copy link
Contributor

@NerdEgghead NerdEgghead left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would just double check that Feral sim/UI load properly with these changes since it's the one sim using the Simple interface currently, should be getting around 300 DPS with all defaults. Otherwise looks good!

@kayla-glick kayla-glick changed the title WIP: Remove legacy rotation code from sod-fork Remove legacy rotation code from sod-fork Jan 29, 2024
@kayla-glick kayla-glick merged commit 5309e81 into sod-fork Jan 29, 2024
@kayla-glick kayla-glick deleted the sod-fork-apl branch January 29, 2024 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants