Skip to content

Commit

Permalink
BRD: Adjust motion type used by Nagmara & Rocknot
Browse files Browse the repository at this point in the history
Mistress Nagmara 9500 (npc_mistress_nagmara)
Private Rocknot 9503 (npc_rocknot)

cmangos/issues#3529
  • Loading branch information
MantisLord committed Feb 3, 2024
1 parent a1903d8 commit ab0a925
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -734,7 +734,7 @@ struct npc_mistress_nagmaraAI : public ScriptedAI
pRocknot->RemoveFlag(UNIT_NPC_FLAGS, UNIT_NPC_FLAG_QUESTGIVER);

m_creature->GetMotionMaster()->MoveIdle();
m_creature->GetMotionMaster()->MoveFollow(pRocknot, 2.0f, 0);
m_creature->GetMotionMaster()->MoveChase(pRocknot, 2.0f, 0);
m_uiPhase = 1;
}

Expand Down Expand Up @@ -769,7 +769,7 @@ struct npc_mistress_nagmaraAI : public ScriptedAI
m_uiPhaseTimer = 5000;
}
else
m_creature->GetMotionMaster()->MoveFollow(pRocknot, 2.0f, 0);
m_creature->GetMotionMaster()->MoveChase(pRocknot, 2.0f, 0);
break;
case 2: // Phase 2 : Nagmara is "seducing" Rocknot
DoScriptText(SAY_NAGMARA_2, m_creature);
Expand Down Expand Up @@ -952,7 +952,7 @@ struct npc_rocknotAI : public npc_escortAI
SetCurrentWaypoint(9);
}
else
pNagmara->GetMotionMaster()->MoveFollow(m_creature, 2.0f, 0);
pNagmara->GetMotionMaster()->MoveChase(m_creature, 2.0f, 0);
break;
case 17:
// Open the bar back door if relevant
Expand All @@ -963,7 +963,7 @@ struct npc_rocknotAI : public npc_escortAI
m_pInstance->SetBarDoorIsOpen();
}
if (pNagmara)
pNagmara->GetMotionMaster()->MoveFollow(m_creature, 2.0f, 0);
pNagmara->GetMotionMaster()->MoveChase(m_creature, 2.0f, 0);
break;
case 34: // Reach under the stair, make Nagmara move to her position and give the handle back to Nagmara AI script
if (!pNagmara)
Expand Down

0 comments on commit ab0a925

Please sign in to comment.