mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 18:52:22 +00:00
Logs::AI to LogAI
This commit is contained in:
+3
-3
@@ -1688,7 +1688,7 @@ void Merc::AI_Process() {
|
||||
if (AI_movement_timer->Check())
|
||||
{
|
||||
if(!IsRooted()) {
|
||||
Log(Logs::Detail, Logs::AI, "Pursuing %s while engaged.", GetTarget()->GetCleanName());
|
||||
LogAI("Pursuing [{}] while engaged", GetTarget()->GetCleanName());
|
||||
RunTo(GetTarget()->GetX(), GetTarget()->GetY(), GetTarget()->GetZ());
|
||||
return;
|
||||
}
|
||||
@@ -1807,7 +1807,7 @@ bool Merc::AI_EngagedCastCheck() {
|
||||
{
|
||||
AIautocastspell_timer->Disable(); //prevent the timer from going off AGAIN while we are casting.
|
||||
|
||||
Log(Logs::Detail, Logs::AI, "Merc Engaged autocast check triggered");
|
||||
LogAI("Merc Engaged autocast check triggered");
|
||||
|
||||
int8 mercClass = GetClass();
|
||||
|
||||
@@ -1862,7 +1862,7 @@ bool Merc::AI_IdleCastCheck() {
|
||||
|
||||
if (AIautocastspell_timer->Check(false)) {
|
||||
#if MercAI_DEBUG_Spells >= 25
|
||||
Log(Logs::Detail, Logs::AI, "Merc Non-Engaged autocast check triggered: %s", this->GetCleanName());
|
||||
LogAI("Merc Non-Engaged autocast check triggered: [{}]", this->GetCleanName());
|
||||
#endif
|
||||
AIautocastspell_timer->Disable(); //prevent the timer from going off AGAIN while we are casting.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user