mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-10 23:20:25 +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:
@@ -118,6 +118,8 @@ Bot::Bot(NPCType *npcTypeData, Client* botOwner) : NPC(npcTypeData, nullptr, glm
|
||||
mana_regen = CalcManaRegen();
|
||||
end_regen = CalcEnduranceRegen();
|
||||
|
||||
SetExtraHaste(database.botdb.GetBotExtraHasteByID(GetBotID()), false);
|
||||
|
||||
strcpy(name, GetCleanName());
|
||||
memset(&_botInspectMessage, 0, sizeof(InspectMessage_Struct));
|
||||
}
|
||||
@@ -445,6 +447,8 @@ Bot::Bot(
|
||||
}
|
||||
|
||||
cur_end = max_end;
|
||||
|
||||
SetExtraHaste(database.botdb.GetBotExtraHasteByID(GetBotID()), false);
|
||||
}
|
||||
|
||||
Bot::~Bot() {
|
||||
|
||||
Reference in New Issue
Block a user