Skip to content

Commit

Permalink
add PrePullCooldowns dependecy to Channeling normalizer to ensure pro…
Browse files Browse the repository at this point in the history
…per ordering
  • Loading branch information
Krealle committed Mar 30, 2024
1 parent d75ce0a commit 440ba96
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/parser/shared/normalizers/Channeling.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import { Options } from 'parser/core/Module';
import { TALENTS_DEMON_HUNTER } from 'common/TALENTS';
import { TALENTS_PRIEST } from 'common/TALENTS';
import { playerInfo } from '../metrics/apl/conditions/test-tools';
import PrePullCooldowns from './PrePullCooldowns';

/**
* Channels and casts are handled differently in events, and some information is also missing and must be inferred.
Expand All @@ -40,6 +41,11 @@ import { playerInfo } from '../metrics/apl/conditions/test-tools';
* in events, and this normalizer allows special case handling to be registered for each.
*/
class Channeling extends EventsNormalizer {
static dependencies = {
...EventsNormalizer.dependencies,
/** We add dependency to PrePullCooldowns to ensure we also normalize fabricated pre-pull events */
prePullCooldowns: PrePullCooldowns,
};
/**
* Listing of all special case handlers for channels
*/
Expand Down

0 comments on commit 440ba96

Please sign in to comment.