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:
Keller (KJack)
2023-05-14 06:26:12 -04:00
committed by GitHub
parent 89acad2145
commit 7fcb57e5ab
5 changed files with 56 additions and 19 deletions
+1 -1
View File
@@ -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;