mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-13 17:09:08 +00:00
miscs(log): log level
This commit is contained in:
@@ -636,7 +636,7 @@ void PlayerbotFactory::InitPet()
|
||||
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)
|
||||
{
|
||||
// LOG_INFO("playerbots", "Start. Make spell {} for pet {} auto cast, bot: {}. state: {}", itr->first, pet->GetName(), bot->GetName(),
|
||||
@@ -653,13 +653,13 @@ void PlayerbotFactory::InitPet()
|
||||
// itr->first, pet->GetName(), bot->GetName());
|
||||
continue;
|
||||
}
|
||||
LOG_INFO("playerbots", "Make spell {} for pet {} auto cast, bot: {}. old_active: {}. old_state: {}.",
|
||||
itr->first, pet->GetName(), bot->GetName(), itr->second.active, itr->second.state);
|
||||
// LOG_INFO("playerbots", "Make spell {} for pet {} auto cast, bot: {}. old_active: {}. old_state: {}.",
|
||||
// itr->first, pet->GetName(), bot->GetName(), itr->second.active, itr->second.state);
|
||||
pet->ToggleAutocast(spellInfo, true);
|
||||
LOG_INFO("playerbots", "AFTER - Make spell {} for pet {} auto cast, bot: {}. active: {}. state: {}.",
|
||||
itr->first, pet->GetName(), bot->GetName(), itr->second.active, itr->second.state);
|
||||
// LOG_INFO("playerbots", "AFTER - Make spell {} for pet {} auto cast, bot: {}. active: {}. state: {}.",
|
||||
// itr->first, pet->GetName(), bot->GetName(), itr->second.active, itr->second.state);
|
||||
}
|
||||
LOG_INFO("playerbots", "AFTER, {} already auto casted.", pet->GetPetAutoSpellSize());
|
||||
// LOG_INFO("playerbots", "AFTER, {} already auto casted.", pet->GetPetAutoSpellSize());
|
||||
pet->SavePetToDB(PET_SAVE_AS_CURRENT);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user