Skip to content

Commit

Permalink
[Death Knight] Frost 2H buff (simulationcraft#5747)
Browse files Browse the repository at this point in the history
Only affects direct damage
  • Loading branch information
Armadk authored Jan 15, 2021
1 parent 88df4cd commit ea891ed
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions engine/class_modules/sc_death_knight.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2832,6 +2832,15 @@ struct death_knight_action_t : public Base
this -> affected_by.dreadblade = this -> data().affected_by( p -> mastery.dreadblade -> effectN( 1 ) );

this -> affected_by.razorice = this -> data().affected_by( p -> spell.razorice_debuff -> effectN( 1 ) );

// When using a 2H, might of the frozen wastes rank 1 effect#2 buffs the direct damage, but not td
if ( p -> main_hand_weapon.group() == WEAPON_2H )
{
if ( this -> data().affected_by( p -> spec.might_of_the_frozen_wastes -> effectN( 2 ) ) )
{
this -> base_dd_multiplier *= 1.0 + p -> spec.might_of_the_frozen_wastes -> effectN( 2 ).percent();
}
}
}

death_knight_t* p() const
Expand Down

0 comments on commit ea891ed

Please sign in to comment.