mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-09 11:28:36 +01:00
Core/Script: update creature_text for Galvangar from sniffs
closes #4694
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user