From 65ad14a475607b4f8d7899e25487306b0f66f026 Mon Sep 17 00:00:00 2001 From: Lucy <44952533+Skyliegirl33@users.noreply.github.com> Date: Mon, 6 Mar 2023 23:08:01 +0100 Subject: [PATCH] Rename buildEffects to make more sense --- src/world/Action/Action.cpp | 4 ++-- src/world/Action/Action.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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.