More overrides
This commit is contained in:
1 parent
f00d77e2b9
commit
1ec3b04951
7 files changed
+9
-9
No files matched your search
@@ -177,7 +177,7 @@ class npc_harbinger_of_flame : public CreatureScript
|
||||
{
|
||||
}
|
||||
|
||||
void EnterCombat(Unit* /*target*/)
|
||||
void EnterCombat(Unit* /*target*/) override
|
||||
{
|
||||
if (Creature* bird = ObjectAccessor::GetCreature(*me, me->GetChannelObjectGuid()))
|
||||
DoZoneInCombat(bird, 200.0f);
|
||||
@@ -277,7 +277,7 @@ class npc_blazing_monstrosity : public CreatureScript
|
||||
AlysrazorTrashEvaded(me);
|
||||
}
|
||||
|
||||
void EnterCombat(Unit* /*target*/)
|
||||
void EnterCombat(Unit* /*target*/) override
|
||||
{
|
||||
DoZoneInCombat();
|
||||
me->RemoveAurasDueToSpell(SPELL_SLEEP_ULTRA_HIGH_PRIORITY);
|
||||
|
||||
@@ -410,7 +410,7 @@ public:
|
||||
me->SetDisableGravity(true);
|
||||
}
|
||||
|
||||
void Reset()
|
||||
void Reset() override
|
||||
{
|
||||
me->AddUnitState(UNIT_STATE_ROOT);
|
||||
me->SetReactState(REACT_AGGRESSIVE);
|
||||
|
||||
@@ -74,7 +74,7 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
void SpellHit(Unit* caster, SpellInfo const* spell)
|
||||
void SpellHit(Unit* caster, SpellInfo const* spell) override
|
||||
{
|
||||
if (spell->Id == SPELL_KODO_KOMBO_ITEM)
|
||||
{
|
||||
|
||||
@@ -69,13 +69,13 @@ public:
|
||||
Initialize();
|
||||
}
|
||||
|
||||
void MovementInform(uint32 /*type*/, uint32 id)
|
||||
void MovementInform(uint32 /*type*/, uint32 id) override
|
||||
{
|
||||
if (id == 1)
|
||||
work = true;
|
||||
}
|
||||
|
||||
void SpellHit(Unit* caster, const SpellInfo* spell)
|
||||
void SpellHit(Unit* caster, const SpellInfo* spell) override
|
||||
{
|
||||
if (spell->Id != SPELL_AWAKEN_PEON)
|
||||
return;
|
||||
|
||||
@@ -89,7 +89,7 @@ public:
|
||||
me->UpdateEntry(NPC_KYLE_FRENZIED);
|
||||
}
|
||||
|
||||
void SpellHit(Unit* Caster, SpellInfo const* Spell)
|
||||
void SpellHit(Unit* Caster, SpellInfo const* Spell) override
|
||||
{
|
||||
if (!me->GetVictim() && !EventActive && Spell->Id == SPELL_LUNCH)
|
||||
{
|
||||
|
||||
@@ -410,7 +410,7 @@ class npc_tooga : public CreatureScript
|
||||
public:
|
||||
npc_tooga() : CreatureScript("npc_tooga") { }
|
||||
|
||||
bool OnQuestAccept(Player* player, Creature* creature, const Quest* quest)
|
||||
bool OnQuestAccept(Player* player, Creature* creature, const Quest* quest) override
|
||||
{
|
||||
if (quest->GetQuestId() == QUEST_TOOGA)
|
||||
{
|
||||
|
||||
@@ -119,7 +119,7 @@ class boss_slabhide : public CreatureScript
|
||||
_isFlying = false;
|
||||
}
|
||||
|
||||
void Reset()
|
||||
void Reset() override
|
||||
{
|
||||
if (instance->GetData(DATA_SLABHIDE_INTRO) == NOT_STARTED)
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user