mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 22:58:34 +00:00
[Feature] Add Augments to Starting Items for Bots/Players (#4100)
* [Feature] Add Augments to Starting Items for Bots/Players - Adds support for augments to `bot_starting_items` and `starting_items`. - Will allow operators to kit bots/players out with augmented gear from the start if they so choose. * Update database_update_manifest.cpp * Update client.cpp
This commit is contained in:
@@ -8527,10 +8527,17 @@ void Bot::AddBotStartingItems(uint16 race_id, uint8 class_id)
|
||||
(CanRaceEquipItem(e.item_id) || RuleB(Bots, AllowBotEquipAnyRaceGear))
|
||||
) {
|
||||
auto i = BotInventoriesRepository::NewEntity();
|
||||
|
||||
i.bot_id = GetBotID();
|
||||
i.slot_id = e.slot_id;
|
||||
i.item_id = e.item_id;
|
||||
i.inst_charges = e.item_charges;
|
||||
i.augment_1 = e.augment_one;
|
||||
i.augment_2 = e.augment_two;
|
||||
i.augment_3 = e.augment_three;
|
||||
i.augment_4 = e.augment_four;
|
||||
i.augment_5 = e.augment_five;
|
||||
i.augment_6 = e.augment_six;
|
||||
|
||||
v.emplace_back(i);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user