mirror of
https://github.com/mangosfour/server.git
synced 2025-12-28 13:37:13 +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
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue