feat(Core/Loot): Add Rate.Drop.Item.GroupAmount to increase loot generated from loot groups (#16220)
* Adds the `Rate.Drop.Item.GroupAmount` setting to the world config. Causes top-level loot groups to drop multiple items. Does not affect references. * Don't multiply a group if a quest item gets selected. Avoids strange situations like Arcanist Doan having three hearts. * Resolve syntax error. * Fix whitespace * Fix code style issue
This commit is contained in:
@@ -253,7 +253,7 @@ public:
|
||||
// Adds an entry to the group (at loading stage)
|
||||
void AddEntry(LootStoreItem* item);
|
||||
// Rolls for every item in the template and adds the rolled items the the loot
|
||||
void Process(Loot& loot, LootStore const& store, uint16 lootMode, Player const* player, uint8 groupId = 0) const;
|
||||
void Process(Loot& loot, LootStore const& store, uint16 lootMode, Player const* player, uint8 groupId = 0, bool isTopLevel = true) const;
|
||||
void CopyConditions(ConditionList conditions);
|
||||
bool CopyConditions(LootItem* li, uint32 conditionLootId = 0) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user