mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-23 05:36:23 +00:00
[Core/Script] As the crow flies - delete horrible hack and properly fix
This commit is contained in:
@@ -213,13 +213,6 @@ 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
|
||||
}
|
||||
|
||||
|
||||
@@ -3238,6 +3238,9 @@ void SpellMgr::LoadDbcDataCorrections()
|
||||
|
||||
switch (spellInfo->Id)
|
||||
{
|
||||
case 38776: // Evergrove Druid Transform Crow
|
||||
spellInfo->DurationIndex = 4; // 120 seconds
|
||||
break;
|
||||
case 63026: // Force Cast (HACK: Target shouldn't be changed)
|
||||
case 63137: // Force Cast (HACK: Target shouldn't be changed; summon position should be untied from spell destination)
|
||||
spellInfo->EffectImplicitTargetA[EFFECT_0] = TARGET_DEST_DB;
|
||||
|
||||
Reference in New Issue
Block a user