Skip to content

Commit

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

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

Please sign in to comment.