Skip to content

Commit

Permalink
[Warlock] Destruction Diabolist does not care about shard usage (simu…
Browse files Browse the repository at this point in the history
  • Loading branch information
Azevara authored Nov 1, 2024
1 parent 4171605 commit b2291c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engine/class_modules/warlock/sc_warlock_actions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
Expand All @@ -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 )
Expand Down

0 comments on commit b2291c2

Please sign in to comment.