Core/Script: update creature_text for Galvangar from sniffs

closes #4694
This commit is contained in:
malcrom
2012-01-08 11:47:41 +01:00
committed by ZxBiohazardZx
parent b6f9caff6b
commit 2ba7cfacca
2 changed files with 15 additions and 4 deletions

View File

@@ -28,8 +28,8 @@ enum Spells
enum Yells
{
YELL_AGGRO = -1810021,
YELL_EVADE = -1810022
YELL_AGGRO = 0,
YELL_EVADE = 1
};
class boss_galvangar : public CreatureScript
@@ -60,7 +60,7 @@ public:
void EnterCombat(Unit* /*who*/)
{
DoScriptText(YELL_AGGRO, me);
Talk(YELL_AGGRO);
}
void JustRespawned()
@@ -109,7 +109,7 @@ public:
if (me->GetDistance2d(me->GetHomePosition().GetPositionX(), me->GetHomePosition().GetPositionY()) > 50)
{
EnterEvadeMode();
DoScriptText(YELL_EVADE, me);
Talk(YELL_EVADE);
}
ResetTimer = 5 * IN_MILLISECONDS;
} else ResetTimer -= diff;