Scripts/MoltenCore: Fix boss Golemagg enrage behaviour

This commit is contained in:
Elron103
2012-09-03 01:57:01 +02:00
parent 46852a3808
commit 1e361bc43a
@@ -77,7 +77,7 @@ class boss_golemagg : public CreatureScript
void DamageTaken(Unit* /*attacker*/, uint32& /*damage*/) void DamageTaken(Unit* /*attacker*/, uint32& /*damage*/)
{ {
if (HealthBelowPct(10) || me->HasAura(SPELL_ENRAGE)) if (!HealthBelowPct(10) || me->HasAura(SPELL_ENRAGE))
return; return;
DoCast(me, SPELL_ENRAGE, true); DoCast(me, SPELL_ENRAGE, true);