Scripts: Reorder file names in Commands/CMakeList file and cosmetic changes in all scripts
This commit is contained in:
@@ -41,7 +41,7 @@ public:
|
||||
|
||||
struct celebras_the_cursedAI : public ScriptedAI
|
||||
{
|
||||
celebras_the_cursedAI(Creature *c) : ScriptedAI(c) {}
|
||||
celebras_the_cursedAI(Creature* c) : ScriptedAI(c) {}
|
||||
|
||||
uint32 Wrath_Timer;
|
||||
uint32 EntanglingRoots_Timer;
|
||||
@@ -69,7 +69,7 @@ public:
|
||||
//Wrath
|
||||
if (Wrath_Timer <= diff)
|
||||
{
|
||||
Unit *pTarget = NULL;
|
||||
Unit* pTarget = NULL;
|
||||
pTarget = SelectTarget(SELECT_TARGET_RANDOM, 0);
|
||||
if (pTarget)
|
||||
DoCast(pTarget, SPELL_WRATH);
|
||||
|
||||
@@ -41,7 +41,7 @@ public:
|
||||
|
||||
struct boss_landslideAI : public ScriptedAI
|
||||
{
|
||||
boss_landslideAI(Creature *c) : ScriptedAI(c) {}
|
||||
boss_landslideAI(Creature* c) : ScriptedAI(c) {}
|
||||
|
||||
uint32 KnockAway_Timer;
|
||||
uint32 Trample_Timer;
|
||||
|
||||
@@ -40,7 +40,7 @@ public:
|
||||
|
||||
struct boss_noxxionAI : public ScriptedAI
|
||||
{
|
||||
boss_noxxionAI(Creature *c) : ScriptedAI(c) {}
|
||||
boss_noxxionAI(Creature* c) : ScriptedAI(c) {}
|
||||
|
||||
uint32 ToxicVolley_Timer;
|
||||
uint32 Uppercut_Timer;
|
||||
@@ -63,7 +63,7 @@ public:
|
||||
|
||||
void SummonAdds(Unit* pVictim)
|
||||
{
|
||||
if (Creature *Add = DoSpawnCreature(13456, float(irand(-7, 7)), float(irand(-7, 7)), 0, 0, TEMPSUMMON_TIMED_OR_CORPSE_DESPAWN, 90000))
|
||||
if (Creature* Add = DoSpawnCreature(13456, float(irand(-7, 7)), float(irand(-7, 7)), 0, 0, TEMPSUMMON_TIMED_OR_CORPSE_DESPAWN, 90000))
|
||||
Add->AI()->AttackStart(pVictim);
|
||||
}
|
||||
|
||||
|
||||
@@ -42,7 +42,7 @@ public:
|
||||
|
||||
struct boss_ptheradrasAI : public ScriptedAI
|
||||
{
|
||||
boss_ptheradrasAI(Creature *c) : ScriptedAI(c) {}
|
||||
boss_ptheradrasAI(Creature* c) : ScriptedAI(c) {}
|
||||
|
||||
uint32 Dustfield_Timer;
|
||||
uint32 Boulder_Timer;
|
||||
@@ -81,7 +81,7 @@ public:
|
||||
//Boulder_Timer
|
||||
if (Boulder_Timer <= diff)
|
||||
{
|
||||
Unit *pTarget = NULL;
|
||||
Unit* pTarget = NULL;
|
||||
pTarget = SelectTarget(SELECT_TARGET_RANDOM, 0);
|
||||
if (pTarget)
|
||||
DoCast(pTarget, SPELL_BOULDER);
|
||||
|
||||
Reference in New Issue
Block a user