From d901f185d17c325825d671f2a0774fc199af0de2 Mon Sep 17 00:00:00 2001 From: Khazak Date: Tue, 24 Sep 2024 12:01:42 -0500 Subject: [PATCH] [Death Knight] Shattering Blade hotfix to count razorice in the bonus --- engine/class_modules/sc_death_knight.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/engine/class_modules/sc_death_knight.cpp b/engine/class_modules/sc_death_knight.cpp index 8c5fa24f159..e1532dce6dd 100644 --- a/engine/class_modules/sc_death_knight.cpp +++ b/engine/class_modules/sc_death_knight.cpp @@ -8879,10 +8879,12 @@ struct frost_strike_strike_t final : public death_knight_melee_attack_t double composite_da_multiplier( const action_state_t* state ) const override { double m = death_knight_melee_attack_t::composite_da_multiplier( state ); + const auto ri = get_td( state->target )->debuff.razorice; if ( sb ) { m *= 1.0 + p()->talent.frost.shattering_blade->effectN( 1 ).percent(); + m *= 1.0 + ri->default_value * ri->max_stack(); } return m; @@ -8912,14 +8914,9 @@ struct frost_strike_strike_t final : public death_knight_melee_attack_t if ( weapon_hand->group() == WEAPON_1H ) { if ( weapon_hand->slot == SLOT_MAIN_HAND ) - { - trigger_shattered_frost( s->result_amount, - true /* TODO-TWW check if still bugged p()->off_hand_weapon.type == WEAPON_NONE */ ); - } - /*if ( weapon_hand->slot == SLOT_OFF_HAND ) { trigger_shattered_frost( s->result_amount, true ); - }*/ + } } }