diff --git a/src/world/Action/Action.cpp b/src/world/Action/Action.cpp index c522015d..4d435570 100644 --- a/src/world/Action/Action.cpp +++ b/src/world/Action/Action.cpp @@ -431,7 +431,7 @@ void Action::Action::execute() if( !hasClientsideTarget() ) { - buildEffects(); + handleAction(); } else if( auto player = m_pSource->getAsPlayer() ) { @@ -501,7 +501,7 @@ std::pair< uint32_t, Common::ActionHitSeverityType > Action::Action::calcHealing return Math::CalcStats::calcActionHealing( *m_pSource, potency, wepDmg ); } -void Action::Action::buildEffects() +void Action::Action::handleAction() { snapshotAffectedActors( m_hitActors ); diff --git a/src/world/Action/Action.h b/src/world/Action/Action.h index 04468115..49d4cff2 100644 --- a/src/world/Action/Action.h +++ b/src/world/Action/Action.h @@ -105,7 +105,7 @@ namespace Sapphire::World::Action EffectBuilderPtr getEffectbuilder(); - void buildEffects(); + void handleAction(); /*! * @brief Adds an actor filter to this action.