1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-26 14:37:44 +00:00

revert sheet check for action and fix combo;

This commit is contained in:
Alice Ogeda 2022-01-13 11:45:40 -03:00
parent be8d885e39
commit 16ce89cb48

View file

@ -432,7 +432,7 @@ void Action::Action::execute()
// set currently casted action as the combo action if it interrupts a combo
// ignore it otherwise (ogcds, etc.)
if( m_actionData->data().ComboContinue )
if( !m_actionData->data().ComboContinue )
{
// potential combo starter or correct combo from last action, must hit something to progress combo
if( !m_hitActors.empty() && ( !isComboAction() || isCorrectCombo() ) )
@ -559,7 +559,7 @@ void Action::Action::buildEffects()
shouldRestoreMP = false;
}
if( m_actionData->data().ComboContinue ) // we need something like m_actionData->hasNextComboAction
if( !m_actionData->data().ComboContinue ) // we need something like m_actionData->hasNextComboAction
{
m_effectBuilder->startCombo( m_pSource, getId() ); // this is on all targets hit
}