1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-04 01:37:47 +00:00

Rename buildEffects to make more sense

This commit is contained in:
Lucy 2023-03-06 23:08:01 +01:00
parent 114bd28538
commit 65ad14a475
2 changed files with 3 additions and 3 deletions

View file

@ -431,7 +431,7 @@ void Action::Action::execute()
if( !hasClientsideTarget() ) if( !hasClientsideTarget() )
{ {
buildEffects(); handleAction();
} }
else if( auto player = m_pSource->getAsPlayer() ) 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 ); return Math::CalcStats::calcActionHealing( *m_pSource, potency, wepDmg );
} }
void Action::Action::buildEffects() void Action::Action::handleAction()
{ {
snapshotAffectedActors( m_hitActors ); snapshotAffectedActors( m_hitActors );

View file

@ -105,7 +105,7 @@ namespace Sapphire::World::Action
EffectBuilderPtr getEffectbuilder(); EffectBuilderPtr getEffectbuilder();
void buildEffects(); void handleAction();
/*! /*!
* @brief Adds an actor filter to this action. * @brief Adds an actor filter to this action.