mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 03:08:26 +00:00
[Feature] Add Bot Starting Items (#3634)
* [Feature] Add Bot Starting Items # Notes - This table is similar to the player starting items table, however it uses bitmasks. - Allows operators to give bots gear on creation. - `races` of `0` for all races. - `classes` of `0` for all classes. * Update bot.cpp * Update database_update_manifest_bots.cpp
This commit is contained in:
@@ -9041,6 +9041,8 @@ uint32 helper_bot_create(Client *bot_owner, std::string bot_name, uint8 bot_clas
|
||||
parse->EventPlayer(EVENT_BOT_CREATE, bot_owner, export_string, 0);
|
||||
}
|
||||
|
||||
my_bot->AddBotStartingItems(bot_race, bot_class);
|
||||
|
||||
safe_delete(my_bot);
|
||||
|
||||
return bot_id;
|
||||
|
||||
Reference in New Issue
Block a user