mirror of
https://github.com/mangosfour/server.git
synced 2025-12-25 13:37:02 +00:00
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:
parent
7c485a9ccc
commit
ab2c78ba59
29 changed files with 418 additions and 210 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue