mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
[Log] Log info level
This commit is contained in:
@@ -376,7 +376,7 @@ void PlayerbotFactory::Randomize(bool incremental)
|
|||||||
if (bot->getLevel() >= 10)
|
if (bot->getLevel() >= 10)
|
||||||
{
|
{
|
||||||
pmo = sPerformanceMonitor->start(PERF_MON_RNDBOT, "PlayerbotFactory_Pet");
|
pmo = sPerformanceMonitor->start(PERF_MON_RNDBOT, "PlayerbotFactory_Pet");
|
||||||
LOG_INFO("playerbots", "Initializing pet...");
|
LOG_DEBUG("playerbots", "Initializing pet...");
|
||||||
InitPet();
|
InitPet();
|
||||||
bot->SaveToDB(false, false);
|
bot->SaveToDB(false, false);
|
||||||
InitPetTalents();
|
InitPetTalents();
|
||||||
@@ -733,7 +733,7 @@ void PlayerbotFactory::InitPet()
|
|||||||
{
|
{
|
||||||
LOG_ERROR("playerbots", "Cannot create pet for bot {}", bot->GetName().c_str());
|
LOG_ERROR("playerbots", "Cannot create pet for bot {}", bot->GetName().c_str());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// LOG_INFO("playerbots", "Start make spell auto cast for {} spells. {} already auto casted.", pet->m_spells.size(), pet->GetPetAutoSpellSize());
|
// LOG_INFO("playerbots", "Start make spell auto cast for {} spells. {} already auto casted.", pet->m_spells.size(), pet->GetPetAutoSpellSize());
|
||||||
for (PetSpellMap::const_iterator itr = pet->m_spells.begin(); itr != pet->m_spells.end(); ++itr)
|
for (PetSpellMap::const_iterator itr = pet->m_spells.begin(); itr != pet->m_spells.end(); ++itr)
|
||||||
|
|||||||
Reference in New Issue
Block a user