Skip to content

Commit fa3734c

Browse files
authored
fix(Scripts/BoreanTundra): Set Last Rites NPCs Active during event so it progresses without requiring player nearby (azerothcore#24538)
1 parent ae34d41 commit fa3734c

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/server/scripts/Northrend/zone_borean_tundra.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1472,6 +1472,11 @@ class npc_thassarian2 : public CreatureScript
14721472
me->SetUInt32Value(UNIT_NPC_EMOTESTATE, EMOTE_STATE_READY1H);
14731473
_events.ScheduleEvent(EVENT_THASSARIAN_SCRIPT_1, 2s);
14741474
}
1475+
else if (type == POINT_MOTION_TYPE && param == 0)
1476+
{
1477+
if (Creature* talbot = ObjectAccessor::GetCreature(*me, _talbotGUID))
1478+
me->SetFacingToObject(talbot);
1479+
}
14751480
}
14761481

14771482
void UpdateAI(uint32 diff) override
@@ -1804,6 +1809,7 @@ class npc_thassarian2 : public CreatureScript
18041809
{
18051810
if (action == 0)
18061811
{
1812+
me->setActive(true);
18071813
_playerGUID = player->GetGUID();
18081814
CloseGossipMenuFor(player);
18091815
me->RemoveNpcFlag(UNIT_NPC_FLAG_GOSSIP);

0 commit comments

Comments
 (0)