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

Essence Burst abstraction #3

Merged
merged 18 commits into from
Apr 7, 2024
Merged

Essence Burst abstraction #3

merged 18 commits into from
Apr 7, 2024

Conversation

Krealle
Copy link
Owner

@Krealle Krealle commented Apr 7, 2024

Description

So in essence this just makes the Essence Burst normalization / cast link shared.

Reasoning behind it is essentially that to get proper deterministic results for the Leaping Flames module, we need to narrow down the source of an Essence Burst. Currently that is all done on a spec-by-spec basis, which neccesitates a certain hierarchy of when the different normalizers run. We need the links from the Devastation and Augmentation's CastLinkNormalizer, which would be a relatively easy to do, but Preservation has links being made that rely on the links made in LeapingFlamesNormalizer - which means you start doing stuff like this

if (curSpec === SPECS.DEVASTATION_EVOKER || curSpec === SPECS.AUGMENTATION_EVOKER) {
  this.priority = 101;
}

Not ideal!

So a better solution is simply to deal with all the important Essence Burst normalization in a shared normalizer, which we can then make our LeapingFlamesNormalizer depend on.

All the EssenceBurstCastLinkNormalizer does is create links between generation sources and the generated/wasted Essence Burst. Along with providing some helper functions to help make analysis a bit easier.

The EBRefreshNormalizer has also been moved from Preservation to shared.

@Krealle Krealle merged commit 1d95f7a into leaping Apr 7, 2024
25 of 26 checks passed
Krealle added a commit that referenced this pull request Apr 25, 2024
…WoWAnalyzer#6719)

* update pupil related links for aug

* add EB_FROM_ARCANE_VIGOR castlink for deva

* rework of LeapingFlamesNormalizer

* Reworked LeapingFlames

* some minor changes

* Essence Burst abstraction (#3)

* Abstract Essence Burst links to new shared file

* Fix missing isActive for PUPIL_OF_ALEXSTRASZA_TALENT cast link

* Move Preservations EBRefreshNormalizer to shared normalizers

* Update import for Preservation

* Update eventGeneratedEB call for Anachronism

* Update function calls for LeapingFlames

* add EssenceBurstCastLinkNormalizer to preservation so LeapingFlames module can function properly

* Update Deva EssenceBurstOrder normalizer to properly catch all leaping EBs

* remove EB_FROM_ARCANE_VIGOR link from deva specific normalizer

* rename EBRefreshNormalizer to EssenceBurstRefreshNormalizer

* Add EB_FROM links to Azure Strike and Emerald Trance

* Add the new castlinks to filter and update variable naming

* add some more documentation

* emerald trance produces first EB after 5seconds

* Emerald trance should take priority over Azure Strike

* jsdoc update

* change logic for leaping hits and pupil links so we can simplify dependencies

* simplify hasNoGenerationLink to make it more streamlined to add future sources

* refactor EssenceBurstRefreshNormalizer so it removes the proper abilities

* update EssenceBurstNormalizer dependencies

* add normalizer dependency for preservation castlinknormalizer

* prettier must be satisfied!

* only check for leaping links if leaping is talented

* implement LeapingFlamesBuffNormalizer

* Implement maxLinks check for LEAPING_FLAMES_HITS cast link check

* add LeapingFlamesBuffNormalizer to combatlogparsers

* add EssenceBurstRefreshNormalizer dep to EssenceBurstCastLinkNormalizer

* remove LeapingFlamesBuffNormalizer in favor of a cast link

* yeet the logs and write some documentation

* yeet some more stuff

* add a lil more info

* yeet this export

* readability changes

* another readability change

* make this variable more descriptive

* changelog

* fix options imports to match PutPuts cleanup
@Krealle Krealle deleted the essence-burst-abstraction branch May 3, 2024 07:36
Krealle pushed a commit that referenced this pull request Dec 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant