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:
parent
114bd28538
commit
65ad14a475
2 changed files with 3 additions and 3 deletions
|
@ -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 );
|
||||||
|
|
||||||
|
|
|
@ -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.
|
||||||
|
|
Loading…
Add table
Reference in a new issue