[Hotfix] Fix issue with Bot Loading with 0 Health causing buffs to be lost. (#2552)

This commit is contained in:
Aeadoin 2022-11-18 17:27:59 -05:00 committed by GitHub
parent 0003f6f863
commit 5173a9179b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,