Core/Script: small improvement for quest "The Hunt is On". (#17537)
Reset emotestate when the event starts.
This commit is contained in:
1 parent
92523278b2
commit
bde4176861
1 file changed
+1
-1
@@ -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