aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/Events
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/scripts/Events')
-rw-r--r--src/server/scripts/Events/childrens_week.cpp64
1 files changed, 32 insertions, 32 deletions
diff --git a/src/server/scripts/Events/childrens_week.cpp b/src/server/scripts/Events/childrens_week.cpp
index a51426a624a..65b21520102 100644
--- a/src/server/scripts/Events/childrens_week.cpp
+++ b/src/server/scripts/Events/childrens_week.cpp
@@ -152,7 +152,7 @@ class npc_winterfin_playmate : public CreatureScript
{
npc_winterfin_playmateAI(Creature* creature) : ScriptedAI(creature) { }
- void Reset() OVERRIDE
+ void Reset() override
{
timer = 0;
phase = 0;
@@ -160,7 +160,7 @@ class npc_winterfin_playmate : public CreatureScript
orphanGUID = 0;
}
- void MoveInLineOfSight(Unit* who) OVERRIDE
+ void MoveInLineOfSight(Unit* who) override
{
if (!phase && who && who->GetDistance2d(me) < 10.0f)
@@ -174,7 +174,7 @@ class npc_winterfin_playmate : public CreatureScript
}
}
- void UpdateAI(uint32 diff) OVERRIDE
+ void UpdateAI(uint32 diff) override
{
if (!phase)
return;
@@ -233,7 +233,7 @@ class npc_winterfin_playmate : public CreatureScript
};
- CreatureAI* GetAI(Creature* creature) const OVERRIDE
+ CreatureAI* GetAI(Creature* creature) const override
{
return new npc_winterfin_playmateAI(creature);
}
@@ -251,7 +251,7 @@ class npc_snowfall_glade_playmate : public CreatureScript
{
npc_snowfall_glade_playmateAI(Creature* creature) : ScriptedAI(creature) { }
- void Reset() OVERRIDE
+ void Reset() override
{
timer = 0;
phase = 0;
@@ -259,7 +259,7 @@ class npc_snowfall_glade_playmate : public CreatureScript
orphanGUID = 0;
}
- void MoveInLineOfSight(Unit* who) OVERRIDE
+ void MoveInLineOfSight(Unit* who) override
{
if (!phase && who && who->GetDistance2d(me) < 10.0f)
@@ -273,7 +273,7 @@ class npc_snowfall_glade_playmate : public CreatureScript
}
}
- void UpdateAI(uint32 diff) OVERRIDE
+ void UpdateAI(uint32 diff) override
{
if (!phase)
return;
@@ -352,7 +352,7 @@ class npc_the_biggest_tree : public CreatureScript
me->SetDisplayId(DISPLAY_INVISIBLE);
}
- void Reset() OVERRIDE
+ void Reset() override
{
timer = 1000;
phase = 0;
@@ -360,7 +360,7 @@ class npc_the_biggest_tree : public CreatureScript
orphanGUID = 0;
}
- void MoveInLineOfSight(Unit* who) OVERRIDE
+ void MoveInLineOfSight(Unit* who) override
{
if (!phase && who && who->GetDistance2d(me) < 10.0f)
@@ -374,7 +374,7 @@ class npc_the_biggest_tree : public CreatureScript
}
}
- void UpdateAI(uint32 diff) OVERRIDE
+ void UpdateAI(uint32 diff) override
{
if (!phase)
return;
@@ -421,7 +421,7 @@ class npc_the_biggest_tree : public CreatureScript
};
- CreatureAI* GetAI(Creature* creature) const OVERRIDE
+ CreatureAI* GetAI(Creature* creature) const override
{
return new npc_the_biggest_treeAI(creature);
}
@@ -439,7 +439,7 @@ class npc_high_oracle_soo_roo : public CreatureScript
{
npc_high_oracle_soo_rooAI(Creature* creature) : ScriptedAI(creature) { }
- void Reset() OVERRIDE
+ void Reset() override
{
timer = 0;
phase = 0;
@@ -447,7 +447,7 @@ class npc_high_oracle_soo_roo : public CreatureScript
orphanGUID = 0;
}
- void MoveInLineOfSight(Unit* who) OVERRIDE
+ void MoveInLineOfSight(Unit* who) override
{
if (!phase && who && who->GetDistance2d(me) < 10.0f)
@@ -461,7 +461,7 @@ class npc_high_oracle_soo_roo : public CreatureScript
}
}
- void UpdateAI(uint32 diff) OVERRIDE
+ void UpdateAI(uint32 diff) override
{
if (!phase)
return;
@@ -510,7 +510,7 @@ class npc_high_oracle_soo_roo : public CreatureScript
};
- CreatureAI* GetAI(Creature* creature) const OVERRIDE
+ CreatureAI* GetAI(Creature* creature) const override
{
return new npc_high_oracle_soo_rooAI(creature);
}
@@ -528,7 +528,7 @@ class npc_elder_kekek : public CreatureScript
{
npc_elder_kekekAI(Creature* creature) : ScriptedAI(creature) { }
- void Reset() OVERRIDE
+ void Reset() override
{
timer = 0;
phase = 0;
@@ -536,7 +536,7 @@ class npc_elder_kekek : public CreatureScript
orphanGUID = 0;
}
- void MoveInLineOfSight(Unit* who) OVERRIDE
+ void MoveInLineOfSight(Unit* who) override
{
if (!phase && who && who->GetDistance2d(me) < 10.0f)
@@ -550,7 +550,7 @@ class npc_elder_kekek : public CreatureScript
}
}
- void UpdateAI(uint32 diff) OVERRIDE
+ void UpdateAI(uint32 diff) override
{
if (!phase)
return;
@@ -598,7 +598,7 @@ class npc_elder_kekek : public CreatureScript
};
- CreatureAI* GetAI(Creature* creature) const OVERRIDE
+ CreatureAI* GetAI(Creature* creature) const override
{
return new npc_elder_kekekAI(creature);
}
@@ -617,7 +617,7 @@ class npc_the_etymidian : public CreatureScript
{
npc_the_etymidianAI(Creature* creature) : ScriptedAI(creature) { }
- void Reset() OVERRIDE
+ void Reset() override
{
timer = 0;
phase = 0;
@@ -625,7 +625,7 @@ class npc_the_etymidian : public CreatureScript
orphanGUID = 0;
}
- void MoveInLineOfSight(Unit* who) OVERRIDE
+ void MoveInLineOfSight(Unit* who) override
{
if (!phase && who && who->GetDistance2d(me) < 10.0f)
@@ -639,7 +639,7 @@ class npc_the_etymidian : public CreatureScript
}
}
- void UpdateAI(uint32 diff) OVERRIDE
+ void UpdateAI(uint32 diff) override
{
if (!phase)
return;
@@ -695,7 +695,7 @@ class npc_the_etymidian : public CreatureScript
};
- CreatureAI* GetAI(Creature* creature) const OVERRIDE
+ CreatureAI* GetAI(Creature* creature) const override
{
return new npc_the_etymidianAI(creature);
}
@@ -713,7 +713,7 @@ class npc_alexstraza_the_lifebinder : public CreatureScript
{
npc_alexstraza_the_lifebinderAI(Creature* creature) : ScriptedAI(creature) { }
- void Reset() OVERRIDE
+ void Reset() override
{
timer = 0;
phase = 0;
@@ -721,7 +721,7 @@ class npc_alexstraza_the_lifebinder : public CreatureScript
orphanGUID = 0;
}
- void SetData(uint32 type, uint32 data) OVERRIDE
+ void SetData(uint32 type, uint32 data) override
{
// Existing SmartAI
if (type == 0)
@@ -738,7 +738,7 @@ class npc_alexstraza_the_lifebinder : public CreatureScript
}
}
- void MoveInLineOfSight(Unit* who) OVERRIDE
+ void MoveInLineOfSight(Unit* who) override
{
if (!phase && who && who->GetDistance2d(me) < 10.0f)
@@ -761,7 +761,7 @@ class npc_alexstraza_the_lifebinder : public CreatureScript
}
}
- void UpdateAI(uint32 diff) OVERRIDE
+ void UpdateAI(uint32 diff) override
{
if (!phase)
return;
@@ -856,7 +856,7 @@ class npc_alexstraza_the_lifebinder : public CreatureScript
};
- CreatureAI* GetAI(Creature* creature) const OVERRIDE
+ CreatureAI* GetAI(Creature* creature) const override
{
return new npc_alexstraza_the_lifebinderAI(creature);
}
@@ -933,7 +933,7 @@ class npc_cw_area_trigger : public CreatureScript
me->SetDisplayId(DISPLAY_INVISIBLE);
}
- void MoveInLineOfSight(Unit* who) OVERRIDE
+ void MoveInLineOfSight(Unit* who) override
{
if (who && me->GetDistance2d(who) < 20.0f)
@@ -1009,7 +1009,7 @@ class npc_cw_area_trigger : public CreatureScript
}
};
- CreatureAI* GetAI(Creature* creature) const OVERRIDE
+ CreatureAI* GetAI(Creature* creature) const override
{
return new npc_cw_area_triggerAI(creature);
}
@@ -1030,7 +1030,7 @@ class npc_grizzlemaw_cw_trigger : public CreatureScript
me->SetDisplayId(DISPLAY_INVISIBLE);
}
- void MoveInLineOfSight(Unit* who) OVERRIDE
+ void MoveInLineOfSight(Unit* who) override
{
if (who && who->GetDistance2d(me) < 10.0f)
@@ -1044,7 +1044,7 @@ class npc_grizzlemaw_cw_trigger : public CreatureScript
}
};
- CreatureAI* GetAI(Creature* creature) const OVERRIDE
+ CreatureAI* GetAI(Creature* creature) const override
{
return new npc_grizzlemaw_cw_triggerAI(creature);
}