Implemented Phase Definitions, Terrainswap and multiphasing

* fixes cataclysm aura effect SPELL_AURA_PHASE without phasemasks defined in miscValueA

NOTE:
 - Need some more test and feedback!

Thanks to:
 - Naios: Main Author
 - Cyberbrest: For the hard research work about multiphasing.
 - Venugh: He helped me with a lot of strange compile Errors.
 - Shauren: For the 4.3.4 phaseshift packet.
 - Booksize: He showed me how terrainswap works
 - Zakamurite: For Backporting some to MaNGOS
 - All other Author
This commit is contained in:
Salja 2013-12-16 14:09:19 +02:00 committed by Antz
parent 7c485a9ccc
commit ab2c78ba59
29 changed files with 418 additions and 210 deletions

View file

@ -29,6 +29,7 @@
#include "ObjectAccessor.h"
#include "ScriptMgr.h"
#include "Group.h"
#include "PhaseMgr.h"
void WorldSession::HandleQuestgiverStatusQueryOpcode(WorldPacket& recv_data)
{
@ -345,6 +346,11 @@ void WorldSession::HandleQuestLogRemoveQuest(WorldPacket& recv_data)
}
_player->SetQuestStatus(quest, QUEST_STATUS_NONE);
PhaseUpdateData phaseUdateData;
phaseUdateData.AddQuestUpdate(quest);
_player->GetPhaseMgr()->NotifyConditionChanged(phaseUdateData);
}
_player->SetQuestSlot(slot, 0);