Scripts/HallsOfLightning: Fix Volkhan spamming in chat when wiping at 10% health

Ref #23082
This commit is contained in:
jackpoz
2019-06-01 15:16:30 +02:00
parent 49a9cbf20a
commit 2d5387ea42

View File

@@ -286,6 +286,10 @@ public:
return;
}
// All the events below happen during the PHASE_NORMAL phase and shouldn't be executed before that
if (!events.IsInPhase(PHASE_NORMAL))
return;
// Health check
if (!m_bCanShatterGolem && me->HealthBelowPct(100 - 20 * m_uiHealthAmountModifier))
{