forked from WoWAnalyzer/WoWAnalyzer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Hunter] Workaround for Volcoross having weird events
Volcoross is notoriously bad at having events that make no sense, e.g. https://www.warcraftlogs.com/reports/qpJ4tV8aYZ6CRGrL#fight=10&type=auras&source=45&ability=272790&view=events where Apply Buff events are going out without the buff expiring. This adds a new flag to the buff tracker labelled as experimental because it might have other adverse side effects and uses that to try and work around the weird events
- Loading branch information
Showing
5 changed files
with
54 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
...sis/retail/hunter/beastmastery/modules/guide/sections/rotation/FrenzyBuffStackTracker.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,22 @@ | ||
import { | ||
ORIGINAL_FRENZY_DURATION, | ||
SAVAGERY_FRENZY_DURATION, | ||
} from 'analysis/retail/hunter/beastmastery/constants'; | ||
import SPELLS from 'common/SPELLS'; | ||
import { TALENTS_HUNTER } from 'common/TALENTS'; | ||
import { Options } from 'parser/core/Analyzer'; | ||
import BuffStackTracker from 'parser/shared/modules/BuffStackTracker'; | ||
|
||
export default class FrenzyBuffStackTracker extends BuffStackTracker { | ||
static trackPets = true; | ||
static trackedBuff = SPELLS.BARBED_SHOT_PET_BUFF; | ||
static workaroundWeirdBuffEvents_experimental = true; | ||
|
||
// eslint-disable-next-line @typescript-eslint/no-useless-constructor | ||
constructor(options: Options) { | ||
super(options); | ||
this.buffDuration = this.selectedCombatant.hasTalent(TALENTS_HUNTER.SAVAGERY_TALENT) | ||
? SAVAGERY_FRENZY_DURATION | ||
: ORIGINAL_FRENZY_DURATION; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters