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

@ -57,6 +57,7 @@
#include "GridNotifiers.h"
#include "GridNotifiersImpl.h"
#include "CellImpl.h"
#include "PhaseMgr.h"
pEffect SpellEffects[TOTAL_SPELL_EFFECTS] =
{
@ -3884,6 +3885,11 @@ void Spell::EffectClearQuest(SpellEffectEntry const* effect)
player->SetQuestStatus(quest_id, QUEST_STATUS_NONE);
player->getQuestStatusMap()[quest_id].m_rewarded = false;
PhaseUpdateData phaseUdateData;
phaseUdateData.AddQuestUpdate(quest_id);
player->GetPhaseMgr()->NotifyConditionChanged(phaseUdateData);
}
void Spell::EffectForceCast(SpellEffectEntry const* effect)