Cleanup of logging - removed a few duplicit functions from olden times, fixed a typo.
--HG-- branch : trunk
This commit is contained in:
@@ -143,7 +143,7 @@ struct boss_brutallusAI : public ScriptedAI
|
||||
{
|
||||
if (!Intro || IsIntro)
|
||||
return;
|
||||
error_log("Start Intro");
|
||||
sLog.outError("Start Intro");
|
||||
Creature *Madrigosa = Unit::GetCreature(*me, pInstance ? pInstance->GetData64(DATA_MADRIGOSA) : 0);
|
||||
if (Madrigosa)
|
||||
{
|
||||
@@ -158,7 +158,7 @@ struct boss_brutallusAI : public ScriptedAI
|
||||
}else
|
||||
{
|
||||
//Madrigosa not found, end intro
|
||||
error_log("Madrigosa was not found");
|
||||
sLog.outError("Madrigosa was not found");
|
||||
EndIntro();
|
||||
}
|
||||
}
|
||||
@@ -168,7 +168,7 @@ struct boss_brutallusAI : public ScriptedAI
|
||||
me->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE);
|
||||
Intro = false;
|
||||
IsIntro = false;
|
||||
error_log("End Intro");
|
||||
sLog.outError("End Intro");
|
||||
}
|
||||
|
||||
void AttackStart(Unit* pWho)
|
||||
|
||||
@@ -260,7 +260,7 @@ struct boss_kalecgosAI : public ScriptedAI
|
||||
}
|
||||
else
|
||||
{
|
||||
error_log("TSCR: Didn't find Shathrowar. Kalecgos event reseted.");
|
||||
sLog.outError("TSCR: Didn't find Shathrowar. Kalecgos event reseted.");
|
||||
EnterEvadeMode();
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -727,7 +727,7 @@ struct boss_kiljaedenAI : public Scripted_NoMovementAI
|
||||
if (pRandomPlayer)
|
||||
DoCast(pRandomPlayer, SPELL_LEGION_LIGHTNING, false);
|
||||
else
|
||||
error_log("try to cast SPELL_LEGION_LIGHTNING on invalid target");
|
||||
sLog.outError("try to cast SPELL_LEGION_LIGHTNING on invalid target");
|
||||
|
||||
Timer[TIMER_LEGION_LIGHTNING] = (Phase == PHASE_SACRIFICE) ? 18000 : 30000; // 18 seconds in PHASE_SACRIFICE
|
||||
Timer[TIMER_SOUL_FLAY] = 2500;
|
||||
@@ -1341,7 +1341,7 @@ struct mob_sinster_reflectionAI : public ScriptedAI
|
||||
DoMeleeAttackIfReady();
|
||||
break;
|
||||
}
|
||||
debug_log("Sinister-Timer");
|
||||
sLog.outDebug("Sinister-Timer");
|
||||
for (uint8 i = 0; i < 3; ++i)
|
||||
uiTimer[i] -= diff;
|
||||
}
|
||||
|
||||
@@ -110,7 +110,7 @@ struct instance_sunwell_plateau : public ScriptedInstance
|
||||
}
|
||||
}
|
||||
|
||||
debug_log("TSCR: Instance Sunwell Plateau: GetPlayerInMap, but PlayerList is empty!");
|
||||
sLog.outDebug("TSCR: Instance Sunwell Plateau: GetPlayerInMap, but PlayerList is empty!");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user