diff --git a/zone/bot.cpp b/zone/bot.cpp index 02a749f57..ed33fe8e8 100644 --- a/zone/bot.cpp +++ b/zone/bot.cpp @@ -6228,6 +6228,7 @@ bool Bot::DoFinishedSpellSingleTarget(uint16 spell_id, Mob* spellTarget, uint16 if((spelltypeequal || spelltypetargetequal) || spelltypeclassequal || slotequal) { if(((spells[thespell].effectid[0] == 0) && (spells[thespell].base[0] < 0)) && (spellTarget->GetHP() < ((spells[thespell].base[0] * (-1)) + 100))) { + Log.Out(Logs::General, Logs::Spells, "Bot::DoFinishedSpellSingleTarget - GroupBuffing failure"); return false; } diff --git a/zone/bot_database.cpp b/zone/bot_database.cpp index f8ab5c3d2..c9c5b594d 100644 --- a/zone/bot_database.cpp +++ b/zone/bot_database.cpp @@ -2322,7 +2322,7 @@ bool BotDatabase::LoadBotGroupIDForLoadBotGroup(const uint32 owner_id, const std if (!owner_id || group_name.empty()) return false; - query = StringFormat("SELECT `groups_index`, `group_name` FROM `vw_bot_groups` WHERE `owner_id` = '%u' LIMIT 1", owner_id); + query = StringFormat("SELECT `groups_index`, `group_name` FROM `vw_bot_groups` WHERE `owner_id` = '%u'", owner_id); auto results = QueryDatabase(query); if (!results.Success()) return false;