diff --git a/src/Battling/Flow/TurnHandler.cpp b/src/Battling/Flow/TurnHandler.cpp index e3891e2..e65e438 100644 --- a/src/Battling/Flow/TurnHandler.cpp +++ b/src/Battling/Flow/TurnHandler.cpp @@ -141,13 +141,13 @@ void TurnHandler::HandleAttackForTarget(ExecutingAttack &attack, Creature *targe bool preventSecondary = false; HOOK(PreventSecondaryEffects, targetSources, &attack, target, hitIndex, preventSecondary); if (!preventSecondary){ - //HOOK: On Move Hit + HOOK(OnSecondaryEffect, attackSource, &attack, target, hitIndex); } } } } - if (!user->IsFainted()) + if (!user->IsFainted()){ HOOK(OnAfterHits, userSources, &attack, target); } }