Core/Code: Unify codestyle for brackets: {} to { }.

Also added missing copyright to some files.
This commit is contained in:
Ascathor committed 2013-10-27 23:46:02 +01:00
1 parent e5553cfb78
commit 2607738990
312 files changed
+1372 -1066

No files matched your search

@@ -634,8 +634,8 @@ public:
}
}
void EnterCombat(Unit* who) OVERRIDE {}
void Reset() OVERRIDE {}
void EnterCombat(Unit* who) OVERRIDE { }
void Reset() OVERRIDE { }
void JustDied(Unit* killer) OVERRIDE
{
@@ -804,7 +804,7 @@ public:
}
}
void Reset() OVERRIDE {}
void Reset() OVERRIDE { }
void JustDied(Unit* slayer) OVERRIDE
{
@@ -1019,7 +1019,7 @@ public:
break;
}
}
void Reset() OVERRIDE {}
void Reset() OVERRIDE { }
void JustDied(Unit* slayer) OVERRIDE
{
@@ -1127,8 +1127,8 @@ public:
{
npc_tobias_seecherAI(Creature* creature) : npc_escortAI(creature) { }
void EnterCombat(Unit* who) OVERRIDE {}
void Reset() OVERRIDE {}
void EnterCombat(Unit* who) OVERRIDE { }
void Reset() OVERRIDE { }
void JustDied(Unit* killer) OVERRIDE
{
@@ -47,7 +47,7 @@ public:
Spirit_Timer = 24000;
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void SummonSpirits(Unit* victim)
{
@@ -57,7 +57,7 @@ public:
EnvelopingWeb_Timer = 16000;
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void UpdateAI(uint32 diff) OVERRIDE
{
@@ -55,7 +55,7 @@ public:
Medics = false;
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void SummonAdds(Unit* victim)
{
@@ -49,7 +49,7 @@ public:
Frenzy_Timer =0;
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void UpdateAI(uint32 diff) OVERRIDE
{
@@ -54,7 +54,7 @@ public:
ShadowShield_Timer = 8000;
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void UpdateAI(uint32 diff) OVERRIDE
{
@@ -53,7 +53,7 @@ public:
WarStomp_Timer =0;
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void UpdateAI(uint32 diff) OVERRIDE
{
@@ -56,7 +56,7 @@ public:
Smite_Timer = 8000;
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void UpdateAI(uint32 diff) OVERRIDE
{
@@ -218,7 +218,7 @@ public:
}
}
void JustSummoned(Creature* /*summon*/) OVERRIDE {}
void JustSummoned(Creature* /*summon*/) OVERRIDE { }
void SetData(uint32 type, uint32 data) OVERRIDE
{
@@ -90,7 +90,7 @@ public:
ResetTimer = 2000;
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void KilledUnit(Unit* /*victim*/) OVERRIDE
{
@@ -142,7 +142,7 @@ public:
me->SetVisible(true);
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void KilledUnit(Unit* /*victim*/) OVERRIDE
{
@@ -462,7 +462,7 @@ public:
struct boss_baron_rafe_dreugerAI : public boss_moroes_guestAI
{
//Retr Pally
boss_baron_rafe_dreugerAI(Creature* creature) : boss_moroes_guestAI(creature){}
boss_baron_rafe_dreugerAI(Creature* creature) : boss_moroes_guestAI(creature){ }
uint32 HammerOfJustice_Timer;
uint32 SealOfCommand_Timer;
@@ -589,7 +589,7 @@ public:
struct boss_lady_keira_berrybuckAI : public boss_moroes_guestAI
{
//Holy Pally
boss_lady_keira_berrybuckAI(Creature* creature) : boss_moroes_guestAI(creature) {}
boss_lady_keira_berrybuckAI(Creature* creature) : boss_moroes_guestAI(creature) { }
uint32 Cleanse_Timer;
uint32 GreaterBless_Timer;
@@ -117,9 +117,9 @@ public:
uint64 malchezaar;
InfernalPoint *point;
void Reset() OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void MoveInLineOfSight(Unit* /*who*/) OVERRIDE {}
void Reset() OVERRIDE { }
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void MoveInLineOfSight(Unit* /*who*/) OVERRIDE { }
void UpdateAI(uint32 diff) OVERRIDE
@@ -529,7 +529,7 @@ public:
CastTimer = 2000 + (rand()%3000);
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void UpdateAI(uint32 diff) OVERRIDE
{
@@ -157,9 +157,9 @@ public:
SacrificeGUID = 0;
}
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 JustDied(Unit* /*killer*/) OVERRIDE
@@ -186,7 +186,7 @@ public:
struct npc_fiendish_portalAI : public PassiveAI
{
npc_fiendish_portalAI(Creature* creature) : PassiveAI(creature), summons(me){}
npc_fiendish_portalAI(Creature* creature) : PassiveAI(creature), summons(me){ }
SummonList summons;
@@ -231,7 +231,7 @@ public:
me->ApplySpellImmune(0, IMMUNITY_SCHOOL, SPELL_SCHOOL_MASK_FIRE, true);
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void UpdateAI(uint32 diff) OVERRIDE
{
@@ -249,7 +249,7 @@ public:
YipTimer = 10000;
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void JustDied(Unit* /*killer*/) OVERRIDE
{
@@ -733,7 +733,7 @@ public:
MoveTimer = 1000;
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void MoveInLineOfSight(Unit* /*who*/) OVERRIDE
@@ -1073,7 +1073,7 @@ public:
RomuloDead = false;
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void AttackStart(Unit* who) OVERRIDE
{
@@ -176,7 +176,7 @@ public:
Start(false, false);
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void WaypointReached(uint32 waypointId) OVERRIDE
{
@@ -512,7 +512,7 @@ public:
me->RemoveCorpse();
}
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void MovementInform(uint32 type, uint32 id) OVERRIDE
{
@@ -461,8 +461,8 @@ public:
DoCast(me, SPELL_FLAMESTRIKE2, true);
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void MoveInLineOfSight(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void MoveInLineOfSight(Unit* /*who*/) OVERRIDE { }
void UpdateAI(uint32 diff) OVERRIDE
{
@@ -509,7 +509,7 @@ public:
FakeDeath = false;
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void DamageTaken(Unit* /*killer*/, uint32 &damage) OVERRIDE
{
@@ -609,8 +609,8 @@ public:
HatchTimer = 10000;
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void MoveInLineOfSight(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void MoveInLineOfSight(Unit* /*who*/) OVERRIDE { }
void UpdateAI(uint32 diff) OVERRIDE
@@ -652,7 +652,7 @@ public:
DoCast(me, SPELL_ARCANE_SPHERE_PASSIVE, true);
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void UpdateAI(uint32 diff) OVERRIDE
{
@@ -334,12 +334,12 @@ public:
{
npc_fel_crystalAI(Creature* creature) : ScriptedAI(creature) { }
void Reset() OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void AttackStart(Unit* /*who*/) OVERRIDE {}
void MoveInLineOfSight(Unit* /*who*/) OVERRIDE {}
void Reset() OVERRIDE { }
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void AttackStart(Unit* /*who*/) OVERRIDE { }
void MoveInLineOfSight(Unit* /*who*/) OVERRIDE { }
void UpdateAI(uint32 /*diff*/) OVERRIDE {}
void UpdateAI(uint32 /*diff*/) OVERRIDE { }
void JustDied(Unit* /*killer*/) OVERRIDE
{
@@ -222,7 +222,7 @@ public:
me->SetDisplayId(me->GetCreatureTemplate()->Modelid2);
}
void Reset() OVERRIDE {}
void Reset() OVERRIDE { }
void JustDied(Unit* slayer) OVERRIDE
{
@@ -233,10 +233,10 @@ public:
}
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void MoveInLineOfSight(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void MoveInLineOfSight(Unit* /*who*/) OVERRIDE { }
void AttackStart(Unit* /*who*/) OVERRIDE {}
void AttackStart(Unit* /*who*/) OVERRIDE { }
};
};
@@ -1678,10 +1678,10 @@ public:
struct npc_the_lich_king_tirion_dawnAI : public ScriptedAI
{
npc_the_lich_king_tirion_dawnAI(Creature* creature) : ScriptedAI(creature) { Reset(); }
void Reset() OVERRIDE {}
void Reset() OVERRIDE { }
void AttackStart(Unit* /*who*/) { } // very sample, just don't make them aggreesive OVERRIDE
void UpdateAI(uint32 /*diff*/) OVERRIDE {}
void JustDied(Unit* /*killer*/) OVERRIDE {}
void UpdateAI(uint32 /*diff*/) OVERRIDE { }
void JustDied(Unit* /*killer*/) OVERRIDE { }
};
};
@@ -58,7 +58,7 @@ public:
Terrify_Timer = 20000;
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void UpdateAI(uint32 diff) OVERRIDE
{
@@ -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)
@@ -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)
{
@@ -821,7 +821,7 @@ 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
{
@@ -148,9 +148,9 @@ 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
{
@@ -61,7 +61,7 @@ public:
FrostNova_Timer = 30000;
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void UpdateAI(uint32 diff) OVERRIDE
{
@@ -69,7 +69,7 @@ public:
DoCast(me, SPELL_ICEARMOR, true);
}
void EnterCombat(Unit* /*who*/)OVERRIDE {}
void EnterCombat(Unit* /*who*/)OVERRIDE { }
void UpdateAI(uint32 diff) OVERRIDE
{
@@ -145,8 +145,8 @@ public:
}
}
void Reset() OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void Reset() OVERRIDE { }
void EnterCombat(Unit* /*who*/) OVERRIDE { }
};
};
@@ -61,7 +61,7 @@ class boss_postmaster_malown : public CreatureScript
{
boss_postmaster_malownAI(Creature* creature) : BossAI(creature, TYPE_MALOWN) { }
void Reset() OVERRIDE {}
void Reset() OVERRIDE { }
void EnterCombat(Unit* /*who*/) OVERRIDE
{
@@ -107,7 +107,7 @@ public:
Talk(SAY_ZAPPED);
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
};
};
@@ -155,7 +155,7 @@ public:
Tagged = false;
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void SpellHit(Unit* caster, const SpellInfo* spell) OVERRIDE
{
@@ -235,7 +235,7 @@ public:
Tagged = false;
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void SpellHit(Unit* /*caster*/, const SpellInfo* spell) OVERRIDE
{
@@ -689,7 +689,7 @@ public:
KillTimer = 15000;
}
void EnterCombat(Unit* /*who*/)OVERRIDE {}
void EnterCombat(Unit* /*who*/)OVERRIDE { }
void SpellHitTarget(Unit* target, const SpellInfo* spell) OVERRIDE
{
@@ -531,7 +531,7 @@ public:
me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE);
me->SetSpeed(MOVE_RUN, 0.8f);
}
void Reset() OVERRIDE {}
void Reset() OVERRIDE { }
void EnterCombat(Unit* /*who*/) OVERRIDE
{
DoZoneInCombat();
@@ -565,12 +565,12 @@ public:
me->SetTarget(me->GetGUID());
me->SetFloatValue(UNIT_FIELD_BOUNDINGRADIUS, 0.01f); // core bug
}
void Reset() OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void AttackStart(Unit* /*who*/) OVERRIDE {}
void MoveInLineOfSight(Unit* /*who*/) OVERRIDE {}
void Reset() OVERRIDE { }
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void AttackStart(Unit* /*who*/) OVERRIDE { }
void MoveInLineOfSight(Unit* /*who*/) OVERRIDE { }
void UpdateAI(uint32 /*diff*/) OVERRIDE {}
void UpdateAI(uint32 /*diff*/) OVERRIDE { }
};
};
@@ -525,7 +525,7 @@ public:
struct npc_void_sentinelAI : public ScriptedAI
{
npc_void_sentinelAI(Creature* creature) : ScriptedAI(creature){}
npc_void_sentinelAI(Creature* creature) : ScriptedAI(creature){ }
uint32 PulseTimer;
uint32 VoidBlastTimer;
@@ -389,7 +389,7 @@ class npc_akilzon_eagle : public CreatureScript
DoZoneInCombat();
}
void MoveInLineOfSight(Unit* /*who*/) OVERRIDE {}
void MoveInLineOfSight(Unit* /*who*/) OVERRIDE { }
void MovementInform(uint32, uint32) OVERRIDE
@@ -222,7 +222,7 @@ struct boss_hexlord_addAI : public ScriptedAI
instance = creature->GetInstanceScript();
}
void Reset() OVERRIDE {}
void Reset() OVERRIDE { }
void EnterCombat(Unit* /*who*/) OVERRIDE
{
@@ -670,7 +670,7 @@ class boss_alyson_antille : public CreatureScript
struct boss_gazakrothAI : public boss_hexlord_addAI
{
boss_gazakrothAI(Creature* creature) : boss_hexlord_addAI(creature) {}
boss_gazakrothAI(Creature* creature) : boss_hexlord_addAI(creature) { }
uint32 firebolt_timer;
@@ -721,7 +721,7 @@ class boss_lord_raadan : public CreatureScript
struct boss_lord_raadanAI : public boss_hexlord_addAI
{
boss_lord_raadanAI(Creature* creature) : boss_hexlord_addAI(creature) {}
boss_lord_raadanAI(Creature* creature) : boss_hexlord_addAI(creature) { }
uint32 flamebreath_timer;
uint32 thunderclap_timer;
@@ -772,7 +772,7 @@ class boss_darkheart : public CreatureScript
struct boss_darkheartAI : public boss_hexlord_addAI
{
boss_darkheartAI(Creature* creature) : boss_hexlord_addAI(creature) {}
boss_darkheartAI(Creature* creature) : boss_hexlord_addAI(creature) { }
uint32 psychicwail_timer;
@@ -457,9 +457,9 @@ class npc_janalai_firebomb : public CreatureScript
struct npc_janalai_firebombAI : public ScriptedAI
{
npc_janalai_firebombAI(Creature* creature) : ScriptedAI(creature){}
npc_janalai_firebombAI(Creature* creature) : ScriptedAI(creature){ }
void Reset() OVERRIDE {}
void Reset() OVERRIDE { }
void SpellHit(Unit* /*caster*/, const SpellInfo* spell) OVERRIDE
{
@@ -467,14 +467,14 @@ class npc_janalai_firebomb : public CreatureScript
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
@@ -551,9 +551,9 @@ 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
{
@@ -687,11 +687,11 @@ public:
struct npc_janalai_eggAI : public ScriptedAI
{
npc_janalai_eggAI(Creature* creature) : ScriptedAI(creature){}
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
{
@@ -572,9 +572,9 @@ 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
{
@@ -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()
{
@@ -144,9 +144,9 @@ 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
{
@@ -295,7 +295,7 @@ class npc_harrison_jones : public CreatureScript
uiTargetGUID = 0;
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void sGossipSelect(Player* player, uint32 sender, uint32 action) OVERRIDE
{
@@ -247,7 +247,7 @@ class npc_batrider : public CreatureScript
me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE);
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void UpdateAI(uint32 diff) OVERRIDE
{
@@ -258,7 +258,7 @@ class npc_shade_of_jindo : public CreatureScript
DoCast(me, SPELL_INVISIBLE, true);
}
void EnterCombat(Unit* /*who*/)OVERRIDE {}
void EnterCombat(Unit* /*who*/)OVERRIDE { }
void UpdateAI(uint32 diff) OVERRIDE
{
@@ -304,7 +304,7 @@ class npc_ohgan : public CreatureScript
SunderArmor_Timer = 5000;
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void JustDied(Unit* /*killer*/) OVERRIDE
{
@@ -357,7 +357,7 @@ class npc_vilebranch_speaker : public CreatureScript
cleave_Timer = urand(5000, 8000);
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void JustDied(Unit* /*killer*/) OVERRIDE
{
@@ -132,7 +132,7 @@ public:
{
npc_ragged_johnAI(Creature* creature) : ScriptedAI(creature) { }
void Reset() OVERRIDE {}
void Reset() OVERRIDE { }
void MoveInLineOfSight(Unit* who) OVERRIDE
@@ -150,7 +150,7 @@ public:
ScriptedAI::MoveInLineOfSight(who);
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
};
};
@@ -45,9 +45,9 @@ public:
{
npc_ghoul_flayerAI(Creature* creature) : ScriptedAI(creature) { }
void Reset() OVERRIDE {}
void Reset() OVERRIDE { }
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void JustDied(Unit* killer) OVERRIDE
{
@@ -129,7 +129,7 @@ public:
me->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE);
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
};
};
@@ -81,7 +81,7 @@ public:
Summon = false;
}
void EnterCombat(Unit* /*who*/)OVERRIDE {}
void EnterCombat(Unit* /*who*/)OVERRIDE { }
void JustSummoned(Creature* summoned) OVERRIDE
{
@@ -87,7 +87,7 @@ public:
{
npc_00x09hlAI(Creature* creature) : npc_escortAI(creature) { }
void Reset() OVERRIDE {}
void Reset() OVERRIDE { }
void WaypointReached(uint32 waypointId) OVERRIDE
{
@@ -68,9 +68,9 @@ public:
Timer = 2500;
}
void MoveInLineOfSight(Unit* /*who*/) OVERRIDE {}
void MoveInLineOfSight(Unit* /*who*/) OVERRIDE { }
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void UpdateAI(uint32 diff) OVERRIDE
{
@@ -108,7 +108,7 @@ public:
}
}
void Reset() OVERRIDE {}
void Reset() OVERRIDE { }
void EnterCombat(Unit* who) OVERRIDE
{
@@ -212,7 +212,7 @@ public:
}
}
void EnterCombat(Unit* /*who*/)OVERRIDE {}
void EnterCombat(Unit* /*who*/)OVERRIDE { }
void JustSummoned(Creature* summoned) OVERRIDE
{
@@ -82,7 +82,7 @@ public:
}
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void UpdateAI(uint32 diff) OVERRIDE
{
@@ -86,7 +86,7 @@ public:
me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_IMMUNE_TO_PC);
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void AttackedBy(Unit* pAttacker) OVERRIDE
{
@@ -124,7 +124,7 @@ public:
MultiShotTimer = 10000;
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void JustSummoned(Creature* summoned) OVERRIDE
{
@@ -246,7 +246,7 @@ public:
EventCast = true;
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void UpdateAI(uint32 diff) OVERRIDE
{
@@ -174,9 +174,9 @@ public:
{
npc_the_scourge_cauldronAI(Creature* creature) : ScriptedAI(creature) { }
void Reset() OVERRIDE {}
void Reset() OVERRIDE { }
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void DoDie()
{
@@ -393,7 +393,7 @@ public:
}
}
void EnterCombat(Unit* /*who*/)OVERRIDE {}
void EnterCombat(Unit* /*who*/)OVERRIDE { }
void JustDied(Unit* /*killer*/) OVERRIDE
{
@@ -269,7 +269,7 @@ public:
Talk(SAY_AGGRO, who->GetGUID());
}
void Reset() OVERRIDE {}
void Reset() OVERRIDE { }
};
};
@@ -442,7 +442,7 @@ class spell_ex : public SpellScriptLoader
//bool Validate(SpellInfo const* spellEntry){return true;} OVERRIDE
//bool Load(){return true;}
//void Unload(){}
//void Unload(){ }
//void Function(SpellEffIndex effIndex) //OnEffect += SpellEffectFn(spell_ex_SpellScript::Function, EFFECT_ANY, SPELL_EFFECT_ANY);
//void Function() //OnHit += SpellEffectFn(spell_ex_SpellScript::Function);
@@ -469,7 +469,7 @@ class spell_ex : public SpellScriptLoader
PrepareAuraScript(spell_ex)
//bool Validate(SpellInfo const* spellEntry){return true;} OVERRIDE
//bool Load(){return true;}
//void Unload(){}
//void Unload(){ }
//void spell_ex_SpellScript::Function(AuraEffect const* aurEff, AuraEffectHandleModes mode) //OnEffectApply += AuraEffectApplyFn(spell_ex_SpellScript::Function, EFFECT_ANY, SPELL_AURA_ANY, AURA_EFFECT_HANDLE_REAL);
//void spell_ex_SpellScript::Function(AuraEffect const* aurEff, AuraEffectHandleModes mode) //OnEffectRemove += AuraEffectRemoveFn(spell_ex_SpellScript::Function, EFFECT_ANY, SPELL_AURA_ANY, AURA_EFFECT_HANDLE_REAL);
@@ -108,7 +108,7 @@ public:
me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE);
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void DamageTaken(Unit* /*done_by*/, uint32 &damage) OVERRIDE
{
@@ -148,11 +148,11 @@ public:
{
npc_doomfireAI(Creature* creature) : ScriptedAI(creature) { }
void Reset() OVERRIDE {}
void Reset() OVERRIDE { }
void MoveInLineOfSight(Unit* /*who*/) OVERRIDE {}
void MoveInLineOfSight(Unit* /*who*/) OVERRIDE { }
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void DamageTaken(Unit* /*done_by*/, uint32 &damage) OVERRIDE
{
@@ -195,7 +195,7 @@ public:
TargetGUID = who->GetGUID();
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void DamageTaken(Unit* /*done_by*/, uint32 &damage) OVERRIDE
{
@@ -638,7 +638,7 @@ public:
DoMeleeAttackIfReady();
}
void WaypointReached(uint32 /*waypointId*/) OVERRIDE {}
void WaypointReached(uint32 /*waypointId*/) OVERRIDE { }
};
};
@@ -443,7 +443,7 @@ public:
imol = false;
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void WaypointReached(uint32 waypointId) OVERRIDE
{
@@ -594,7 +594,7 @@ public:
}
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void UpdateAI(uint32 diff) OVERRIDE
{
@@ -697,7 +697,7 @@ public:
}
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void UpdateAI(uint32 diff) OVERRIDE
{
@@ -820,7 +820,7 @@ public:
}
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void UpdateAI(uint32 diff) OVERRIDE
{
@@ -918,7 +918,7 @@ public:
}
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void UpdateAI(uint32 diff) OVERRIDE
{
@@ -1017,7 +1017,7 @@ public:
}
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void UpdateAI(uint32 diff) OVERRIDE
{
@@ -1107,7 +1107,7 @@ public:
}
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void UpdateAI(uint32 diff) OVERRIDE
{
@@ -1206,7 +1206,7 @@ public:
me->SetPosition(x, y, z, 0);
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void UpdateAI(uint32 diff) OVERRIDE
{
@@ -639,8 +639,8 @@ public:
}
}
void Reset() OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void Reset() OVERRIDE { }
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void UpdateAI(uint32 diff) OVERRIDE
{
@@ -59,7 +59,7 @@ public:
{
boss_aeonusAI(Creature* creature) : BossAI(creature, TYPE_AEONUS) { }
void Reset() OVERRIDE {}
void Reset() OVERRIDE { }
void EnterCombat(Unit* /*who*/) OVERRIDE
{
@@ -60,7 +60,7 @@ public:
{
boss_chrono_lord_dejaAI(Creature* creature) : BossAI(creature, TYPE_CRONO_LORD_DEJA) { }
void Reset() OVERRIDE {}
void Reset() OVERRIDE { }
void EnterCombat(Unit* /*who*/) OVERRIDE
{
@@ -59,7 +59,7 @@ public:
{
boss_temporusAI(Creature* creature) : BossAI(creature, TYPE_TEMPORUS) { }
void Reset() OVERRIDE {}
void Reset() OVERRIDE { }
void EnterCombat(Unit* /*who*/) OVERRIDE
{
@@ -151,7 +151,7 @@ public:
//ScriptedAI::AttackStart(who);
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void SpellHit(Unit* /*caster*/, const SpellInfo* spell) OVERRIDE
{
@@ -303,7 +303,7 @@ public:
else mWaveId = 1;
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void DoSummonAtRift(uint32 creature_entry)
{
@@ -58,7 +58,7 @@ public:
CorruptForcesTimer = 30000;
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void JustDied(Unit* /*killer*/) OVERRIDE
{
@@ -61,7 +61,7 @@ public:
Invisible = false;
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void SummonAdds(Unit* victim)
{
@@ -62,7 +62,7 @@ public:
RepulsiveGazeTimer = 23000;
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void JustDied(Unit* /*killer*/) OVERRIDE
{
@@ -118,7 +118,7 @@ public:
}
}
void Reset() OVERRIDE {}
void Reset() OVERRIDE { }
void EnterCombat(Unit* /*who*/) OVERRIDE
{
@@ -79,7 +79,7 @@ public:
Enraged = false;
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void UpdateAI(uint32 diff) OVERRIDE
{
@@ -229,7 +229,7 @@ class npc_ruul_snowhoof : public CreatureScript
}
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void Reset() OVERRIDE
{
+4 -4
View File
@@ -63,7 +63,7 @@ public:
spellhit = false;
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void SpellHit(Unit* unit, const SpellInfo* spell) OVERRIDE
{
@@ -443,7 +443,7 @@ public:
}
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void MovementInform(uint32 type, uint32 id) OVERRIDE
{
@@ -517,9 +517,9 @@ public:
}
}
void AttackStart(Unit* /*who*/) OVERRIDE {}
void AttackStart(Unit* /*who*/) OVERRIDE { }
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
};
};
@@ -96,7 +96,7 @@ public:
me->SetStandState(UNIT_STAND_STATE_SLEEP);
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void MoveInLineOfSight(Unit* who) OVERRIDE
@@ -319,12 +319,12 @@ public:
}
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void MoveInLineOfSight(Unit* /*who*/) OVERRIDE {}
void MoveInLineOfSight(Unit* /*who*/) OVERRIDE { }
void UpdateAI(uint32 /*diff*/) OVERRIDE {}
void UpdateAI(uint32 /*diff*/) OVERRIDE { }
};
};
@@ -399,7 +399,7 @@ public:
Talk(SAY_AGGRO, who->GetGUID());
}
void Reset() OVERRIDE {}
void Reset() OVERRIDE { }
};
};
@@ -458,7 +458,7 @@ public:
StartEvent();
}
void EnterCombat(Unit* /*who*/)OVERRIDE {}
void EnterCombat(Unit* /*who*/)OVERRIDE { }
void StartEvent()
{
@@ -615,7 +615,7 @@ public:
struct npc_death_ravagerAI : public ScriptedAI
{
npc_death_ravagerAI(Creature* creature) : ScriptedAI(creature){}
npc_death_ravagerAI(Creature* creature) : ScriptedAI(creature){ }
uint32 RendTimer;
uint32 EnragingBiteTimer;
@@ -54,9 +54,9 @@ public:
{
npc_webbed_creatureAI(Creature* creature) : ScriptedAI(creature) { }
void Reset() OVERRIDE {}
void Reset() OVERRIDE { }
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void JustDied(Unit* killer) OVERRIDE
{
@@ -286,7 +286,7 @@ public:
}
}
void Reset() OVERRIDE {}
void Reset() OVERRIDE { }
void EnterCombat(Unit* who) OVERRIDE
{
@@ -358,7 +358,7 @@ public:
{
npc_threshwackonatorAI(Creature* creature) : FollowerAI(creature) { }
void Reset() OVERRIDE {}
void Reset() OVERRIDE { }
void MoveInLineOfSight(Unit* who) OVERRIDE
@@ -195,9 +195,9 @@ public:
}
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void Reset() OVERRIDE {}
void Reset() OVERRIDE { }
void JustDied(Unit* /*killer*/) OVERRIDE
{
@@ -568,7 +568,7 @@ public:
Talk(SAY_ATTACKED_1, who->GetGUID());
}
void Reset() OVERRIDE {}
void Reset() OVERRIDE { }
void JustDied(Unit* /*killer*/) OVERRIDE
{
+1 -1
View File
@@ -284,7 +284,7 @@ public:
amountWP = 49;
}
void EnterCombat(Unit* /*who*/)OVERRIDE {}
void EnterCombat(Unit* /*who*/)OVERRIDE { }
void MovementInform(uint32 type, uint32 id) OVERRIDE
{
@@ -81,7 +81,7 @@ public:
PlayerGUID = 0;
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void UpdateAI(uint32 diff) OVERRIDE
{
@@ -222,7 +222,7 @@ public:
ShockTimer = 8000;
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void UpdateAI(uint32 diff) OVERRIDE
{
@@ -840,7 +840,7 @@ public:
hasTarget = false;
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void JustDied(Unit* /*slayer*/) OVERRIDE;
void UpdateAI(uint32 diff) OVERRIDE
@@ -144,7 +144,7 @@ public:
summoned->AI()->AttackStart(me);
}
void Reset()OVERRIDE {}
void Reset()OVERRIDE { }
};
bool OnQuestAccept(Player* player, Creature* creature, Quest const* quest) OVERRIDE
+3 -3
View File
@@ -270,8 +270,8 @@ public:
}
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void Reset() OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void Reset() OVERRIDE { }
void UpdateAI(uint32 diff) OVERRIDE
{
@@ -500,7 +500,7 @@ public:
}
}
void Reset()OVERRIDE {}
void Reset()OVERRIDE { }
void EnterCombat(Unit* /*who*/) OVERRIDE
{
@@ -68,7 +68,7 @@ public:
{
npc_mistAI(Creature* creature) : FollowerAI(creature) { }
void Reset() OVERRIDE {}
void Reset() OVERRIDE { }
void MoveInLineOfSight(Unit* who) OVERRIDE
@@ -126,7 +126,7 @@ public:
{
npc_giltharesAI(Creature* creature) : npc_escortAI(creature) { }
void Reset() OVERRIDE {}
void Reset() OVERRIDE { }
void WaypointReached(uint32 waypointId) OVERRIDE
{
@@ -240,7 +240,7 @@ public:
}
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void UpdateAI(uint32 diff) OVERRIDE
{
@@ -345,7 +345,7 @@ public:
BigWill = 0;
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void MoveInLineOfSight(Unit* who) OVERRIDE
@@ -362,7 +362,7 @@ public:
}
}
void KilledUnit(Unit* /*victim*/) OVERRIDE {}
void KilledUnit(Unit* /*victim*/) OVERRIDE { }
void UpdateAI(uint32 diff) OVERRIDE
{
@@ -75,7 +75,7 @@ public:
{
npc_kanatiAI(Creature* creature) : npc_escortAI(creature) { }
void Reset() OVERRIDE {}
void Reset() OVERRIDE { }
void WaypointReached(uint32 waypointId) OVERRIDE
{
@@ -164,7 +164,7 @@ public:
{
npc_lakota_windsongAI(Creature* creature) : npc_escortAI(creature) { }
void Reset() OVERRIDE {}
void Reset() OVERRIDE { }
void WaypointReached(uint32 waypointId) OVERRIDE
{
@@ -247,7 +247,7 @@ public:
{
npc_paoka_swiftmountainAI(Creature* creature) : npc_escortAI(creature) { }
void Reset() OVERRIDE {}
void Reset() OVERRIDE { }
void WaypointReached(uint32 waypointId) OVERRIDE
{
@@ -96,7 +96,7 @@ public:
UppercutTimer = 10000;
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void UpdateAI(uint32 diff) OVERRIDE
{
@@ -159,7 +159,7 @@ public:
_dialogueArray(dialogueArray),
_currentEntry(NULL),
_actionTimer(0)
{}
{ }
// The array MUST be terminated by {0, 0, 0, 0, 0}
/// Function to initialize the dialogue helper for instances. If not used with instances, GetSpeakerByEntry MUST be overwritten to obtain the speakers
@@ -189,8 +189,8 @@ public:
DoCast(me, SPELL_HEALTHY_MUSHROOM_POTENT_FUNGUS, true);
}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void AttackStart(Unit* /*victim*/) OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void AttackStart(Unit* /*victim*/) OVERRIDE { }
void UpdateAI(uint32 diff) OVERRIDE
{
@@ -235,12 +235,12 @@ public:
creature->UpdateAllStats();
}
void Reset() OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void AttackStart(Unit* /*victim*/) OVERRIDE {}
void MoveInLineOfSight(Unit* /*who*/) OVERRIDE {}
void Reset() OVERRIDE { }
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void AttackStart(Unit* /*victim*/) OVERRIDE { }
void MoveInLineOfSight(Unit* /*who*/) OVERRIDE { }
void UpdateAI(uint32 /*diff*/) OVERRIDE {}
void UpdateAI(uint32 /*diff*/) OVERRIDE { }
};
CreatureAI* GetAI(Creature* creature) const OVERRIDE
@@ -541,10 +541,10 @@ public:
bool bCasted;
bool bCasted2;
void Reset() OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void AttackStart(Unit* /*victim*/) OVERRIDE {}
void MoveInLineOfSight(Unit* /*who*/) OVERRIDE {}
void Reset() OVERRIDE { }
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void AttackStart(Unit* /*victim*/) OVERRIDE { }
void MoveInLineOfSight(Unit* /*who*/) OVERRIDE { }
void UpdateAI(uint32 /*diff*/) OVERRIDE
@@ -325,7 +325,7 @@ public:
struct npc_anub_ar_warriorAI : public ScriptedAI
{
npc_anub_ar_warriorAI(Creature* creature) : ScriptedAI(creature){}
npc_anub_ar_warriorAI(Creature* creature) : ScriptedAI(creature){ }
uint32 uiCleaveTimer;
uint32 uiStrikeTimer;
@@ -1536,8 +1536,8 @@ public:
m_uiHatchEggTimer -= uiDiff;
}
void AttackStart(Unit* /*who*/) OVERRIDE {}
void MoveInLineOfSight(Unit* /*who*/) OVERRIDE {}
void AttackStart(Unit* /*who*/) OVERRIDE { }
void MoveInLineOfSight(Unit* /*who*/) OVERRIDE { }
};
@@ -491,7 +491,7 @@ class boss_twilight_halion : public CreatureScript
}
// Never evade
void EnterEvadeMode() OVERRIDE {}
void EnterEvadeMode() OVERRIDE { }
void KilledUnit(Unit* victim) OVERRIDE
{
@@ -1025,8 +1025,8 @@ class npc_meteor_strike_initial : public CreatureScript
}
}
void UpdateAI(uint32 /*diff*/) OVERRIDE {}
void EnterEvadeMode() OVERRIDE {}
void UpdateAI(uint32 /*diff*/) OVERRIDE { }
void EnterEvadeMode() OVERRIDE { }
private:
InstanceScript* _instance;
std::list<Creature*> _meteorList;
@@ -1166,7 +1166,7 @@ class npc_combustion_consumption : public CreatureScript
summoner->CastCustomSpell(_explosionSpell, SPELLVALUE_BASE_POINT0, damage, summoner);
}
void UpdateAI(uint32 /*diff*/) OVERRIDE {}
void UpdateAI(uint32 /*diff*/) OVERRIDE { }
private:
InstanceScript* _instance;
@@ -296,7 +296,7 @@ class npc_infernal_volcano : public CreatureScript
me->DespawnOrUnsummon();
}
void UpdateAI(uint32 /*diff*/) OVERRIDE {}
void UpdateAI(uint32 /*diff*/) OVERRIDE { }
private:
SummonList _summons;
@@ -400,7 +400,7 @@ class npc_nether_portal : public CreatureScript
me->DespawnOrUnsummon();
}
void UpdateAI(uint32 /*diff*/) OVERRIDE {}
void UpdateAI(uint32 /*diff*/) OVERRIDE { }
private:
SummonList _summons;
@@ -124,7 +124,7 @@ class npc_announcer_toc10 : public CreatureScript
pAlly->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE);
}
void AttackStart(Unit* /*who*/) OVERRIDE {}
void AttackStart(Unit* /*who*/) OVERRIDE { }
};
bool OnGossipHello(Player* player, Creature* creature) OVERRIDE
@@ -547,9 +547,9 @@ class npc_tirion_toc : public CreatureScript
_instance = me->GetInstanceScript();
}
void Reset() OVERRIDE {}
void Reset() OVERRIDE { }
void AttackStart(Unit* /*who*/) OVERRIDE {}
void AttackStart(Unit* /*who*/) OVERRIDE { }
void UpdateAI(uint32 uiDiff) OVERRIDE
{
@@ -835,9 +835,9 @@ class npc_garrosh_toc : public CreatureScript
_instance = me->GetInstanceScript();
}
void Reset() OVERRIDE {}
void Reset() OVERRIDE { }
void AttackStart(Unit* /*who*/) OVERRIDE {}
void AttackStart(Unit* /*who*/) OVERRIDE { }
void UpdateAI(uint32 uiDiff) OVERRIDE
{
@@ -919,9 +919,9 @@ class npc_varian_toc : public CreatureScript
_instance = me->GetInstanceScript();
}
void Reset() OVERRIDE {}
void Reset() OVERRIDE { }
void AttackStart(Unit* /*who*/) OVERRIDE {}
void AttackStart(Unit* /*who*/) OVERRIDE { }
void UpdateAI(uint32 uiDiff) OVERRIDE
{
@@ -407,7 +407,7 @@ class player_overlord_brandAI : public PlayerAI
me->CastCustomSpell(SPELL_OVERLORD_BRAND_HEAL, SPELLVALUE_BASE_POINT0, int32(addHealth*5.5f), tyrannus, true, NULL, NULL, tyrannus->GetGUID());
}
void UpdateAI(uint32 /*diff*/) OVERRIDE {}
void UpdateAI(uint32 /*diff*/) OVERRIDE { }
private:
uint64 _tyrannus;
@@ -56,10 +56,10 @@ public:
{
boss_commander_kolurgAI(Creature* creature) : ScriptedAI(creature) { }
void Reset() OVERRIDE {}
void EnterCombat(Unit* /*who*/) OVERRIDE {}
void AttackStart(Unit* /*who*/) OVERRIDE {}
void MoveInLineOfSight(Unit* /*who*/) OVERRIDE {}
void Reset() OVERRIDE { }
void EnterCombat(Unit* /*who*/) OVERRIDE { }
void AttackStart(Unit* /*who*/) OVERRIDE { }
void MoveInLineOfSight(Unit* /*who*/) OVERRIDE { }
void UpdateAI(uint32 /*diff*/) OVERRIDE
{
@@ -69,7 +69,7 @@ public:
DoMeleeAttackIfReady();
}
void JustDied(Unit* /*killer*/) OVERRIDE {}
void JustDied(Unit* /*killer*/) OVERRIDE { }
};
};
@@ -50,9 +50,9 @@ public:
{
boss_commander_stoutbeardAI(Creature* creature) : ScriptedAI(creature) { }
void Reset() OVERRIDE {}
void AttackStart(Unit* /*who*/) OVERRIDE {}
void MoveInLineOfSight(Unit* /*who*/) OVERRIDE {}
void Reset() OVERRIDE { }
void AttackStart(Unit* /*who*/) OVERRIDE { }
void MoveInLineOfSight(Unit* /*who*/) OVERRIDE { }
void UpdateAI(uint32 /*diff*/) OVERRIDE
{
@@ -858,7 +858,7 @@ class npc_pool_of_tar : public CreatureScript
me->CastSpell(me, SPELL_BLAZE, true);
}
void UpdateAI(uint32 /*diff*/) OVERRIDE {}
void UpdateAI(uint32 /*diff*/) OVERRIDE { }
};
CreatureAI* GetAI(Creature* creature) const OVERRIDE
@@ -851,7 +851,7 @@ class npc_darkrune_watcher : public CreatureScript
struct npc_darkrune_watcherAI : public ScriptedAI
{
npc_darkrune_watcherAI(Creature* creature) : ScriptedAI(creature){}
npc_darkrune_watcherAI(Creature* creature) : ScriptedAI(creature){ }
uint32 ChainTimer;
uint32 LightTimer;
@@ -900,7 +900,7 @@ class npc_darkrune_guardian : public CreatureScript
struct npc_darkrune_guardianAI : public ScriptedAI
{
npc_darkrune_guardianAI(Creature* creature) : ScriptedAI(creature){}
npc_darkrune_guardianAI(Creature* creature) : ScriptedAI(creature){ }
uint32 StormTimer;
@@ -955,7 +955,7 @@ class npc_darkrune_sentinel : public CreatureScript
struct npc_darkrune_sentinelAI : public ScriptedAI
{
npc_darkrune_sentinelAI(Creature* creature) : ScriptedAI(creature){}
npc_darkrune_sentinelAI(Creature* creature) : ScriptedAI(creature){ }
uint32 HeroicTimer;
uint32 WhirlTimer;
@@ -459,7 +459,7 @@ class npc_xt002_heart : public CreatureScript
SetCombatMovement(false);
}
void UpdateAI(uint32 /*diff*/) OVERRIDE {}
void UpdateAI(uint32 /*diff*/) OVERRIDE { }
void JustDied(Unit* /*killer*/) OVERRIDE
{
@@ -1047,7 +1047,7 @@ class boss_brain_of_yogg_saron : public CreatureScript
}
}
void UpdateAI(uint32 /*diff*/) OVERRIDE {}
void UpdateAI(uint32 /*diff*/) OVERRIDE { }
void DoAction(int32 action) OVERRIDE
{
@@ -1132,7 +1132,7 @@ class npc_ominous_cloud : public CreatureScript
}
}
void UpdateAI(uint32 /*diff*/) OVERRIDE {}
void UpdateAI(uint32 /*diff*/) OVERRIDE { }
void DoAction(int32 action) OVERRIDE
{
@@ -1400,7 +1400,7 @@ class npc_influence_tentacle : public CreatureScript
brain->AI()->DoAction(ACTION_TENTACLE_KILLED);
}
void UpdateAI(uint32 /*diff*/) OVERRIDE {}
void UpdateAI(uint32 /*diff*/) OVERRIDE { }
private:
InstanceScript* _instance;
@@ -1431,7 +1431,7 @@ class npc_descend_into_madness : public CreatureScript
me->DespawnOrUnsummon();
}
void UpdateAI(uint32 /*diff*/) OVERRIDE {}
void UpdateAI(uint32 /*diff*/) OVERRIDE { }
private:
InstanceScript* _instance;
@@ -1544,7 +1544,7 @@ class npc_observation_ring_keeper : public CreatureScript
}
}
void UpdateAI(uint32 /*diff*/) OVERRIDE {}
void UpdateAI(uint32 /*diff*/) OVERRIDE { }
};
CreatureAI* GetAI(Creature* creature) const OVERRIDE
@@ -1914,7 +1914,7 @@ class npc_laughing_skull : public CreatureScript
}
// don't evade, otherwise the Lunatic Gaze aura is removed
void UpdateAI(uint32 /*diff*/) OVERRIDE {}
void UpdateAI(uint32 /*diff*/) OVERRIDE { }
};
CreatureAI* GetAI(Creature* creature) const OVERRIDE
@@ -514,7 +514,7 @@ public:
{
npc_spectatorAI(Creature* creature) : ScriptedAI(creature) { }
void Reset() OVERRIDE {}
void Reset() OVERRIDE { }
void MovementInform(uint32 motionType, uint32 pointId) OVERRIDE
{
@@ -87,7 +87,7 @@ public:
instance->SetData(DATA_CYANIGOSA_EVENT, IN_PROGRESS);
}
void MoveInLineOfSight(Unit* /*who*/) OVERRIDE {}
void MoveInLineOfSight(Unit* /*who*/) OVERRIDE { }
void UpdateAI(uint32 diff) OVERRIDE
@@ -142,7 +142,7 @@ public:
}
}
void MoveInLineOfSight(Unit* /*who*/) OVERRIDE {}
void MoveInLineOfSight(Unit* /*who*/) OVERRIDE { }
void UpdateAI(uint32 diff) OVERRIDE
@@ -303,7 +303,7 @@ public:
}
}
void MoveInLineOfSight(Unit* /*who*/) OVERRIDE {}
void MoveInLineOfSight(Unit* /*who*/) OVERRIDE { }
void UpdateAI(uint32 diff) OVERRIDE
@@ -206,7 +206,7 @@ public:
return 0;
}
void MoveInLineOfSight(Unit* /*who*/) OVERRIDE {}
void MoveInLineOfSight(Unit* /*who*/) OVERRIDE { }
void UpdateAI(uint32 uiDiff) OVERRIDE
@@ -100,7 +100,7 @@ public:
}
}
void MoveInLineOfSight(Unit* /*who*/) OVERRIDE {}
void MoveInLineOfSight(Unit* /*who*/) OVERRIDE { }
void UpdateAI(uint32 diff) OVERRIDE
Loaded 100 of 312 files, more files were not shown because too many files have changed in this diff. Show more