[11958] Add support for no-fly-zone text message

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
This commit is contained in:
stfx 2012-04-13 17:41:58 +02:00 committed by Schmoozerd
parent f48a6778ce
commit 9fd41d0508
6 changed files with 14 additions and 4 deletions

View file

@ -45,6 +45,7 @@
#include "GridNotifiersImpl.h"
#include "Vehicle.h"
#include "CellImpl.h"
#include "Language.h"
#define NULL_AURA_SLOT 0xFF
@ -2147,6 +2148,9 @@ void Aura::HandleAuraDummy(bool apply, bool Real)
case 54729: // Winged Steed of the Ebon Blade
Spell::SelectMountByAreaAndSkill(target, GetSpellProto(), 0, 0, 54726, 54727, 0);
return;
case 58600: // Restricted Flight Area
target->MonsterWhisper(LANG_NO_FLY_ZONE, target, true);
return;
case 62061: // Festive Holiday Mount
if (target->HasAuraType(SPELL_AURA_MOUNTED))
// Reindeer Transformation