From b2291c24b5d45500314359b1f4ccf93d2e966a7f Mon Sep 17 00:00:00 2001 From: Azevara <46403881+Azevara@users.noreply.github.com> Date: Fri, 1 Nov 2024 19:41:45 -0400 Subject: [PATCH] [Warlock] Destruction Diabolist does not care about shard usage (#9730) --- engine/class_modules/warlock/sc_warlock_actions.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/class_modules/warlock/sc_warlock_actions.cpp b/engine/class_modules/warlock/sc_warlock_actions.cpp index cd1848b0e6c..55e8f03b9b8 100644 --- a/engine/class_modules/warlock/sc_warlock_actions.cpp +++ b/engine/class_modules/warlock/sc_warlock_actions.cpp @@ -198,7 +198,7 @@ using namespace helpers; if ( demonology() ) adjustment = -timespan_t::from_seconds( p()->hero.diabolic_ritual->effectN( 1 ).base_value() ) * shards_used; - if ( destruction() && shards_used > 0 ) + if ( destruction() ) adjustment = -timespan_t::from_seconds( p()->hero.diabolic_ritual->effectN( 2 ).base_value() ); if ( demonology() && p()->hero.infernal_machine.ok() && p()->warlock_pet_list.demonic_tyrants.n_active_pets() > 0 ) @@ -207,7 +207,7 @@ using namespace helpers; if ( destruction() && p()->hero.infernal_machine.ok() && p()->warlock_pet_list.infernals.n_active_pets() > 0 ) adjustment += -p()->hero.infernal_machine->effectN( 1 ).time_value(); - if ( destruction() && p()->hero.touch_of_rancora.ok() && shards_used > 0 && triggers.rancora_cb_bonus ) + if ( destruction() && p()->hero.touch_of_rancora.ok() && triggers.rancora_cb_bonus ) adjustment += -timespan_t::from_seconds( p()->hero.touch_of_rancora->effectN( 3 ).base_value() ); switch( p()->diabolic_ritual )