aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/Outland/BlackTemple
diff options
context:
space:
mode:
authorSpp <spp@jorge.gr>2011-09-29 12:43:05 +0200
committerSpp <spp@jorge.gr>2011-09-29 12:43:05 +0200
commitb16d2245bbd374805d15cdca585e8b42bf139605 (patch)
treeb7b63c567112e1999a2566611363cf5e83adb1be /src/server/scripts/Outland/BlackTemple
parent8b820baa7324d41df264f48e344d62584bff70f8 (diff)
Cosmetic: Multiple cosmetic changes
- Added missing space to 'if', 'for', 'while' and 'switch' when it's followed by '(' - Added missing space after a comma and remove space before comma (with some exceptions) - Remove trailing spaces - Convert tab to spaces Note: Only affects files with extension "cpp" and "h" under /src/server
Diffstat (limited to 'src/server/scripts/Outland/BlackTemple')
-rw-r--r--src/server/scripts/Outland/BlackTemple/boss_illidan.cpp32
-rw-r--r--src/server/scripts/Outland/BlackTemple/boss_mother_shahraz.cpp2
-rw-r--r--src/server/scripts/Outland/BlackTemple/boss_reliquary_of_souls.cpp2
-rw-r--r--src/server/scripts/Outland/BlackTemple/boss_shade_of_akama.cpp4
-rw-r--r--src/server/scripts/Outland/BlackTemple/boss_supremus.cpp2
-rw-r--r--src/server/scripts/Outland/BlackTemple/boss_warlord_najentus.cpp2
-rw-r--r--src/server/scripts/Outland/BlackTemple/instance_black_temple.cpp10
7 files changed, 27 insertions, 27 deletions
diff --git a/src/server/scripts/Outland/BlackTemple/boss_illidan.cpp b/src/server/scripts/Outland/BlackTemple/boss_illidan.cpp
index e873f31d03c..612065d5ee6 100644
--- a/src/server/scripts/Outland/BlackTemple/boss_illidan.cpp
+++ b/src/server/scripts/Outland/BlackTemple/boss_illidan.cpp
@@ -635,7 +635,7 @@ public:
void EnterPhase(PhaseIllidan NextPhase)
{
DoZoneInCombat();
- switch(NextPhase)
+ switch (NextPhase)
{
case PHASE_NORMAL:
case PHASE_NORMAL_2:
@@ -790,7 +790,7 @@ public:
void HandleFlightSequence()
{
- switch(FlightCount)
+ switch (FlightCount)
{
case 1://lift off
me->HandleEmoteCommand(EMOTE_ONESHOT_LIFTOFF);
@@ -915,7 +915,7 @@ public:
SetEquipmentSlots(false, EQUIP_UNEQUIP, EQUIP_UNEQUIP, EQUIP_NO_CHANGE);
}
- switch(TransformCount)
+ switch (TransformCount)
{
case 2:
DoResetThreat();
@@ -959,7 +959,7 @@ public:
}
}
- switch(Phase)
+ switch (Phase)
{
case PHASE_NORMAL:
if (HealthBelowPct(65))
@@ -999,7 +999,7 @@ public:
if (Phase == PHASE_NORMAL || Phase == PHASE_NORMAL_2 || (Phase == PHASE_NORMAL_MAIEV && !me->HasAura(SPELL_CAGED)))
{
- switch(Event)
+ switch (Event)
{
//PHASE_NORMAL
case EVENT_BERSERK:
@@ -1073,7 +1073,7 @@ public:
if (Phase == PHASE_FLIGHT)
{
- switch(Event)
+ switch (Event)
{
case EVENT_FIREBALL:
DoCast(SelectTarget(SELECT_TARGET_RANDOM, 0), SPELL_FIREBALL);
@@ -1106,7 +1106,7 @@ public:
if (Phase == PHASE_DEMON)
{
- switch(Event)
+ switch (Event)
{
case EVENT_SHADOW_BLAST:
me->GetMotionMaster()->Clear(false);
@@ -1219,7 +1219,7 @@ public:
void EnterPhase(PhaseIllidan NextPhase)//This is in fact Illidan's phase.
{
- switch(NextPhase)
+ switch (NextPhase)
{
case PHASE_TALK_SEQUENCE:
if (Timer[EVENT_MAIEV_STEALTH])
@@ -1298,7 +1298,7 @@ public:
else Timer[i] -= diff;
}
- switch(Event)
+ switch (Event)
{
case EVENT_MAIEV_STEALTH:
{
@@ -1541,7 +1541,7 @@ public:
{
if (!pInstance)
return;
- switch(NextPhase)
+ switch (NextPhase)
{
case PHASE_CHANNEL:
BeginChannel();
@@ -1603,7 +1603,7 @@ public:
void HandleTalkSequence()
{
- switch(TalkCount)
+ switch (TalkCount)
{
case 0:
if (GETCRE(Illidan, IllidanGUID))
@@ -1638,7 +1638,7 @@ public:
return;
}
- switch(ChannelCount)
+ switch (ChannelCount)
{
case 0: // channel failed
me->InterruptNonMeleeSpells(true);
@@ -1686,7 +1686,7 @@ public:
void HandleWalkSequence()
{
- switch(WalkCount)
+ switch (WalkCount)
{
case 6:
for (uint8 i = 0; i < 2; ++i)
@@ -1734,7 +1734,7 @@ public:
if (Event)
{
- switch(Phase)
+ switch (Phase)
{
case PHASE_CHANNEL:
if (JustCreated)
@@ -1872,7 +1872,7 @@ void boss_illidan_stormrage::boss_illidan_stormrageAI::Reset()
void boss_illidan_stormrage::boss_illidan_stormrageAI::JustSummoned(Creature* summon)
{
Summons.Summon(summon);
- switch(summon->GetEntry())
+ switch (summon->GetEntry())
{
case PARASITIC_SHADOWFIEND:
{
@@ -1918,7 +1918,7 @@ void boss_illidan_stormrage::boss_illidan_stormrageAI::JustSummoned(Creature* su
void boss_illidan_stormrage::boss_illidan_stormrageAI::HandleTalkSequence()
{
- switch(TalkCount)
+ switch (TalkCount)
{
case 0:
me->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE);
diff --git a/src/server/scripts/Outland/BlackTemple/boss_mother_shahraz.cpp b/src/server/scripts/Outland/BlackTemple/boss_mother_shahraz.cpp
index 9311e1e6744..4d79098689c 100644
--- a/src/server/scripts/Outland/BlackTemple/boss_mother_shahraz.cpp
+++ b/src/server/scripts/Outland/BlackTemple/boss_mother_shahraz.cpp
@@ -196,7 +196,7 @@ public:
BeamTimer = 9000;
- switch(CurrentBeam)
+ switch (CurrentBeam)
{
case 0:
DoCast(target, SPELL_BEAM_SINISTER);
diff --git a/src/server/scripts/Outland/BlackTemple/boss_reliquary_of_souls.cpp b/src/server/scripts/Outland/BlackTemple/boss_reliquary_of_souls.cpp
index 813deacf7a2..746ad9aa7ff 100644
--- a/src/server/scripts/Outland/BlackTemple/boss_reliquary_of_souls.cpp
+++ b/src/server/scripts/Outland/BlackTemple/boss_reliquary_of_souls.cpp
@@ -256,7 +256,7 @@ public:
if (Timer <= diff)
{
- switch(Counter)
+ switch (Counter)
{
case 0:
me->SetUInt32Value(UNIT_NPC_EMOTESTATE, EMOTE_STATE_READY2H); // I R ANNNGRRRY!
diff --git a/src/server/scripts/Outland/BlackTemple/boss_shade_of_akama.cpp b/src/server/scripts/Outland/BlackTemple/boss_shade_of_akama.cpp
index 852f69597b9..04646fb10bc 100644
--- a/src/server/scripts/Outland/BlackTemple/boss_shade_of_akama.cpp
+++ b/src/server/scripts/Outland/BlackTemple/boss_shade_of_akama.cpp
@@ -673,7 +673,7 @@ public:
if (type != POINT_MOTION_TYPE)
return;
- switch(id)
+ switch (id)
{
case 0: ++WayPointId; break;
@@ -803,7 +803,7 @@ public:
{
if (SoulRetrieveTimer <= diff)
{
- switch(EndingTalkCount)
+ switch (EndingTalkCount)
{
case 0:
me->HandleEmoteCommand(EMOTE_ONESHOT_ROAR);
diff --git a/src/server/scripts/Outland/BlackTemple/boss_supremus.cpp b/src/server/scripts/Outland/BlackTemple/boss_supremus.cpp
index ce4d7745a68..4b235906505 100644
--- a/src/server/scripts/Outland/BlackTemple/boss_supremus.cpp
+++ b/src/server/scripts/Outland/BlackTemple/boss_supremus.cpp
@@ -200,7 +200,7 @@ public:
while (uint32 eventId = events.ExecuteEvent())
{
- switch(eventId)
+ switch (eventId)
{
case EVENT_BERSERK:
DoCast(me, SPELL_BERSERK, true);
diff --git a/src/server/scripts/Outland/BlackTemple/boss_warlord_najentus.cpp b/src/server/scripts/Outland/BlackTemple/boss_warlord_najentus.cpp
index 080d26b7c49..c017b943954 100644
--- a/src/server/scripts/Outland/BlackTemple/boss_warlord_najentus.cpp
+++ b/src/server/scripts/Outland/BlackTemple/boss_warlord_najentus.cpp
@@ -154,7 +154,7 @@ public:
while (uint32 eventId = events.ExecuteEvent())
{
- switch(eventId)
+ switch (eventId)
{
case EVENT_SHIELD:
DoCast(me, SPELL_TIDAL_SHIELD, true);
diff --git a/src/server/scripts/Outland/BlackTemple/instance_black_temple.cpp b/src/server/scripts/Outland/BlackTemple/instance_black_temple.cpp
index 4feca05c111..d578b62c24b 100644
--- a/src/server/scripts/Outland/BlackTemple/instance_black_temple.cpp
+++ b/src/server/scripts/Outland/BlackTemple/instance_black_temple.cpp
@@ -142,7 +142,7 @@ public:
void OnCreatureCreate(Creature* creature)
{
- switch(creature->GetEntry())
+ switch (creature->GetEntry())
{
case 22887: Najentus = creature->GetGUID(); break;
case 23089: Akama = creature->GetGUID(); break;
@@ -161,7 +161,7 @@ public:
void OnGameObjectCreate(GameObject* go)
{
- switch(go->GetEntry())
+ switch (go->GetEntry())
{
case 185483: NajentusGate = go->GetGUID();// Gate past Naj'entus (at the entrance to Supermoose's courtyards)
if (m_auiEncounter[0] == DONE)HandleGameObject(0, true, go);break;
@@ -190,7 +190,7 @@ public:
uint64 GetData64(uint32 identifier)
{
- switch(identifier)
+ switch (identifier)
{
case DATA_HIGHWARLORDNAJENTUS: return Najentus;
case DATA_AKAMA: return Akama;
@@ -216,7 +216,7 @@ public:
void SetData(uint32 type, uint32 data)
{
- switch(type)
+ switch (type)
{
case DATA_HIGHWARLORDNAJENTUSEVENT:
if (data == DONE)
@@ -298,7 +298,7 @@ public:
uint32 GetData(uint32 type)
{
- switch(type)
+ switch (type)
{
case DATA_HIGHWARLORDNAJENTUSEVENT: return m_auiEncounter[0];
case DATA_SUPREMUSEVENT: return m_auiEncounter[1];