@@ -8420,6 +8420,13 @@ struct pestilence_t final : public death_knight_spell_t
84208420 }
84218421 }
84228422
8423+ void init_finished() override
8424+ {
8425+ death_knight_spell_t::init_finished();
8426+ cooldown->set_max_charges( 1 );
8427+ cooldown->duration = 0_ms;
8428+ }
8429+
84238430 void execute() override
84248431 {
84258432 death_knight_spell_t::execute();
@@ -8490,7 +8497,7 @@ struct dark_transformation_t : public death_knight_spell_t
84908497
84918498 if ( p->talent.sanlayn.the_blood_is_life.ok() )
84928499 {
8493- p->pets.blood_beast.set_creation_event_callback( pets::parent_pet_action_fn( p->pet_summon.blood_beast ) );
8500+ p->pets.blood_beast.set_creation_event_callback( pets::parent_pet_action_fn( p->pet_summon.blood_beast ) );
84948501 add_child( p->pet_summon.blood_beast );
84958502 p->pet_summon.blood_beast->add_child( p->background_actions.the_blood_is_life );
84968503 }
@@ -8502,6 +8509,8 @@ struct dark_transformation_t : public death_knight_spell_t
85028509 void execute() override
85038510 {
85048511 death_knight_spell_t::execute();
8512+ if ( was_replaced )
8513+ return;
85058514
85068515 p()->pets.ghoul_pet.active_pet()->resource_gain( RESOURCE_ENERGY,
85078516 p()->talent.unholy.dark_transformation->effectN( 4 ).resource(),
@@ -8539,6 +8548,9 @@ struct dark_transformation_t : public death_knight_spell_t
85398548
85408549 bool ready() override
85418550 {
8551+ if ( p()->buffs.pestilence->check() && p()->sim->dbc->wowv() >= wowv_t( 12, 0, 5 ) )
8552+ return death_knight_spell_t::ready();
8553+
85428554 if ( p()->pets.ghoul_pet.active_pet() == nullptr || p()->pets.ghoul_pet.active_pet()->is_sleeping() )
85438555 return false;
85448556
0 commit comments