Scripts/MoltenCore: Fix boss Golemagg enrage behaviour
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user