Scripts/Deadmines: fixed a typo that was causing the Defias Harvester Golems to energize the Foe Reaper 5000 multiple times

This commit is contained in:
Ovahlord
2019-10-13 22:05:46 +02:00
parent 0a71e7c2c2
commit 52afc1e171

View File

@@ -53,7 +53,7 @@ struct npc_deadmines_defias_watcher : public ScriptedAI
void DamageTaken(Unit* attacker, uint32& damage) override
{
if (!_isOnFire, me->HealthBelowPctDamaged(30, damage))
if (!_isOnFire && me->HealthBelowPctDamaged(30, damage))
{
me->DeleteThreatList();
me->CombatStop();