[Core/Script] As the crow flies, fix quest complete and remove morph at movement complete
This commit is contained in:
parent
ad3d901931
commit
e010dbf3fa
1 changed files with 7 additions and 0 deletions
|
|
@ -213,6 +213,13 @@ void WorldSession::HandleMoveSplineDoneOpcode(WorldPacket& recvData)
|
|||
movementInfo.guid = guid;
|
||||
ReadMovementInfo(recvData, &movementInfo);
|
||||
|
||||
// Fix quest "As the crow flies" - Remove morph and complete quest
|
||||
if(GetPlayer()->GetQuestStatus(9718) == QUEST_STATUS_INCOMPLETE)
|
||||
{
|
||||
GetPlayer()->CompleteQuest(9718);
|
||||
GetPlayer()->RemoveAurasDueToSpell(38776);
|
||||
}
|
||||
|
||||
recvData.read_skip<uint32>(); // spline id
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue