aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/EasternKingdoms/ZulAman
diff options
context:
space:
mode:
authorDehravor <dehravor@gmail.com>2014-04-29 16:35:11 +0200
committerDehravor <dehravor@gmail.com>2014-04-29 16:35:11 +0200
commit24ae6a6802da5fc3f90b075d21cd4275e7138441 (patch)
tree3501d986aaf1ec9df27a873a16bf5b3e5dac2225 /src/server/scripts/EasternKingdoms/ZulAman
parent414554aefa8af569a96c952dcf36707c9c77c7cb (diff)
Core/Misc: Remove obsolete C++11 backward compatibility macros
OVERRIDE, FINAL, DELETE_MEMBER
Diffstat (limited to 'src/server/scripts/EasternKingdoms/ZulAman')
-rw-r--r--src/server/scripts/EasternKingdoms/ZulAman/boss_akilzon.cpp24
-rw-r--r--src/server/scripts/EasternKingdoms/ZulAman/boss_halazzi.cpp32
-rw-r--r--src/server/scripts/EasternKingdoms/ZulAman/boss_hexlord.cpp76
-rw-r--r--src/server/scripts/EasternKingdoms/ZulAman/boss_janalai.cpp58
-rw-r--r--src/server/scripts/EasternKingdoms/ZulAman/boss_nalorakk.cpp18
-rw-r--r--src/server/scripts/EasternKingdoms/ZulAman/boss_zuljin.cpp28
-rw-r--r--src/server/scripts/EasternKingdoms/ZulAman/instance_zulaman.cpp20
-rw-r--r--src/server/scripts/EasternKingdoms/ZulAman/zulaman.cpp38
8 files changed, 147 insertions, 147 deletions
diff --git a/src/server/scripts/EasternKingdoms/ZulAman/boss_akilzon.cpp b/src/server/scripts/EasternKingdoms/ZulAman/boss_akilzon.cpp
index eca840dbeb2..3adca160720 100644
--- a/src/server/scripts/EasternKingdoms/ZulAman/boss_akilzon.cpp
+++ b/src/server/scripts/EasternKingdoms/ZulAman/boss_akilzon.cpp
@@ -91,7 +91,7 @@ class boss_akilzon : public CreatureScript
memset(BirdGUIDs, 0, sizeof(BirdGUIDs));
}
- void Reset() OVERRIDE
+ void Reset() override
{
_Reset();
@@ -105,7 +105,7 @@ class boss_akilzon : public CreatureScript
SetWeather(WEATHER_STATE_FINE, 0.0f);
}
- void EnterCombat(Unit* /*who*/) OVERRIDE
+ void EnterCombat(Unit* /*who*/) override
{
events.ScheduleEvent(EVENT_STATIC_DISRUPTION, urand(10000, 20000)); // 10 to 20 seconds (bosskillers)
events.ScheduleEvent(EVENT_GUST_OF_WIND, urand(20000, 30000)); // 20 to 30 seconds(bosskillers)
@@ -119,13 +119,13 @@ class boss_akilzon : public CreatureScript
instance->SetData(DATA_AKILZONEVENT, IN_PROGRESS);
}
- void JustDied(Unit* /*killer*/) OVERRIDE
+ void JustDied(Unit* /*killer*/) override
{
Talk(SAY_DEATH);
_JustDied();
}
- void KilledUnit(Unit* who) OVERRIDE
+ void KilledUnit(Unit* who) override
{
if (who->GetTypeId() == TYPEID_PLAYER)
Talk(SAY_KILL);
@@ -214,7 +214,7 @@ class boss_akilzon : public CreatureScript
events.ScheduleEvent(EVENT_STORM_SEQUENCE, 1000);
}
- void UpdateAI(uint32 diff) OVERRIDE
+ void UpdateAI(uint32 diff) override
{
if (!UpdateVictim())
return;
@@ -366,7 +366,7 @@ class boss_akilzon : public CreatureScript
bool isRaining;
};
- CreatureAI* GetAI(Creature* creature) const OVERRIDE
+ CreatureAI* GetAI(Creature* creature) const override
{
return GetInstanceAI<boss_akilzonAI>(creature);
}
@@ -385,7 +385,7 @@ class npc_akilzon_eagle : public CreatureScript
bool arrived;
uint64 TargetGUID;
- void Reset() OVERRIDE
+ void Reset() override
{
EagleSwoop_Timer = urand(5000, 10000);
arrived = true;
@@ -393,15 +393,15 @@ class npc_akilzon_eagle : public CreatureScript
me->SetDisableGravity(true);
}
- void EnterCombat(Unit* /*who*/) OVERRIDE
+ void EnterCombat(Unit* /*who*/) override
{
DoZoneInCombat();
}
- void MoveInLineOfSight(Unit* /*who*/) OVERRIDE { }
+ void MoveInLineOfSight(Unit* /*who*/) override { }
- void MovementInform(uint32, uint32) OVERRIDE
+ void MovementInform(uint32, uint32) override
{
arrived = true;
if (TargetGUID)
@@ -414,7 +414,7 @@ class npc_akilzon_eagle : public CreatureScript
}
}
- void UpdateAI(uint32 diff) OVERRIDE
+ void UpdateAI(uint32 diff) override
{
if (EagleSwoop_Timer <= diff)
EagleSwoop_Timer = 0;
@@ -448,7 +448,7 @@ class npc_akilzon_eagle : public CreatureScript
}
};
- CreatureAI* GetAI(Creature* creature) const OVERRIDE
+ CreatureAI* GetAI(Creature* creature) const override
{
return new npc_akilzon_eagleAI(creature);
}
diff --git a/src/server/scripts/EasternKingdoms/ZulAman/boss_halazzi.cpp b/src/server/scripts/EasternKingdoms/ZulAman/boss_halazzi.cpp
index 0c8eb663c9a..2da0201e060 100644
--- a/src/server/scripts/EasternKingdoms/ZulAman/boss_halazzi.cpp
+++ b/src/server/scripts/EasternKingdoms/ZulAman/boss_halazzi.cpp
@@ -91,7 +91,7 @@ class boss_halazzi : public CreatureScript
uint64 LynxGUID;
- void Reset() OVERRIDE
+ void Reset() override
{
instance->SetData(DATA_HALAZZIEVENT, NOT_STARTED);
summons.DespawnAll();
@@ -107,14 +107,14 @@ class boss_halazzi : public CreatureScript
EnterPhase(PHASE_LYNX);
}
- void EnterCombat(Unit* /*who*/) OVERRIDE
+ void EnterCombat(Unit* /*who*/) override
{
instance->SetData(DATA_HALAZZIEVENT, IN_PROGRESS);
Talk(SAY_AGGRO);
EnterPhase(PHASE_LYNX);
}
- void JustSummoned(Creature* summon) OVERRIDE
+ void JustSummoned(Creature* summon) override
{
summon->AI()->AttackStart(me->GetVictim());
if (summon->GetEntry() == NPC_SPIRIT_LYNX)
@@ -122,19 +122,19 @@ class boss_halazzi : public CreatureScript
summons.Summon(summon);
}
- void DamageTaken(Unit* /*done_by*/, uint32 &damage) OVERRIDE
+ void DamageTaken(Unit* /*done_by*/, uint32 &damage) override
{
if (damage >= me->GetHealth() && Phase != PHASE_ENRAGE)
damage = 0;
}
- void SpellHit(Unit*, const SpellInfo* spell) OVERRIDE
+ void SpellHit(Unit*, const SpellInfo* spell) override
{
if (spell->Id == SPELL_TRANSFORM_SPLIT2)
EnterPhase(PHASE_HUMAN);
}
- void AttackStart(Unit* who) OVERRIDE
+ void AttackStart(Unit* who) override
{
if (Phase != PHASE_MERGE)
ScriptedAI::AttackStart(who);
@@ -191,7 +191,7 @@ class boss_halazzi : public CreatureScript
Phase = NextPhase;
}
- void UpdateAI(uint32 diff) OVERRIDE
+ void UpdateAI(uint32 diff) override
{
if (!UpdateVictim())
return;
@@ -292,7 +292,7 @@ class boss_halazzi : public CreatureScript
DoMeleeAttackIfReady();
}
- void KilledUnit(Unit* victim) OVERRIDE
+ void KilledUnit(Unit* victim) override
{
if (victim->GetTypeId() != TYPEID_PLAYER)
return;
@@ -300,14 +300,14 @@ class boss_halazzi : public CreatureScript
Talk(SAY_KILL);
}
- void JustDied(Unit* /*killer*/) OVERRIDE
+ void JustDied(Unit* /*killer*/) override
{
instance->SetData(DATA_HALAZZIEVENT, DONE);
Talk(SAY_DEATH);
}
};
- CreatureAI* GetAI(Creature* creature) const OVERRIDE
+ CreatureAI* GetAI(Creature* creature) const override
{
return GetInstanceAI<boss_halazziAI>(creature);
}
@@ -326,27 +326,27 @@ class npc_halazzi_lynx : public CreatureScript
uint32 FrenzyTimer;
uint32 shredder_timer;
- void Reset() OVERRIDE
+ void Reset() override
{
FrenzyTimer = urand(30000, 50000); //frenzy every 30-50 seconds
shredder_timer = 4000;
}
- void DamageTaken(Unit* /*done_by*/, uint32 &damage) OVERRIDE
+ void DamageTaken(Unit* /*done_by*/, uint32 &damage) override
{
if (damage >= me->GetHealth())
damage = 0;
}
- void AttackStart(Unit* who) OVERRIDE
+ void AttackStart(Unit* who) override
{
if (!me->HasFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE))
ScriptedAI::AttackStart(who);
}
- void EnterCombat(Unit* /*who*/) OVERRIDE {/*DoZoneInCombat();*/ }
+ void EnterCombat(Unit* /*who*/) override {/*DoZoneInCombat();*/ }
- void UpdateAI(uint32 diff) OVERRIDE
+ void UpdateAI(uint32 diff) override
{
if (!UpdateVictim())
return;
@@ -368,7 +368,7 @@ class npc_halazzi_lynx : public CreatureScript
};
- CreatureAI* GetAI(Creature* creature) const OVERRIDE
+ CreatureAI* GetAI(Creature* creature) const override
{
return new npc_halazzi_lynxAI(creature);
}
diff --git a/src/server/scripts/EasternKingdoms/ZulAman/boss_hexlord.cpp b/src/server/scripts/EasternKingdoms/ZulAman/boss_hexlord.cpp
index d6c67ea2ea6..a7afa93e835 100644
--- a/src/server/scripts/EasternKingdoms/ZulAman/boss_hexlord.cpp
+++ b/src/server/scripts/EasternKingdoms/ZulAman/boss_hexlord.cpp
@@ -222,14 +222,14 @@ struct boss_hexlord_addAI : public ScriptedAI
instance = creature->GetInstanceScript();
}
- void Reset() OVERRIDE { }
+ void Reset() override { }
- void EnterCombat(Unit* /*who*/) OVERRIDE
+ void EnterCombat(Unit* /*who*/) override
{
DoZoneInCombat();
}
- void UpdateAI(uint32 /*diff*/) OVERRIDE
+ void UpdateAI(uint32 /*diff*/) override
{
if (instance->GetData(DATA_HEXLORDEVENT) != IN_PROGRESS)
{
@@ -276,7 +276,7 @@ class boss_hexlord_malacrass : public CreatureScript
uint32 PlayerClass;
- void Reset() OVERRIDE
+ void Reset() override
{
instance->SetData(DATA_HEXLORDEVENT, NOT_STARTED);
@@ -293,7 +293,7 @@ class boss_hexlord_malacrass : public CreatureScript
me->SetByteValue(UNIT_FIELD_BYTES_2, 0, SHEATH_STATE_MELEE);
}
- void EnterCombat(Unit* /*who*/) OVERRIDE
+ void EnterCombat(Unit* /*who*/) override
{
instance->SetData(DATA_HEXLORDEVENT, IN_PROGRESS);
@@ -314,7 +314,7 @@ class boss_hexlord_malacrass : public CreatureScript
}
}
- void KilledUnit(Unit* /*victim*/) OVERRIDE
+ void KilledUnit(Unit* /*victim*/) override
{
switch (urand(0, 1))
{
@@ -329,7 +329,7 @@ class boss_hexlord_malacrass : public CreatureScript
}
}
- void JustDied(Unit* /*killer*/) OVERRIDE
+ void JustDied(Unit* /*killer*/) override
{
instance->SetData(DATA_HEXLORDEVENT, DONE);
@@ -379,7 +379,7 @@ class boss_hexlord_malacrass : public CreatureScript
}
}
- void UpdateAI(uint32 diff) OVERRIDE
+ void UpdateAI(uint32 diff) override
{
if (!UpdateVictim())
return;
@@ -505,7 +505,7 @@ class boss_hexlord_malacrass : public CreatureScript
}
};
- CreatureAI* GetAI(Creature* creature) const OVERRIDE
+ CreatureAI* GetAI(Creature* creature) const override
{
return GetInstanceAI<boss_hex_lord_malacrassAI>(creature);
}
@@ -528,7 +528,7 @@ class boss_thurg : public CreatureScript
uint32 bloodlust_timer;
uint32 cleave_timer;
- void Reset() OVERRIDE
+ void Reset() override
{
bloodlust_timer = 15000;
cleave_timer = 10000;
@@ -536,7 +536,7 @@ class boss_thurg : public CreatureScript
boss_hexlord_addAI::Reset();
}
- void UpdateAI(uint32 diff) OVERRIDE
+ void UpdateAI(uint32 diff) override
{
if (!UpdateVictim())
return;
@@ -562,7 +562,7 @@ class boss_thurg : public CreatureScript
}
};
- CreatureAI* GetAI(Creature* creature) const OVERRIDE
+ CreatureAI* GetAI(Creature* creature) const override
{
return GetInstanceAI<boss_thurgAI>(creature);
}
@@ -585,7 +585,7 @@ class boss_alyson_antille : public CreatureScript
uint32 flashheal_timer;
uint32 dispelmagic_timer;
- void Reset() OVERRIDE
+ void Reset() override
{
flashheal_timer = 2500;
dispelmagic_timer = 10000;
@@ -595,7 +595,7 @@ class boss_alyson_antille : public CreatureScript
boss_hexlord_addAI::Reset();
}
- void AttackStart(Unit* who) OVERRIDE
+ void AttackStart(Unit* who) override
{
if (!who)
return;
@@ -610,7 +610,7 @@ class boss_alyson_antille : public CreatureScript
}
}
- void UpdateAI(uint32 diff) OVERRIDE
+ void UpdateAI(uint32 diff) override
{
if (!UpdateVictim())
return;
@@ -659,7 +659,7 @@ class boss_alyson_antille : public CreatureScript
}
};
- CreatureAI* GetAI(Creature* creature) const OVERRIDE
+ CreatureAI* GetAI(Creature* creature) const override
{
return GetInstanceAI<boss_alyson_antilleAI>(creature);
}
@@ -671,13 +671,13 @@ struct boss_gazakrothAI : public boss_hexlord_addAI
uint32 firebolt_timer;
- void Reset() OVERRIDE
+ void Reset() override
{
firebolt_timer = 2000;
boss_hexlord_addAI::Reset();
}
- void AttackStart(Unit* who) OVERRIDE
+ void AttackStart(Unit* who) override
{
if (!who)
return;
@@ -692,7 +692,7 @@ struct boss_gazakrothAI : public boss_hexlord_addAI
}
}
- void UpdateAI(uint32 diff) OVERRIDE
+ void UpdateAI(uint32 diff) override
{
if (!UpdateVictim())
return;
@@ -723,7 +723,7 @@ class boss_lord_raadan : public CreatureScript
uint32 flamebreath_timer;
uint32 thunderclap_timer;
- void Reset() OVERRIDE
+ void Reset() override
{
flamebreath_timer = 8000;
thunderclap_timer = 13000;
@@ -731,7 +731,7 @@ class boss_lord_raadan : public CreatureScript
boss_hexlord_addAI::Reset();
}
- void UpdateAI(uint32 diff) OVERRIDE
+ void UpdateAI(uint32 diff) override
{
if (!UpdateVictim())
return;
@@ -752,7 +752,7 @@ class boss_lord_raadan : public CreatureScript
}
};
- CreatureAI* GetAI(Creature* creature) const OVERRIDE
+ CreatureAI* GetAI(Creature* creature) const override
{
return GetInstanceAI<boss_lord_raadanAI>(creature);
}
@@ -773,12 +773,12 @@ class boss_darkheart : public CreatureScript
uint32 psychicwail_timer;
- void Reset() OVERRIDE
+ void Reset() override
{
psychicwail_timer = 8000;
boss_hexlord_addAI::Reset();
}
- void UpdateAI(uint32 diff) OVERRIDE
+ void UpdateAI(uint32 diff) override
{
if (!UpdateVictim())
return;
@@ -793,7 +793,7 @@ class boss_darkheart : public CreatureScript
}
};
- CreatureAI* GetAI(Creature* creature) const OVERRIDE
+ CreatureAI* GetAI(Creature* creature) const override
{
return GetInstanceAI<boss_darkheartAI>(creature);
}
@@ -815,13 +815,13 @@ class boss_slither : public CreatureScript
uint32 venomspit_timer;
- void Reset() OVERRIDE
+ void Reset() override
{
venomspit_timer = 5000;
boss_hexlord_addAI::Reset();
}
- void AttackStart(Unit* who) OVERRIDE
+ void AttackStart(Unit* who) override
{
if (!who)
return;
@@ -836,7 +836,7 @@ class boss_slither : public CreatureScript
}
}
- void UpdateAI(uint32 diff) OVERRIDE
+ void UpdateAI(uint32 diff) override
{
if (!UpdateVictim())
return;
@@ -852,7 +852,7 @@ class boss_slither : public CreatureScript
}
};
- CreatureAI* GetAI(Creature* creature) const OVERRIDE
+ CreatureAI* GetAI(Creature* creature) const override
{
return GetInstanceAI<boss_slitherAI>(creature);
}
@@ -873,13 +873,13 @@ class boss_fenstalker : public CreatureScript
uint32 volatileinf_timer;
- void Reset() OVERRIDE
+ void Reset() override
{
volatileinf_timer = 15000;
boss_hexlord_addAI::Reset();
}
- void UpdateAI(uint32 diff) OVERRIDE
+ void UpdateAI(uint32 diff) override
{
if (!UpdateVictim())
return;
@@ -896,7 +896,7 @@ class boss_fenstalker : public CreatureScript
}
};
- CreatureAI* GetAI(Creature* creature) const OVERRIDE
+ CreatureAI* GetAI(Creature* creature) const override
{
return GetInstanceAI<boss_fenstalkerAI>(creature);
}
@@ -918,14 +918,14 @@ class boss_koragg : public CreatureScript
uint32 coldstare_timer;
uint32 mightyblow_timer;
- void Reset() OVERRIDE
+ void Reset() override
{
coldstare_timer = 15000;
mightyblow_timer = 10000;
boss_hexlord_addAI::Reset();
}
- void UpdateAI(uint32 diff) OVERRIDE
+ void UpdateAI(uint32 diff) override
{
if (!UpdateVictim())
return;
@@ -946,7 +946,7 @@ class boss_koragg : public CreatureScript
}
};
- CreatureAI* GetAI(Creature* creature) const OVERRIDE
+ CreatureAI* GetAI(Creature* creature) const override
{
return GetInstanceAI<boss_koraggAI>(creature);
}
@@ -961,7 +961,7 @@ class spell_hexlord_unstable_affliction : public SpellScriptLoader
{
PrepareAuraScript(spell_hexlord_unstable_affliction_AuraScript);
- bool Validate(SpellInfo const* /*spell*/) OVERRIDE
+ bool Validate(SpellInfo const* /*spell*/) override
{
if (!sSpellMgr->GetSpellInfo(SPELL_WL_UNSTABLE_AFFL_DISPEL))
return false;
@@ -974,13 +974,13 @@ class spell_hexlord_unstable_affliction : public SpellScriptLoader
caster->CastSpell(dispelInfo->GetDispeller(), SPELL_WL_UNSTABLE_AFFL_DISPEL, true, NULL, GetEffect(EFFECT_0));
}
- void Register() OVERRIDE
+ void Register() override
{
AfterDispel += AuraDispelFn(spell_hexlord_unstable_affliction_AuraScript::HandleDispel);
}
};
- AuraScript* GetAuraScript() const OVERRIDE
+ AuraScript* GetAuraScript() const override
{
return new spell_hexlord_unstable_affliction_AuraScript();
}
diff --git a/src/server/scripts/EasternKingdoms/ZulAman/boss_janalai.cpp b/src/server/scripts/EasternKingdoms/ZulAman/boss_janalai.cpp
index caf54313fe7..47ca91ec591 100644
--- a/src/server/scripts/EasternKingdoms/ZulAman/boss_janalai.cpp
+++ b/src/server/scripts/EasternKingdoms/ZulAman/boss_janalai.cpp
@@ -141,7 +141,7 @@ class boss_janalai : public CreatureScript
uint64 FireBombGUIDs[40];
- void Reset() OVERRIDE
+ void Reset() override
{
instance->SetData(DATA_JANALAIEVENT, NOT_STARTED);
@@ -164,19 +164,19 @@ class boss_janalai : public CreatureScript
HatchAllEggs(1);
}
- void JustDied(Unit* /*killer*/) OVERRIDE
+ void JustDied(Unit* /*killer*/) override
{
Talk(SAY_DEATH);
instance->SetData(DATA_JANALAIEVENT, DONE);
}
- void KilledUnit(Unit* /*victim*/) OVERRIDE
+ void KilledUnit(Unit* /*victim*/) override
{
Talk(SAY_SLAY);
}
- void EnterCombat(Unit* /*who*/) OVERRIDE
+ void EnterCombat(Unit* /*who*/) override
{
instance->SetData(DATA_JANALAIEVENT, IN_PROGRESS);
@@ -184,7 +184,7 @@ class boss_janalai : public CreatureScript
// DoZoneInCombat();
}
- void DamageDealt(Unit* target, uint32 &damage, DamageEffectType /*damagetype*/) OVERRIDE
+ void DamageDealt(Unit* target, uint32 &damage, DamageEffectType /*damagetype*/) override
{
if (isFlameBreathing)
{
@@ -317,7 +317,7 @@ class boss_janalai : public CreatureScript
}
}
- void UpdateAI(uint32 diff) OVERRIDE
+ void UpdateAI(uint32 diff) override
{
if (isFlameBreathing)
{
@@ -437,7 +437,7 @@ class boss_janalai : public CreatureScript
}
};
- CreatureAI* GetAI(Creature* creature) const OVERRIDE
+ CreatureAI* GetAI(Creature* creature) const override
{
return GetInstanceAI<boss_janalaiAI>(creature);
}
@@ -456,25 +456,25 @@ class npc_janalai_firebomb : public CreatureScript
{
npc_janalai_firebombAI(Creature* creature) : ScriptedAI(creature){ }
- void Reset() OVERRIDE { }
+ void Reset() override { }
- void SpellHit(Unit* /*caster*/, const SpellInfo* spell) OVERRIDE
+ void SpellHit(Unit* /*caster*/, const SpellInfo* spell) override
{
if (spell->Id == SPELL_FIRE_BOMB_THROW)
DoCast(me, SPELL_FIRE_BOMB_DUMMY, true);
}
- void EnterCombat(Unit* /*who*/) OVERRIDE { }
+ void EnterCombat(Unit* /*who*/) override { }
- void AttackStart(Unit* /*who*/) OVERRIDE { }
+ void AttackStart(Unit* /*who*/) override { }
- void MoveInLineOfSight(Unit* /*who*/) OVERRIDE { }
+ void MoveInLineOfSight(Unit* /*who*/) override { }
- void UpdateAI(uint32 /*diff*/) OVERRIDE { }
+ void UpdateAI(uint32 /*diff*/) override { }
};
- CreatureAI* GetAI(Creature* creature) const OVERRIDE
+ CreatureAI* GetAI(Creature* creature) const override
{
return new npc_janalai_firebombAI(creature);
}
@@ -506,7 +506,7 @@ class npc_janalai_hatcher : public CreatureScript
bool hasChangedSide;
bool isHatching;
- void Reset() OVERRIDE
+ void Reset() override
{
me->SetWalk(true);
side =(me->GetPositionY() < 1150);
@@ -548,11 +548,11 @@ class npc_janalai_hatcher : public CreatureScript
return num == 0; // if num == 0, no more templist
}
- void EnterCombat(Unit* /*who*/) OVERRIDE { }
- void AttackStart(Unit* /*who*/) OVERRIDE { }
- void MoveInLineOfSight(Unit* /*who*/) OVERRIDE { }
+ void EnterCombat(Unit* /*who*/) override { }
+ void AttackStart(Unit* /*who*/) override { }
+ void MoveInLineOfSight(Unit* /*who*/) override { }
- void MovementInform(uint32, uint32) OVERRIDE
+ void MovementInform(uint32, uint32) override
{
if (waypoint == 5)
{
@@ -564,7 +564,7 @@ class npc_janalai_hatcher : public CreatureScript
WaitTimer = 1;
}
- void UpdateAI(uint32 diff) OVERRIDE
+ void UpdateAI(uint32 diff) override
{
if (!instance || !(instance->GetData(DATA_JANALAIEVENT) == IN_PROGRESS))
{
@@ -607,7 +607,7 @@ class npc_janalai_hatcher : public CreatureScript
}
};
- CreatureAI* GetAI(Creature* creature) const OVERRIDE
+ CreatureAI* GetAI(Creature* creature) const override
{
return GetInstanceAI<npc_janalai_hatcherAI>(creature);
}
@@ -632,7 +632,7 @@ class npc_janalai_hatchling : public CreatureScript
InstanceScript* instance;
uint32 BuffetTimer;
- void Reset() OVERRIDE
+ void Reset() override
{
BuffetTimer = 7000;
if (me->GetPositionY() > 1150)
@@ -643,9 +643,9 @@ class npc_janalai_hatchling : public CreatureScript
me->SetDisableGravity(true);
}
- void EnterCombat(Unit* /*who*/) OVERRIDE {/*DoZoneInCombat();*/ }
+ void EnterCombat(Unit* /*who*/) override {/*DoZoneInCombat();*/ }
- void UpdateAI(uint32 diff) OVERRIDE
+ void UpdateAI(uint32 diff) override
{
if (!instance || !(instance->GetData(DATA_JANALAIEVENT) == IN_PROGRESS))
{
@@ -666,7 +666,7 @@ class npc_janalai_hatchling : public CreatureScript
}
};
- CreatureAI* GetAI(Creature* creature) const OVERRIDE
+ CreatureAI* GetAI(Creature* creature) const override
{
return GetInstanceAI<npc_janalai_hatchlingAI>(creature);
}
@@ -677,7 +677,7 @@ class npc_janalai_egg : public CreatureScript
public:
npc_janalai_egg(): CreatureScript("npc_janalai_egg") { }
- CreatureAI* GetAI(Creature* creature) const OVERRIDE
+ CreatureAI* GetAI(Creature* creature) const override
{
return new npc_janalai_eggAI(creature);
}
@@ -686,11 +686,11 @@ public:
{
npc_janalai_eggAI(Creature* creature) : ScriptedAI(creature){ }
- void Reset() OVERRIDE { }
+ void Reset() override { }
- void UpdateAI(uint32 /*diff*/) OVERRIDE { }
+ void UpdateAI(uint32 /*diff*/) override { }
- void SpellHit(Unit* /*caster*/, const SpellInfo* spell) OVERRIDE
+ void SpellHit(Unit* /*caster*/, const SpellInfo* spell) override
{
if (spell->Id == SPELL_HATCH_EGG)
{
diff --git a/src/server/scripts/EasternKingdoms/ZulAman/boss_nalorakk.cpp b/src/server/scripts/EasternKingdoms/ZulAman/boss_nalorakk.cpp
index edf3196104e..4909074b059 100644
--- a/src/server/scripts/EasternKingdoms/ZulAman/boss_nalorakk.cpp
+++ b/src/server/scripts/EasternKingdoms/ZulAman/boss_nalorakk.cpp
@@ -133,7 +133,7 @@ class boss_nalorakk : public CreatureScript
uint32 MovePhase;
uint32 waitTimer;
- void Reset() OVERRIDE
+ void Reset() override
{
if (MoveEvent)
{
@@ -192,13 +192,13 @@ class boss_nalorakk : public CreatureScript
}
}
- void AttackStart(Unit* who) OVERRIDE
+ void AttackStart(Unit* who) override
{
if (!MoveEvent)
ScriptedAI::AttackStart(who);
}
- void MoveInLineOfSight(Unit* who) OVERRIDE
+ void MoveInLineOfSight(Unit* who) override
{
if (!MoveEvent)
@@ -272,7 +272,7 @@ class boss_nalorakk : public CreatureScript
}
}
- void EnterCombat(Unit* /*who*/) OVERRIDE
+ void EnterCombat(Unit* /*who*/) override
{
instance->SetData(DATA_NALORAKKEVENT, IN_PROGRESS);
@@ -281,7 +281,7 @@ class boss_nalorakk : public CreatureScript
DoZoneInCombat();
}
- void JustDied(Unit* /*killer*/) OVERRIDE
+ void JustDied(Unit* /*killer*/) override
{
instance->SetData(DATA_NALORAKKEVENT, DONE);
@@ -289,7 +289,7 @@ class boss_nalorakk : public CreatureScript
DoPlaySoundToSet(me, SOUND_YELL_DEATH);
}
- void KilledUnit(Unit* /*victim*/) OVERRIDE
+ void KilledUnit(Unit* /*victim*/) override
{
switch (urand(0, 1))
{
@@ -304,7 +304,7 @@ class boss_nalorakk : public CreatureScript
}
}
- void MovementInform(uint32 type, uint32 id) OVERRIDE
+ void MovementInform(uint32 type, uint32 id) override
{
if (MoveEvent)
{
@@ -344,7 +344,7 @@ class boss_nalorakk : public CreatureScript
}
}
- void UpdateAI(uint32 diff) OVERRIDE
+ void UpdateAI(uint32 diff) override
{
if (waitTimer && inMove)
{
@@ -448,7 +448,7 @@ class boss_nalorakk : public CreatureScript
}
};
- CreatureAI* GetAI(Creature* creature) const OVERRIDE
+ CreatureAI* GetAI(Creature* creature) const override
{
return GetInstanceAI<boss_nalorakkAI>(creature);
}
diff --git a/src/server/scripts/EasternKingdoms/ZulAman/boss_zuljin.cpp b/src/server/scripts/EasternKingdoms/ZulAman/boss_zuljin.cpp
index d3f724ad539..179b29b70d8 100644
--- a/src/server/scripts/EasternKingdoms/ZulAman/boss_zuljin.cpp
+++ b/src/server/scripts/EasternKingdoms/ZulAman/boss_zuljin.cpp
@@ -167,7 +167,7 @@ class boss_zuljin : public CreatureScript
SummonList Summons;
- void Reset() OVERRIDE
+ void Reset() override
{
instance->SetData(DATA_ZULJINEVENT, NOT_STARTED);
@@ -203,7 +203,7 @@ class boss_zuljin : public CreatureScript
//me->SetByteValue(UNIT_FIELD_BYTES_2, 0, SHEATH_STATE_MELEE);
}
- void EnterCombat(Unit* /*who*/) OVERRIDE
+ void EnterCombat(Unit* /*who*/) override
{
instance->SetData(DATA_ZULJINEVENT, IN_PROGRESS);
@@ -214,7 +214,7 @@ class boss_zuljin : public CreatureScript
EnterPhase(0);
}
- void KilledUnit(Unit* /*victim*/) OVERRIDE
+ void KilledUnit(Unit* /*victim*/) override
{
if (Intro_Timer)
return;
@@ -222,7 +222,7 @@ class boss_zuljin : public CreatureScript
Talk(YELL_KILL);
}
- void JustDied(Unit* /*killer*/) OVERRIDE
+ void JustDied(Unit* /*killer*/) override
{
instance->SetData(DATA_ZULJINEVENT, DONE);
@@ -233,7 +233,7 @@ class boss_zuljin : public CreatureScript
Temp->SetUInt32Value(UNIT_FIELD_BYTES_1, UNIT_STAND_STATE_DEAD);
}
- void AttackStart(Unit* who) OVERRIDE
+ void AttackStart(Unit* who) override
{
if (Phase == 2)
AttackStartNoMove(who);
@@ -294,12 +294,12 @@ class boss_zuljin : public CreatureScript
}
}
- void JustSummoned(Creature* summon) OVERRIDE
+ void JustSummoned(Creature* summon) override
{
Summons.Summon(summon);
}
- void SummonedCreatureDespawn(Creature* summon) OVERRIDE
+ void SummonedCreatureDespawn(Creature* summon) override
{
Summons.Despawn(summon);
}
@@ -360,7 +360,7 @@ class boss_zuljin : public CreatureScript
Phase = NextPhase;
}
- void UpdateAI(uint32 diff) OVERRIDE
+ void UpdateAI(uint32 diff) override
{
if (!TankGUID)
{
@@ -551,7 +551,7 @@ class boss_zuljin : public CreatureScript
}
};
- CreatureAI* GetAI(Creature* creature) const OVERRIDE
+ CreatureAI* GetAI(Creature* creature) const override
{
return GetInstanceAI<boss_zuljinAI>(creature);
}
@@ -570,17 +570,17 @@ class npc_zuljin_vortex : public CreatureScript
{
npc_zuljin_vortexAI(Creature* creature) : ScriptedAI(creature) { }
- void Reset() OVERRIDE { }
+ void Reset() override { }
- void EnterCombat(Unit* /*target*/) OVERRIDE { }
+ void EnterCombat(Unit* /*target*/) override { }
- void SpellHit(Unit* caster, const SpellInfo* spell) OVERRIDE
+ void SpellHit(Unit* caster, const SpellInfo* spell) override
{
if (spell->Id == SPELL_ZAP_INFORM)
DoCast(caster, SPELL_ZAP_DAMAGE, true);
}
- void UpdateAI(uint32 /*diff*/) OVERRIDE
+ void UpdateAI(uint32 /*diff*/) override
{
//if the vortex reach the target, it change his target to another player
if (me->IsWithinMeleeRange(me->GetVictim()))
@@ -588,7 +588,7 @@ class npc_zuljin_vortex : public CreatureScript
}
};
- CreatureAI* GetAI(Creature* creature) const OVERRIDE
+ CreatureAI* GetAI(Creature* creature) const override
{
return new npc_zuljin_vortexAI(creature);
}
diff --git a/src/server/scripts/EasternKingdoms/ZulAman/instance_zulaman.cpp b/src/server/scripts/EasternKingdoms/ZulAman/instance_zulaman.cpp
index 2347de4fa66..64ffddbbb6e 100644
--- a/src/server/scripts/EasternKingdoms/ZulAman/instance_zulaman.cpp
+++ b/src/server/scripts/EasternKingdoms/ZulAman/instance_zulaman.cpp
@@ -90,7 +90,7 @@ class instance_zulaman : public InstanceMapScript
uint32 m_auiEncounter[MAX_ENCOUNTER];
uint32 RandVendor[RAND_VENDOR];
- void Initialize() OVERRIDE
+ void Initialize() override
{
memset(&m_auiEncounter, 0, sizeof(m_auiEncounter));
@@ -119,7 +119,7 @@ class instance_zulaman : public InstanceMapScript
m_auiEncounter[DATA_GONGEVENT] = NOT_STARTED;
}
- bool IsEncounterInProgress() const OVERRIDE
+ bool IsEncounterInProgress() const override
{
for (uint8 i = 0; i < MAX_ENCOUNTER; ++i)
if (m_auiEncounter[i] == IN_PROGRESS)
@@ -134,7 +134,7 @@ class instance_zulaman : public InstanceMapScript
instance->SummonCreature(NPC_HARRISON_JONES, HarrisonJonesLoc);
}
- void OnCreatureCreate(Creature* creature) OVERRIDE
+ void OnCreatureCreate(Creature* creature) override
{
switch (creature->GetEntry())
{
@@ -151,7 +151,7 @@ class instance_zulaman : public InstanceMapScript
}
}
- void OnGameObjectCreate(GameObject* go) OVERRIDE
+ void OnGameObjectCreate(GameObject* go) override
{
switch (go->GetEntry())
{
@@ -201,7 +201,7 @@ class instance_zulaman : public InstanceMapScript
HandleGameObject(ZulJinGateGUID, true);
}
- std::string GetSaveData() OVERRIDE
+ std::string GetSaveData() override
{
OUT_SAVE_INST_DATA;
@@ -231,7 +231,7 @@ class instance_zulaman : public InstanceMapScript
} else TC_LOG_ERROR("scripts", "Zul'aman: corrupted save data.");
}
- void SetData(uint32 type, uint32 data) OVERRIDE
+ void SetData(uint32 type, uint32 data) override
{
switch (type)
{
@@ -313,7 +313,7 @@ class instance_zulaman : public InstanceMapScript
}
}
- uint32 GetData(uint32 type) const OVERRIDE
+ uint32 GetData(uint32 type) const override
{
switch (type)
{
@@ -331,7 +331,7 @@ class instance_zulaman : public InstanceMapScript
}
}
- void Update(uint32 diff) OVERRIDE
+ void Update(uint32 diff) override
{
if (QuestMinute)
{
@@ -350,7 +350,7 @@ class instance_zulaman : public InstanceMapScript
}
}
- uint64 GetData64(uint32 type) const OVERRIDE
+ uint64 GetData64(uint32 type) const override
{
switch (type)
{
@@ -365,7 +365,7 @@ class instance_zulaman : public InstanceMapScript
};
- InstanceScript* GetInstanceScript(InstanceMap* map) const OVERRIDE
+ InstanceScript* GetInstanceScript(InstanceMap* map) const override
{
return new instance_zulaman_InstanceMapScript(map);
}
diff --git a/src/server/scripts/EasternKingdoms/ZulAman/zulaman.cpp b/src/server/scripts/EasternKingdoms/ZulAman/zulaman.cpp
index e51bcfc70ba..b2eec0574f3 100644
--- a/src/server/scripts/EasternKingdoms/ZulAman/zulaman.cpp
+++ b/src/server/scripts/EasternKingdoms/ZulAman/zulaman.cpp
@@ -68,9 +68,9 @@ class npc_forest_frog : public CreatureScript
InstanceScript* instance;
- void Reset() OVERRIDE { }
+ void Reset() override { }
- void EnterCombat(Unit* /*who*/) OVERRIDE { }
+ void EnterCombat(Unit* /*who*/) override { }
void DoSpawnRandom()
{
@@ -100,7 +100,7 @@ class npc_forest_frog : public CreatureScript
if (cEntry == 24409) instance->SetData(TYPE_RAND_VENDOR_2, DONE);
}
- void SpellHit(Unit* caster, const SpellInfo* spell) OVERRIDE
+ void SpellHit(Unit* caster, const SpellInfo* spell) override
{
if (spell->Id == SPELL_REMOVE_AMANI_CURSE && caster->GetTypeId() == TYPEID_PLAYER && me->GetEntry() == NPC_FOREST_FROG)
{
@@ -111,7 +111,7 @@ class npc_forest_frog : public CreatureScript
}
};
- CreatureAI* GetAI(Creature* creature) const OVERRIDE
+ CreatureAI* GetAI(Creature* creature) const override
{
return GetInstanceAI<npc_forest_frogAI>(creature);
}
@@ -141,36 +141,36 @@ class npc_zulaman_hostage : public CreatureScript
bool IsLoot;
uint64 PlayerGUID;
- void Reset() OVERRIDE { }
+ void Reset() override { }
- void EnterCombat(Unit* /*who*/) OVERRIDE { }
+ void EnterCombat(Unit* /*who*/) override { }
- void JustDied(Unit* /*killer*/) OVERRIDE
+ void JustDied(Unit* /*killer*/) override
{
if (Player* player = ObjectAccessor::GetPlayer(*me, PlayerGUID))
player->SendLoot(me->GetGUID(), LOOT_CORPSE);
}
- void UpdateAI(uint32 /*diff*/) OVERRIDE
+ void UpdateAI(uint32 /*diff*/) override
{
if (IsLoot)
DoCast(me, 7, false);
}
};
- CreatureAI* GetAI(Creature* creature) const OVERRIDE
+ CreatureAI* GetAI(Creature* creature) const override
{
return new npc_zulaman_hostageAI(creature);
}
- bool OnGossipHello(Player* player, Creature* creature) OVERRIDE
+ bool OnGossipHello(Player* player, Creature* creature) override
{
player->ADD_GOSSIP_ITEM(GOSSIP_ICON_CHAT, GOSSIP_HOSTAGE1, GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF + 1);
player->SEND_GOSSIP_MENU(player->GetGossipTextId(creature), creature->GetGUID());
return true;
}
- bool OnGossipSelect(Player* player, Creature* creature, uint32 /*sender*/, uint32 action) OVERRIDE
+ bool OnGossipSelect(Player* player, Creature* creature, uint32 /*sender*/, uint32 action) override
{
player->PlayerTalkClass->ClearMenus();
@@ -285,16 +285,16 @@ class npc_harrison_jones : public CreatureScript
uint32 _gongTimer;
uint64 uiTargetGUID;
- void Reset() OVERRIDE
+ void Reset() override
{
_gongEvent = 0;
_gongTimer = 0;
uiTargetGUID = 0;
}
- void EnterCombat(Unit* /*who*/) OVERRIDE { }
+ void EnterCombat(Unit* /*who*/) override { }
- void sGossipSelect(Player* player, uint32 sender, uint32 action) OVERRIDE
+ void sGossipSelect(Player* player, uint32 sender, uint32 action) override
{
if (me->GetCreatureTemplate()->GossipMenuId == sender && !action)
{
@@ -307,7 +307,7 @@ class npc_harrison_jones : public CreatureScript
}
}
- void SpellHit(Unit*, const SpellInfo* spell) OVERRIDE
+ void SpellHit(Unit*, const SpellInfo* spell) override
{
if (spell->Id == SPELL_COSMETIC_SPEAR_THROW)
{
@@ -321,7 +321,7 @@ class npc_harrison_jones : public CreatureScript
}
}
- void UpdateAI(uint32 diff) OVERRIDE
+ void UpdateAI(uint32 diff) override
{
if (_gongEvent)
{
@@ -451,7 +451,7 @@ class npc_harrison_jones : public CreatureScript
}
};
- CreatureAI* GetAI(Creature* creature) const OVERRIDE
+ CreatureAI* GetAI(Creature* creature) const override
{
return GetInstanceAI<npc_harrison_jonesAI>(creature);
}
@@ -472,13 +472,13 @@ class spell_banging_the_gong : public SpellScriptLoader
GetHitGObj()->SendCustomAnim(0);
}
- void Register() OVERRIDE
+ void Register() override
{
OnEffectHitTarget += SpellEffectFn(spell_banging_the_gong_SpellScript::Activate, EFFECT_1, SPELL_EFFECT_ACTIVATE_OBJECT);
}
};
- SpellScript* GetSpellScript() const OVERRIDE
+ SpellScript* GetSpellScript() const override
{
return new spell_banging_the_gong_SpellScript();
}