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 authored and killerwife committed Nov 12, 2024
1 parent 30ec2a2 commit a1f260c
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 a1f260c

Please sign in to comment.