Skip to content

Commit e866484

Browse files
committed
Updated Dark Transformation and AOTD to reflect the player applied buff and implemented the Cooldown Throughput Tracker
1 parent 64971cc commit e866484

File tree

2 files changed

+31
-3
lines changed

2 files changed

+31
-3
lines changed
Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,23 @@
1-
import CoreCooldownThroughputTracker from 'parser/shared/modules/CooldownThroughputTracker';
1+
import SPELLS from 'common/SPELLS/deathknight';
2+
import GameBranch from 'game/GameBranch';
3+
import CoreCooldownThroughputTracker, {
4+
BUILT_IN_SUMMARY_TYPES,
5+
} from 'parser/shared/modules/CooldownThroughputTracker';
26

37
class CooldownThroughputTracker extends CoreCooldownThroughputTracker {
4-
static cooldownSpells = [...CoreCooldownThroughputTracker.cooldownSpells];
8+
static cooldownSpells = [
9+
...CoreCooldownThroughputTracker.cooldownSpells,
10+
{
11+
spell: SPELLS.DARK_TRANSFORMATION_BUFF.id,
12+
summary: [BUILT_IN_SUMMARY_TYPES.DAMAGE],
13+
branch: GameBranch.Retail,
14+
},
15+
{
16+
spell: SPELLS.ARMY_OF_THE_DEAD_BUFF.id,
17+
summary: [BUILT_IN_SUMMARY_TYPES.DAMAGE],
18+
branch: GameBranch.Retail,
19+
},
20+
];
521
}
622

723
export default CooldownThroughputTracker;

src/common/SPELLS/deathknight.ts

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,12 +381,24 @@ const spells = {
381381
icon: 'inv12_ability_deathknight_empowereddreadplague',
382382
},
383383

384-
DARK_TRANSFORMATION_BUFF: {
384+
DARK_TRANSFORMATION_PET_BUFF: {
385385
id: 1233448,
386386
name: 'Dark Transformation',
387387
icon: 'achievement_boss_festergutrotface',
388388
},
389389

390+
DARK_TRANSFORMATION_BUFF: {
391+
id: 1235391,
392+
name: 'Dark Transformation',
393+
icon: 'achievement_boss_festergutrotface',
394+
},
395+
396+
ARMY_OF_THE_DEAD_BUFF: {
397+
id: 42650,
398+
name: 'Army of the Dead',
399+
icon: 'spell_shadow_coneofsilence',
400+
},
401+
390402
DISEASE_CLOUD: {
391403
id: 1244102,
392404
name: 'Disease Cloud',

0 commit comments

Comments
 (0)