Code Style (game + scripts only):
">=" --> " >= " (when needed) " >=" --> " >=" ">= " --> ">= " "<=" --> " <= " (when needed) " <=" --> " <=" "<= " --> "<= " " ==" --> " ==" "== " --> "== " --HG-- branch : trunk
This commit is contained in:
@@ -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);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user