mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 22:58:34 +00:00
[Database] Add Extra Haste to Bots/Character Tables (#4286)
* [Database] Add Extra Haste to Bots/Character Tables * Remove Database::GetExtraHasteByCharacterID * Update database.h * Update mob.cpp * Update database_update_manifest.cpp --------- Co-authored-by: Akkadius <akkadius1@gmail.com>
This commit is contained in:
@@ -2353,3 +2353,10 @@ const uint16 BotDatabase::GetBotRaceByID(const uint32 bot_id)
|
||||
|
||||
return e.bot_id ? e.race : Race::Doug;
|
||||
}
|
||||
|
||||
const int BotDatabase::GetBotExtraHasteByID(const uint32 bot_id)
|
||||
{
|
||||
const auto& e = BotDataRepository::FindOne(database, bot_id);
|
||||
|
||||
return e.bot_id ? e.extra_haste : 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user