Skip to content

Commit

Permalink
[Death Knight] Move effect parsing back to init_finished
Browse files Browse the repository at this point in the history
  • Loading branch information
Khazakdk committed Sep 18, 2024
1 parent e2e8aa5 commit 3f8bf7e
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions engine/class_modules/sc_death_knight.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14186,13 +14186,6 @@ void death_knight_t::create_buffs()
buffs.unholy_commander = make_fallback( sets->has_set_bonus( DEATH_KNIGHT_UNHOLY, TWW1, B4 ), this,
"unholy_commander", spell.unholy_commander );

for ( auto& b : buff_list )
{
if ( b->data().ok() )
apply_affecting_auras( *b );
}

parse_player_effects();
}

// death_knight_t::init_gains ===============================================
Expand Down Expand Up @@ -14299,6 +14292,14 @@ void death_knight_t::init_procs()

void death_knight_t::init_finished()
{
for ( auto& b : buff_list )
{
if ( b->data().ok() )
apply_affecting_auras( *b );
}

parse_player_effects();

player_t::init_finished();

if ( deprecated_dnd_expression )
Expand Down

0 comments on commit 3f8bf7e

Please sign in to comment.