mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 17:27:36 +01:00
Core/Script: small improvement for quest "The Hunt is On". (#17537)
Reset emotestate when the event starts.
This commit is contained in:
@@ -2275,6 +2275,7 @@ public:
|
||||
{
|
||||
me->StopMoving();
|
||||
me->SetUInt32Value(UNIT_NPC_FLAGS, 0);
|
||||
me->SetUInt32Value(UNIT_NPC_EMOTESTATE, 0);
|
||||
if (Player* player = ObjectAccessor::GetPlayer(*me, uiPlayerGUID))
|
||||
me->SetFacingToObject(player);
|
||||
uiEventTimer = 3000;
|
||||
@@ -2303,7 +2304,6 @@ public:
|
||||
switch (me->GetEntry())
|
||||
{
|
||||
case NPC_SALTY_JOHN_THORPE:
|
||||
me->SetUInt32Value(UNIT_NPC_EMOTESTATE, 0);
|
||||
Talk(SAY_HIDDEN_CULTIST_1);
|
||||
uiEventTimer = 5000;
|
||||
uiEventPhase = 2;
|
||||
|
||||
Reference in New Issue
Block a user