Skip to content

Commit

Permalink
[Death Knight] Move apply_affecting from buff list back
Browse files Browse the repository at this point in the history
  • Loading branch information
Khazakdk committed Sep 18, 2024
1 parent 3f8bf7e commit b1b73a7
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions engine/class_modules/sc_death_knight.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14186,6 +14186,11 @@ 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 );
}
}

// death_knight_t::init_gains ===============================================
Expand Down Expand Up @@ -14292,12 +14297,6 @@ 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();
Expand Down

0 comments on commit b1b73a7

Please sign in to comment.