mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-27 14:57:44 +00:00
local var rename
This commit is contained in:
parent
5cbff4f12b
commit
4b89c45790
2 changed files with 4 additions and 4 deletions
|
@ -461,7 +461,7 @@ void Action::Action::buildEffects()
|
|||
|
||||
// when aoe, these effects are in the target whatever is hit first
|
||||
bool shouldRestoreMP = true;
|
||||
bool shouldShowComboEffect = true;
|
||||
bool shouldApplyComboSucceedEffect = true;
|
||||
|
||||
for( auto& actor : m_hitActors )
|
||||
{
|
||||
|
@ -473,10 +473,10 @@ void Action::Action::buildEffects()
|
|||
if( dmg.first > 0 )
|
||||
actor->onActionHostile( m_pSource );
|
||||
|
||||
if( isCorrectCombo() && shouldShowComboEffect )
|
||||
if( isCorrectCombo() && shouldApplyComboSucceedEffect )
|
||||
{
|
||||
m_effectBuilder->comboSucceed( actor );
|
||||
shouldShowComboEffect = false;
|
||||
shouldApplyComboSucceedEffect = false;
|
||||
}
|
||||
|
||||
if( !isComboAction() || isCorrectCombo() )
|
||||
|
|
|
@ -172,7 +172,7 @@ std::shared_ptr< FFXIVPacketBase > EffectBuilder::buildNextEffectPacket( uint32_
|
|||
break;
|
||||
}
|
||||
}
|
||||
assert( effectPacket != nullptr );
|
||||
assert( effectPacket );
|
||||
|
||||
pHeader->actionId = m_actionId;
|
||||
pHeader->actionAnimationId = static_cast< uint16_t >( m_actionId );
|
||||
|
|
Loading…
Add table
Reference in a new issue