mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 09:17:18 +00:00
[Core/Script] As the crow flies, fix quest complete and remove morph at movement complete
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user