aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/EasternKingdoms/ScarletMonastery
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/ScarletMonastery
parent414554aefa8af569a96c952dcf36707c9c77c7cb (diff)
Core/Misc: Remove obsolete C++11 backward compatibility macros
OVERRIDE, FINAL, DELETE_MEMBER
Diffstat (limited to 'src/server/scripts/EasternKingdoms/ScarletMonastery')
-rw-r--r--src/server/scripts/EasternKingdoms/ScarletMonastery/boss_arcanist_doan.cpp8
-rw-r--r--src/server/scripts/EasternKingdoms/ScarletMonastery/boss_azshir_the_sleepless.cpp8
-rw-r--r--src/server/scripts/EasternKingdoms/ScarletMonastery/boss_bloodmage_thalnos.cpp10
-rw-r--r--src/server/scripts/EasternKingdoms/ScarletMonastery/boss_headless_horseman.cpp64
-rw-r--r--src/server/scripts/EasternKingdoms/ScarletMonastery/boss_herod.cpp22
-rw-r--r--src/server/scripts/EasternKingdoms/ScarletMonastery/boss_high_inquisitor_fairbanks.cpp8
-rw-r--r--src/server/scripts/EasternKingdoms/ScarletMonastery/boss_houndmaster_loksey.cpp8
-rw-r--r--src/server/scripts/EasternKingdoms/ScarletMonastery/boss_interrogator_vishas.cpp12
-rw-r--r--src/server/scripts/EasternKingdoms/ScarletMonastery/boss_mograine_and_whitemane.cpp30
-rw-r--r--src/server/scripts/EasternKingdoms/ScarletMonastery/boss_scorn.cpp8
-rw-r--r--src/server/scripts/EasternKingdoms/ScarletMonastery/instance_scarlet_monastery.cpp14
11 files changed, 96 insertions, 96 deletions
diff --git a/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_arcanist_doan.cpp b/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_arcanist_doan.cpp
index 5370adf8384..787bf7584e5 100644
--- a/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_arcanist_doan.cpp
+++ b/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_arcanist_doan.cpp
@@ -46,7 +46,7 @@ class boss_arcanist_doan : public CreatureScript
public:
boss_arcanist_doan() : CreatureScript("boss_arcanist_doan") { }
- CreatureAI* GetAI(Creature* creature) const OVERRIDE
+ CreatureAI* GetAI(Creature* creature) const override
{
return new boss_arcanist_doanAI(creature);
}
@@ -61,7 +61,7 @@ public:
bool bCanDetonate;
bool bShielded;
- void Reset() OVERRIDE
+ void Reset() override
{
Polymorph_Timer = 20000;
AoESilence_Timer = 15000;
@@ -70,12 +70,12 @@ public:
bShielded = false;
}
- void EnterCombat(Unit* /*who*/) OVERRIDE
+ void EnterCombat(Unit* /*who*/) override
{
Talk(SAY_AGGRO);
}
- void UpdateAI(uint32 diff) OVERRIDE
+ void UpdateAI(uint32 diff) override
{
if (!UpdateVictim())
return;
diff --git a/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_azshir_the_sleepless.cpp b/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_azshir_the_sleepless.cpp
index edcc78ca8fe..dd173c75232 100644
--- a/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_azshir_the_sleepless.cpp
+++ b/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_azshir_the_sleepless.cpp
@@ -38,7 +38,7 @@ class boss_azshir_the_sleepless : public CreatureScript
public:
boss_azshir_the_sleepless() : CreatureScript("boss_azshir_the_sleepless") { }
- CreatureAI* GetAI(Creature* creature) const OVERRIDE
+ CreatureAI* GetAI(Creature* creature) const override
{
return new boss_azshir_the_sleeplessAI(creature);
}
@@ -51,16 +51,16 @@ public:
uint32 CallOftheGrave_Timer;
uint32 Terrify_Timer;
- void Reset() OVERRIDE
+ void Reset() override
{
SoulSiphon_Timer = 1;
CallOftheGrave_Timer = 30000;
Terrify_Timer = 20000;
}
- void EnterCombat(Unit* /*who*/) OVERRIDE { }
+ void EnterCombat(Unit* /*who*/) override { }
- void UpdateAI(uint32 diff) OVERRIDE
+ void UpdateAI(uint32 diff) override
{
if (!UpdateVictim())
return;
diff --git a/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_bloodmage_thalnos.cpp b/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_bloodmage_thalnos.cpp
index a7db667ecfd..207c12f608a 100644
--- a/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_bloodmage_thalnos.cpp
+++ b/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_bloodmage_thalnos.cpp
@@ -46,7 +46,7 @@ class boss_bloodmage_thalnos : public CreatureScript
public:
boss_bloodmage_thalnos() : CreatureScript("boss_bloodmage_thalnos") { }
- CreatureAI* GetAI(Creature* creature) const OVERRIDE
+ CreatureAI* GetAI(Creature* creature) const override
{
return new boss_bloodmage_thalnosAI(creature);
}
@@ -61,7 +61,7 @@ public:
uint32 FlameSpike_Timer;
uint32 FireNova_Timer;
- void Reset() OVERRIDE
+ void Reset() override
{
HpYell = false;
FlameShock_Timer = 10000;
@@ -70,17 +70,17 @@ public:
FireNova_Timer = 40000;
}
- void EnterCombat(Unit* /*who*/) OVERRIDE
+ void EnterCombat(Unit* /*who*/) override
{
Talk(SAY_AGGRO);
}
- void KilledUnit(Unit* /*Victim*/) OVERRIDE
+ void KilledUnit(Unit* /*Victim*/) override
{
Talk(SAY_KILL);
}
- void UpdateAI(uint32 diff) OVERRIDE
+ void UpdateAI(uint32 diff) override
{
if (!UpdateVictim())
return;
diff --git a/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_headless_horseman.cpp b/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_headless_horseman.cpp
index ad87b2d8d3d..423f8f26130 100644
--- a/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_headless_horseman.cpp
+++ b/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_headless_horseman.cpp
@@ -146,7 +146,7 @@ class npc_wisp_invis : public CreatureScript
public:
npc_wisp_invis() : CreatureScript("npc_wisp_invis") { }
- CreatureAI* GetAI(Creature* creature) const OVERRIDE
+ CreatureAI* GetAI(Creature* creature) const override
{
return new npc_wisp_invisAI(creature);
}
@@ -162,8 +162,8 @@ public:
uint32 delay;
uint32 spell;
uint32 spell2;
- void Reset() OVERRIDE { }
- void EnterCombat(Unit* /*who*/) OVERRIDE { }
+ void Reset() override { }
+ void EnterCombat(Unit* /*who*/) override { }
void SetType(uint32 _type)
{
switch (Creaturetype = _type)
@@ -189,13 +189,13 @@ public:
DoCast(me, spell);
}
- void SpellHit(Unit* /*caster*/, const SpellInfo* spell) OVERRIDE
+ void SpellHit(Unit* /*caster*/, const SpellInfo* spell) override
{
if (spell->Id == SPELL_WISP_FLIGHT_PORT && Creaturetype == 4)
me->SetDisplayId(2027);
}
- void MoveInLineOfSight(Unit* who) OVERRIDE
+ void MoveInLineOfSight(Unit* who) override
{
if (!who || Creaturetype != 1 || !who->isTargetableForAttack())
@@ -205,7 +205,7 @@ public:
DoCast(who, SPELL_SQUASH_SOUL);
}
- void UpdateAI(uint32 diff) OVERRIDE
+ void UpdateAI(uint32 diff) override
{
if (delay)
{
@@ -226,7 +226,7 @@ class npc_head : public CreatureScript
public:
npc_head() : CreatureScript("npc_head") { }
- CreatureAI* GetAI(Creature* creature) const OVERRIDE
+ CreatureAI* GetAI(Creature* creature) const override
{
return new npc_headAI(creature);
}
@@ -244,7 +244,7 @@ public:
bool withbody;
bool die;
- void Reset() OVERRIDE
+ void Reset() override
{
Phase = 0;
bodyGUID = 0;
@@ -254,7 +254,7 @@ public:
laugh = urand(15000, 30000);
}
- void EnterCombat(Unit* /*who*/) OVERRIDE { }
+ void EnterCombat(Unit* /*who*/) override { }
void SaySound(uint8 textEntry, Unit* target = 0)
{
@@ -266,7 +266,7 @@ public:
laugh += 3000;
}
- void DamageTaken(Unit* /*done_by*/, uint32 &damage) OVERRIDE
+ void DamageTaken(Unit* /*done_by*/, uint32 &damage) override
{
if (withbody)
return;
@@ -297,7 +297,7 @@ public:
}
}
- void SpellHit(Unit* caster, const SpellInfo* spell) OVERRIDE
+ void SpellHit(Unit* caster, const SpellInfo* spell) override
{
if (!withbody)
return;
@@ -323,7 +323,7 @@ public:
}
void Disappear();
- void UpdateAI(uint32 diff) OVERRIDE
+ void UpdateAI(uint32 diff) override
{
if (!withbody)
{
@@ -372,7 +372,7 @@ class boss_headless_horseman : public CreatureScript
public:
boss_headless_horseman() : CreatureScript("boss_headless_horseman") { }
- CreatureAI* GetAI(Creature* creature) const OVERRIDE
+ CreatureAI* GetAI(Creature* creature) const override
{
return GetInstanceAI<boss_headless_horsemanAI>(creature);
}
@@ -409,7 +409,7 @@ public:
bool wp_reached;
bool burned;
- void Reset() OVERRIDE
+ void Reset() override
{
Phase = 1;
conflagrate = 15000;
@@ -451,7 +451,7 @@ public:
Phase = 0;
}
- void MovementInform(uint32 type, uint32 i) OVERRIDE
+ void MovementInform(uint32 type, uint32 i) override
{
if (type != POINT_MOTION_TYPE || !IsFlying || i != id)
return;
@@ -491,25 +491,25 @@ public:
++id;
}
- void EnterCombat(Unit* /*who*/) OVERRIDE
+ void EnterCombat(Unit* /*who*/) override
{
instance->SetData(DATA_HORSEMAN_EVENT, IN_PROGRESS);
DoZoneInCombat();
}
- void AttackStart(Unit* who) OVERRIDE
+ void AttackStart(Unit* who) override
{
ScriptedAI::AttackStart(who);
}
- void MoveInLineOfSight(Unit* who) OVERRIDE
+ void MoveInLineOfSight(Unit* who) override
{
if (withhead && Phase != 0)
ScriptedAI::MoveInLineOfSight(who);
}
- void KilledUnit(Unit* player) OVERRIDE
+ void KilledUnit(Unit* player) override
{
if (player->GetTypeId() == TYPEID_PLAYER)
{
@@ -552,13 +552,13 @@ public:
return NULL;
}
- void SpellHitTarget(Unit* unit, const SpellInfo* spell) OVERRIDE
+ void SpellHitTarget(Unit* unit, const SpellInfo* spell) override
{
if (spell->Id == SPELL_CONFLAGRATION && unit->HasAura(SPELL_CONFLAGRATION))
SaySound(SAY_CONFLAGRATION, unit);
}
- void JustDied(Unit* /*killer*/) OVERRIDE
+ void JustDied(Unit* /*killer*/) override
{
me->StopMoving();
//me->GetMotionMaster()->MoveIdle();
@@ -578,7 +578,7 @@ public:
}
}
- void SpellHit(Unit* caster, const SpellInfo* spell) OVERRIDE
+ void SpellHit(Unit* caster, const SpellInfo* spell) override
{
if (withhead)
return;
@@ -608,7 +608,7 @@ public:
}
}
- void DamageTaken(Unit* /*done_by*/, uint32 &damage) OVERRIDE
+ void DamageTaken(Unit* /*done_by*/, uint32 &damage) override
{
if (damage >= me->GetHealth() && withhead)
{
@@ -637,7 +637,7 @@ public:
}
}
- void UpdateAI(uint32 diff) OVERRIDE
+ void UpdateAI(uint32 diff) override
{
if (withhead)
{
@@ -780,7 +780,7 @@ class npc_pulsing_pumpkin : public CreatureScript
public:
npc_pulsing_pumpkin() : CreatureScript("npc_pulsing_pumpkin") { }
- CreatureAI* GetAI(Creature* creature) const OVERRIDE
+ CreatureAI* GetAI(Creature* creature) const override
{
return new npc_pulsing_pumpkinAI(creature);
}
@@ -796,7 +796,7 @@ public:
bool sprouted;
uint64 debuffGUID;
- void Reset() OVERRIDE
+ void Reset() override
{
float x, y, z;
me->GetPosition(x, y, z); //this visual aura some under ground
@@ -817,9 +817,9 @@ public:
me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_STUNNED);
}
- void EnterCombat(Unit* /*who*/) OVERRIDE { }
+ void EnterCombat(Unit* /*who*/) override { }
- void SpellHit(Unit* /*caster*/, const SpellInfo* spell) OVERRIDE
+ void SpellHit(Unit* /*caster*/, const SpellInfo* spell) override
{
if (spell->Id == SPELL_SPROUTING)
{
@@ -845,13 +845,13 @@ public:
}
}
- void JustDied(Unit* /*killer*/) OVERRIDE
+ void JustDied(Unit* /*killer*/) override
{
if (!sprouted)
Despawn();
}
- void MoveInLineOfSight(Unit* who) OVERRIDE
+ void MoveInLineOfSight(Unit* who) override
{
if (!who || !me->IsValidAttackTarget(who) || me->GetVictim())
@@ -862,7 +862,7 @@ public:
DoStartMovement(who);
}
- void UpdateAI(uint32 /*diff*/) OVERRIDE
+ void UpdateAI(uint32 /*diff*/) override
{
if (sprouted && UpdateVictim())
DoMeleeAttackIfReady();
@@ -875,7 +875,7 @@ class go_loosely_turned_soil : public GameObjectScript
public:
go_loosely_turned_soil() : GameObjectScript("go_loosely_turned_soil") { }
- bool OnGossipHello(Player* player, GameObject* soil) OVERRIDE
+ bool OnGossipHello(Player* player, GameObject* soil) override
{
InstanceScript* instance = player->GetInstanceScript();
if (instance)
diff --git a/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_herod.cpp b/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_herod.cpp
index da9d8345e77..480b354fe29 100644
--- a/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_herod.cpp
+++ b/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_herod.cpp
@@ -55,7 +55,7 @@ class boss_herod : public CreatureScript
public:
boss_herod() : CreatureScript("boss_herod") { }
- CreatureAI* GetAI(Creature* creature) const OVERRIDE
+ CreatureAI* GetAI(Creature* creature) const override
{
return new boss_herodAI(creature);
}
@@ -69,31 +69,31 @@ public:
uint32 Cleave_Timer;
uint32 Whirlwind_Timer;
- void Reset() OVERRIDE
+ void Reset() override
{
Enrage = false;
Cleave_Timer = 12000;
Whirlwind_Timer = 60000;
}
- void EnterCombat(Unit* /*who*/) OVERRIDE
+ void EnterCombat(Unit* /*who*/) override
{
Talk(SAY_AGGRO);
DoCast(me, SPELL_RUSHINGCHARGE);
}
- void KilledUnit(Unit* /*victim*/) OVERRIDE
+ void KilledUnit(Unit* /*victim*/) override
{
Talk(SAY_KILL);
}
- void JustDied(Unit* /*killer*/) OVERRIDE
+ void JustDied(Unit* /*killer*/) override
{
for (uint8 i = 0; i < 20; ++i)
me->SummonCreature(ENTRY_SCARLET_TRAINEE, 1939.18f, -431.58f, 17.09f, 6.22f, TEMPSUMMON_TIMED_OR_DEAD_DESPAWN, 600000);
}
- void UpdateAI(uint32 diff) OVERRIDE
+ void UpdateAI(uint32 diff) override
{
if (!UpdateVictim())
return;
@@ -134,7 +134,7 @@ class npc_scarlet_trainee : public CreatureScript
public:
npc_scarlet_trainee() : CreatureScript("npc_scarlet_trainee") { }
- CreatureAI* GetAI(Creature* creature) const OVERRIDE
+ CreatureAI* GetAI(Creature* creature) const override
{
return new npc_scarlet_traineeAI(creature);
}
@@ -148,11 +148,11 @@ public:
uint32 Start_Timer;
- void Reset() OVERRIDE { }
- void WaypointReached(uint32 /*waypointId*/) OVERRIDE { }
- void EnterCombat(Unit* /*who*/) OVERRIDE { }
+ void Reset() override { }
+ void WaypointReached(uint32 /*waypointId*/) override { }
+ void EnterCombat(Unit* /*who*/) override { }
- void UpdateAI(uint32 diff) OVERRIDE
+ void UpdateAI(uint32 diff) override
{
if (Start_Timer)
{
diff --git a/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_high_inquisitor_fairbanks.cpp b/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_high_inquisitor_fairbanks.cpp
index ee5ac9b0620..f58ab1519e4 100644
--- a/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_high_inquisitor_fairbanks.cpp
+++ b/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_high_inquisitor_fairbanks.cpp
@@ -41,7 +41,7 @@ class boss_high_inquisitor_fairbanks : public CreatureScript
public:
boss_high_inquisitor_fairbanks() : CreatureScript("boss_high_inquisitor_fairbanks") { }
- CreatureAI* GetAI(Creature* creature) const OVERRIDE
+ CreatureAI* GetAI(Creature* creature) const override
{
return new boss_high_inquisitor_fairbanksAI(creature);
}
@@ -58,7 +58,7 @@ public:
uint32 Dispel_Timer;
bool PowerWordShield;
- void Reset() OVERRIDE
+ void Reset() override
{
CurseOfBlood_Timer = 10000;
DispelMagic_Timer = 30000;
@@ -71,13 +71,13 @@ public:
me->SetUInt32Value(UNIT_FIELD_BYTES_1, 7);
}
- void EnterCombat(Unit* /*who*/) OVERRIDE
+ void EnterCombat(Unit* /*who*/) override
{
me->SetStandState(UNIT_STAND_STATE_STAND);
me->SetUInt32Value(UNIT_FIELD_BYTES_1, 0);
}
- void UpdateAI(uint32 diff) OVERRIDE
+ void UpdateAI(uint32 diff) override
{
if (!UpdateVictim())
return;
diff --git a/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_houndmaster_loksey.cpp b/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_houndmaster_loksey.cpp
index c8afa26ca4f..5aa9729a7e8 100644
--- a/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_houndmaster_loksey.cpp
+++ b/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_houndmaster_loksey.cpp
@@ -42,7 +42,7 @@ class boss_houndmaster_loksey : public CreatureScript
public:
boss_houndmaster_loksey() : CreatureScript("boss_houndmaster_loksey") { }
- CreatureAI* GetAI(Creature* creature) const OVERRIDE
+ CreatureAI* GetAI(Creature* creature) const override
{
return new boss_houndmaster_lokseyAI(creature);
}
@@ -53,17 +53,17 @@ public:
uint32 BloodLust_Timer;
- void Reset() OVERRIDE
+ void Reset() override
{
BloodLust_Timer = 20000;
}
- void EnterCombat(Unit* /*who*/) OVERRIDE
+ void EnterCombat(Unit* /*who*/) override
{
Talk(SAY_AGGRO);
}
- void UpdateAI(uint32 diff) OVERRIDE
+ void UpdateAI(uint32 diff) override
{
if (!UpdateVictim())
return;
diff --git a/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_interrogator_vishas.cpp b/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_interrogator_vishas.cpp
index 60164977735..e345dc60074 100644
--- a/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_interrogator_vishas.cpp
+++ b/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_interrogator_vishas.cpp
@@ -46,7 +46,7 @@ class boss_interrogator_vishas : public CreatureScript
public:
boss_interrogator_vishas() : CreatureScript("boss_interrogator_vishas") { }
- CreatureAI* GetAI(Creature* creature) const OVERRIDE
+ CreatureAI* GetAI(Creature* creature) const override
{
return GetInstanceAI<boss_interrogator_vishasAI>(creature);
}
@@ -64,31 +64,31 @@ public:
bool Yell60;
uint32 ShadowWordPain_Timer;
- void Reset() OVERRIDE
+ void Reset() override
{
ShadowWordPain_Timer = 5000;
Yell60 = false;
Yell30 = false;
}
- void EnterCombat(Unit* /*who*/) OVERRIDE
+ void EnterCombat(Unit* /*who*/) override
{
Talk(SAY_AGGRO);
}
- void KilledUnit(Unit* /*Victim*/) OVERRIDE
+ void KilledUnit(Unit* /*Victim*/) override
{
Talk(SAY_KILL);
}
- void JustDied(Unit* /*killer*/) OVERRIDE
+ void JustDied(Unit* /*killer*/) override
{
//Any other Actions to do with vorrel? setStandState?
if (Creature* vorrel = Creature::GetCreature(*me, instance->GetData64(DATA_VORREL)))
vorrel->AI()->Talk(SAY_TRIGGER_VORREL);
}
- void UpdateAI(uint32 diff) OVERRIDE
+ void UpdateAI(uint32 diff) override
{
if (!UpdateVictim())
return;
diff --git a/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_mograine_and_whitemane.cpp b/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_mograine_and_whitemane.cpp
index a78dce47784..a8d1f91c443 100644
--- a/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_mograine_and_whitemane.cpp
+++ b/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_mograine_and_whitemane.cpp
@@ -63,7 +63,7 @@ class boss_scarlet_commander_mograine : public CreatureScript
public:
boss_scarlet_commander_mograine() : CreatureScript("boss_scarlet_commander_mograine") { }
- CreatureAI* GetAI(Creature* creature) const OVERRIDE
+ CreatureAI* GetAI(Creature* creature) const override
{
return GetInstanceAI<boss_scarlet_commander_mograineAI>(creature);
}
@@ -84,7 +84,7 @@ public:
bool _bHeal;
bool _bFakeDeath;
- void Reset() OVERRIDE
+ void Reset() override
{
CrusaderStrike_Timer = 10000;
HammerOfJustice_Timer = 10000;
@@ -102,13 +102,13 @@ public:
_bFakeDeath = false;
}
- void JustReachedHome() OVERRIDE
+ void JustReachedHome() override
{
if (instance->GetData(TYPE_MOGRAINE_AND_WHITE_EVENT) != NOT_STARTED)
instance->SetData(TYPE_MOGRAINE_AND_WHITE_EVENT, FAIL);
}
- void EnterCombat(Unit* /*who*/) OVERRIDE
+ void EnterCombat(Unit* /*who*/) override
{
Talk(SAY_MO_AGGRO);
DoCast(me, SPELL_RETRIBUTIONAURA);
@@ -116,12 +116,12 @@ public:
me->CallForHelp(VISIBLE_RANGE);
}
- void KilledUnit(Unit* /*victim*/) OVERRIDE
+ void KilledUnit(Unit* /*victim*/) override
{
Talk(SAY_MO_KILL);
}
- void DamageTaken(Unit* /*doneBy*/, uint32 &damage) OVERRIDE
+ void DamageTaken(Unit* /*doneBy*/, uint32 &damage) override
{
if (damage < me->GetHealth() || _bHasDied || _bFakeDeath)
return;
@@ -155,7 +155,7 @@ public:
}
}
- void SpellHit(Unit* /*who*/, const SpellInfo* spell) OVERRIDE
+ void SpellHit(Unit* /*who*/, const SpellInfo* spell) override
{
//When hit with ressurection say text
if (spell->Id == SPELL_SCARLETRESURRECTION)
@@ -167,7 +167,7 @@ public:
}
}
- void UpdateAI(uint32 diff) OVERRIDE
+ void UpdateAI(uint32 diff) override
{
if (!UpdateVictim())
return;
@@ -221,7 +221,7 @@ class boss_high_inquisitor_whitemane : public CreatureScript
public:
boss_high_inquisitor_whitemane() : CreatureScript("boss_high_inquisitor_whitemane") { }
- CreatureAI* GetAI(Creature* creature) const OVERRIDE
+ CreatureAI* GetAI(Creature* creature) const override
{
return GetInstanceAI<boss_high_inquisitor_whitemaneAI>(creature);
}
@@ -243,7 +243,7 @@ public:
bool _bCanResurrectCheck;
bool _bCanResurrect;
- void Reset() OVERRIDE
+ void Reset() override
{
Wait_Timer = 7000;
Heal_Timer = 10000;
@@ -257,7 +257,7 @@ public:
instance->SetData(TYPE_MOGRAINE_AND_WHITE_EVENT, NOT_STARTED);
}
- void AttackStart(Unit* who) OVERRIDE
+ void AttackStart(Unit* who) override
{
if (instance->GetData(TYPE_MOGRAINE_AND_WHITE_EVENT) == NOT_STARTED)
return;
@@ -265,23 +265,23 @@ public:
ScriptedAI::AttackStart(who);
}
- void EnterCombat(Unit* /*who*/) OVERRIDE
+ void EnterCombat(Unit* /*who*/) override
{
Talk(SAY_WH_INTRO);
}
- void KilledUnit(Unit* /*victim*/) OVERRIDE
+ void KilledUnit(Unit* /*victim*/) override
{
Talk(SAY_WH_KILL);
}
- void DamageTaken(Unit* /*attacker*/, uint32& damage) OVERRIDE
+ void DamageTaken(Unit* /*attacker*/, uint32& damage) override
{
if (!_bCanResurrectCheck && damage >= me->GetHealth())
damage = me->GetHealth() - 1;
}
- void UpdateAI(uint32 diff) OVERRIDE
+ void UpdateAI(uint32 diff) override
{
if (!UpdateVictim())
return;
diff --git a/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_scorn.cpp b/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_scorn.cpp
index 5215fbda633..3ed32b71cbb 100644
--- a/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_scorn.cpp
+++ b/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_scorn.cpp
@@ -39,7 +39,7 @@ class boss_scorn : public CreatureScript
public:
boss_scorn() : CreatureScript("boss_scorn") { }
- CreatureAI* GetAI(Creature* creature) const OVERRIDE
+ CreatureAI* GetAI(Creature* creature) const override
{
return new boss_scornAI(creature);
}
@@ -53,7 +53,7 @@ public:
uint32 MindFlay_Timer;
uint32 FrostNova_Timer;
- void Reset() OVERRIDE
+ void Reset() override
{
LichSlap_Timer = 45000;
FrostboltVolley_Timer = 30000;
@@ -61,9 +61,9 @@ public:
FrostNova_Timer = 30000;
}
- void EnterCombat(Unit* /*who*/) OVERRIDE { }
+ void EnterCombat(Unit* /*who*/) override { }
- void UpdateAI(uint32 diff) OVERRIDE
+ void UpdateAI(uint32 diff) override
{
if (!UpdateVictim())
return;
diff --git a/src/server/scripts/EasternKingdoms/ScarletMonastery/instance_scarlet_monastery.cpp b/src/server/scripts/EasternKingdoms/ScarletMonastery/instance_scarlet_monastery.cpp
index 4de9c2c80bf..dc564e43af5 100644
--- a/src/server/scripts/EasternKingdoms/ScarletMonastery/instance_scarlet_monastery.cpp
+++ b/src/server/scripts/EasternKingdoms/ScarletMonastery/instance_scarlet_monastery.cpp
@@ -42,7 +42,7 @@ class instance_scarlet_monastery : public InstanceMapScript
public:
instance_scarlet_monastery() : InstanceMapScript("instance_scarlet_monastery", 189) { }
- InstanceScript* GetInstanceScript(InstanceMap* map) const OVERRIDE
+ InstanceScript* GetInstanceScript(InstanceMap* map) const override
{
return new instance_scarlet_monastery_InstanceMapScript(map);
}
@@ -63,7 +63,7 @@ public:
uint32 encounter[MAX_ENCOUNTER];
- void Initialize() OVERRIDE
+ void Initialize() override
{
memset(&encounter, 0, sizeof(encounter));
@@ -78,7 +78,7 @@ public:
DoorHighInquisitorGUID = 0;
}
- void OnGameObjectCreate(GameObject* go) OVERRIDE
+ void OnGameObjectCreate(GameObject* go) override
{
switch (go->GetEntry())
{
@@ -87,7 +87,7 @@ public:
}
}
- void OnCreatureCreate(Creature* creature) OVERRIDE
+ void OnCreatureCreate(Creature* creature) override
{
switch (creature->GetEntry())
{
@@ -100,7 +100,7 @@ public:
}
}
- void SetData(uint32 type, uint32 data) OVERRIDE
+ void SetData(uint32 type, uint32 data) override
{
switch (type)
{
@@ -132,7 +132,7 @@ public:
}
}
- uint64 GetData64(uint32 type) const OVERRIDE
+ uint64 GetData64(uint32 type) const override
{
switch (type)
{
@@ -147,7 +147,7 @@ public:
return 0;
}
- uint32 GetData(uint32 type) const OVERRIDE
+ uint32 GetData(uint32 type) const override
{
if (type == TYPE_MOGRAINE_AND_WHITE_EVENT)
return encounter[0];