Skip to content

Commit

Permalink
[SD] Corret EscortFaction for 2917 npc_prospector_remtravel
Browse files Browse the repository at this point in the history
remtravel -> rem -> rem sleep -> passive mob sleepwalking
  • Loading branch information
AnonXS committed Nov 5, 2024
1 parent 492a0a0 commit 754b29a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/AI/ScriptDevAI/scripts/kalimdor/darkshore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ bool QuestAccept_npc_prospector_remtravel(Player* pPlayer, Creature* pCreature,
{
if (pQuest->GetQuestId() == QUEST_ABSENT_MINDED_PT2)
{
pCreature->SetFactionTemporary(FACTION_ESCORT_A_NEUTRAL_PASSIVE, TEMPFACTION_RESTORE_RESPAWN | TEMPFACTION_TOGGLE_IMMUNE_TO_NPC);
pCreature->SetFactionTemporary(FACTION_ESCORT_A_PASSIVE, TEMPFACTION_RESTORE_RESPAWN | TEMPFACTION_TOGGLE_IMMUNE_TO_NPC);

if (npc_prospector_remtravelAI* pEscortAI = dynamic_cast<npc_prospector_remtravelAI*>(pCreature->AI()))
pEscortAI->Start(false, pPlayer, pQuest, true);
Expand Down

0 comments on commit 754b29a

Please sign in to comment.