From 5173a9179ba5b2744b67131e26f84917648a2910 Mon Sep 17 00:00:00 2001 From: Aeadoin <109764533+Aeadoin@users.noreply.github.com> Date: Fri, 18 Nov 2022 17:27:59 -0500 Subject: [PATCH] [Hotfix] Fix issue with Bot Loading with 0 Health causing buffs to be lost. (#2552) --- zone/bot_database.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zone/bot_database.cpp b/zone/bot_database.cpp index 3b58dca21..7313ef645 100644 --- a/zone/bot_database.cpp +++ b/zone/bot_database.cpp @@ -452,9 +452,9 @@ bool BotDatabase::LoadBot(const uint32 bot_id, Bot*& loaded_bot) std::stoul(row[17]), // Beard Color std::stoul(row[18]), // Drakkin Heritage std::stoul(row[19]), // Drakkin Tattoo - std::stoul(row[19]), // Drakkin Details - std::stoi(row[20]), // Health - std::stoi(row[21]), // Mana + std::stoul(row[20]), // Drakkin Details + std::stoi(row[21]), // Health + std::stoi(row[22]), // Mana d->MR, d->CR, d->DR,