diff options
| author | Spp <none@none> | 2010-04-07 23:56:35 +0200 |
|---|---|---|
| committer | Spp <none@none> | 2010-04-07 23:56:35 +0200 |
| commit | 46f0674e237dd8fe97ba4f0769e18b4adfce841b (patch) | |
| tree | 4556d27751077c2ed37a445493ed93a4d08e981b /src/scripts/northrend | |
| parent | 2454c290b84e04bd0321ca94e0be8c8dc7eedbe8 (diff) | |
Code Style (game + scripts only):
">=" --> " >= " (when needed)
" >=" --> " >="
">= " --> ">= "
"<=" --> " <= " (when needed)
" <=" --> " <="
"<= " --> "<= "
" ==" --> " =="
"== " --> "== "
--HG--
branch : trunk
Diffstat (limited to 'src/scripts/northrend')
4 files changed, 7 insertions, 7 deletions
diff --git a/src/scripts/northrend/nexus/eye_of_eternity/boss_malygos.cpp b/src/scripts/northrend/nexus/eye_of_eternity/boss_malygos.cpp index 0077add4755..dc7a3c71a5c 100644 --- a/src/scripts/northrend/nexus/eye_of_eternity/boss_malygos.cpp +++ b/src/scripts/northrend/nexus/eye_of_eternity/boss_malygos.cpp @@ -131,11 +131,11 @@ struct boss_malygosAI : public ScriptedAI if (victim == m_creature) return; - if (phase == 1) + if (phase == 1) DoScriptText(RAND(SAY_PHASE1_SLAY_1,SAY_PHASE1_SLAY_2,SAY_PHASE1_SLAY_3), m_creature); - if (phase == 2) + if (phase == 2) DoScriptText(RAND(SAY_PHASE2_SLAY_1,SAY_PHASE2_SLAY_2,SAY_PHASE2_SLAY_3), m_creature); - if (phase == 3) + if (phase == 3) DoScriptText(RAND(SAY_PHASE3_SLAY_1,SAY_PHASE3_SLAY_2,SAY_PHASE3_SLAY_3), m_creature); } }; diff --git a/src/scripts/northrend/nexus/nexus/boss_ormorok.cpp b/src/scripts/northrend/nexus/nexus/boss_ormorok.cpp index 20d38148ee9..894ae9d2a56 100644 --- a/src/scripts/northrend/nexus/nexus/boss_ormorok.cpp +++ b/src/scripts/northrend/nexus/nexus/boss_ormorok.cpp @@ -170,7 +170,7 @@ struct boss_ormorokAI : public ScriptedAI { Unit *pTarget = NULL; uint8 Healer = 0; - for (uint8 j = 1; j<=4; j++) + for (uint8 j = 1; j <= 4; j++) { switch (j) { diff --git a/src/scripts/northrend/ulduar/ulduar/boss_algalon.cpp b/src/scripts/northrend/ulduar/ulduar/boss_algalon.cpp index 48adc36cfd4..0d174800eed 100644 --- a/src/scripts/northrend/ulduar/ulduar/boss_algalon.cpp +++ b/src/scripts/northrend/ulduar/ulduar/boss_algalon.cpp @@ -314,7 +314,7 @@ struct boss_algalonAI : public ScriptedAI { if (Enrage) { - if (Ascend_Timer <= diff) + if (Ascend_Timer <= diff) { DoCast(m_creature, SPELL_ASCEND); DoScriptText(SAY_BERSERK, m_creature); diff --git a/src/scripts/northrend/utgarde_keep/utgarde_pinnacle/boss_palehoof.cpp b/src/scripts/northrend/utgarde_keep/utgarde_pinnacle/boss_palehoof.cpp index df14331a870..3c6d4875ae8 100644 --- a/src/scripts/northrend/utgarde_keep/utgarde_pinnacle/boss_palehoof.cpp +++ b/src/scripts/northrend/utgarde_keep/utgarde_pinnacle/boss_palehoof.cpp @@ -705,9 +705,9 @@ struct mob_palehoof_orbAI : public ScriptedAI if (currentPhase == PHASE_NONE) return; - if (SummonTimer<=diff) + if (SummonTimer <= diff) { - if (currentPhase<5&¤tPhase>=0) + if (currentPhase<5&¤tPhase >= 0) { Creature *pNext; switch(currentPhase) |
