chore(Core): Code Reduction dealing with Logging, (Cosmetic only). (#8686)

This commit is contained in:
acidmanifesto
2021-10-24 21:33:16 -04:00
committed by GitHub
parent 0247db86d0
commit 0df821cbb0
14 changed files with 80 additions and 80 deletions

View File

@@ -337,7 +337,7 @@ public:
void SetData(uint32 type, uint32 data) override
{
LOG_DEBUG("scripts.ai", "TSCR: Instance Blackrock Depths: SetData update (Type: %u Data %u)", type, data);
LOG_DEBUG("scripts.ai", "Instance Blackrock Depths: SetData update (Type: %u Data %u)", type, data);
switch (type)
{

View File

@@ -239,7 +239,7 @@ public:
void PrepareEncounter()
{
LOG_DEBUG("scripts.ai", "TSCR: Barnes Opera Event - Introduction complete - preparing encounter %d", m_uiEventId);
LOG_DEBUG("scripts.ai", "Barnes Opera Event - Introduction complete - preparing encounter %d", m_uiEventId);
uint8 index = 0;
uint8 count = 0;

View File

@@ -250,7 +250,7 @@ public:
{
AddEscortState(STATE_ESCORT_RETURNING);
ReturnToLastPoint();
LOG_DEBUG("scripts.ai", "TSCR: EscortAI has left combat and is now returning to last point");
LOG_DEBUG("scripts.ai", "EscortAI has left combat and is now returning to last point");
}
else
{

View File

@@ -1455,7 +1455,7 @@ public:
return true;
}
LOG_DEBUG("scripts.ai", "TSCR: npc_commander_dawnforge event already in progress, need to wait.");
LOG_DEBUG("scripts.ai", "npc_commander_dawnforge event already in progress, need to wait.");
return false;
}

View File

@@ -284,7 +284,7 @@ bool EquippedOk(Player* player, uint32 spellId)
if (item && item->GetTemplate()->RequiredSpell == reqSpell)
{
//player has item equipped that require specialty. Not allow to unlearn, player has to unequip first
LOG_DEBUG("scripts.ai", "TSCR: player attempt to unlearn spell %u, but item %u is equipped.", reqSpell, item->GetEntry());
LOG_DEBUG("scripts.ai", "Player attempt to unlearn spell %u, but item %u is equipped.", reqSpell, item->GetEntry());
return false;
}
}

View File

@@ -1179,7 +1179,7 @@ void npc_doctor::npc_doctorAI::UpdateAI(uint32 diff)
patientEntry = HordeSoldierId[rand() % 3];
break;
default:
LOG_ERROR("scripts", "TSCR: Invalid entry for Triage doctor. Please check your database");
LOG_ERROR("scripts", "Invalid entry for Triage doctor. Please check your database");
return;
}