Skip to content

Commit

Permalink
Revert "[Shaman] Surging Totem refresh eats the initial Tremor pulse"
Browse files Browse the repository at this point in the history
This reverts commit afcdd94.
  • Loading branch information
navv1234 committed Dec 2, 2024
1 parent f5756bc commit 4e59095
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions engine/class_modules/sc_shaman.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -471,9 +471,6 @@ struct shaman_t : public player_t
// Attempts, successes
std::vector<std::tuple<simple_sample_data_t, simple_sample_data_t>> flowing_spirits_procs;

// Surging Totem Despawn time, required for refresh cases to suppress t=0 bolt
timespan_t surging_totem_despawn;

// Cached actions
struct actions_t
{
Expand Down Expand Up @@ -9927,10 +9924,7 @@ struct surging_totem_t : public spell_totem_pet_t
{
spell_totem_pet_t::summon( duration );

if ( o()->surging_totem_despawn < sim->current_time() )
{
pulse_action->execute_on_target( target );
}
pulse_action->execute_on_target( target );
}

void demise() override
Expand Down Expand Up @@ -14508,7 +14502,6 @@ void shaman_t::reset()
}

active_flowing_spirits_proc = 0U;
surging_totem_despawn = timespan_t::min();
}


Expand Down Expand Up @@ -15301,10 +15294,6 @@ shaman_t::pets_t::pets_t( shaman_t* s ) :
lightning_wolves.set_event_callback( { spawner::pet_event_type::ARISE, spawner::pet_event_type::DEMISE }, event_fn );

surging_totem.set_max_pets( 1U );
surging_totem.set_event_callback( spawner::pet_event_type::DESPAWN,
[ s ]( spawner::pet_event_type, spell_totem_pet_t* ) {
s->surging_totem_despawn = s->sim->current_time();
});
}

} // namespace
Expand Down

0 comments on commit 4e59095

Please sign in to comment.