Open
Description
Describe your feature request or suggestion in detail
Description
Enhance the existing reference table loot system to respect minimum and maximum drop counts
Currently, when a creature_loot_template references a "reference" loot table with the MinCount/MaxCount parameters, MinCount is ignored and must just be same as MaxCount
Describe a possible solution to your feature or suggestion in detail
Modify the core loot distribution system to interpret the existing MinCount/MaxCount parameters in creature_loot_template as per-group settings when using reference table, rather than total items.
For example, if there is multiple reference tables with GroupId 1 and GroupId 2, and the creature_loot_template specifies Min/Max= 2 for GroupId 1 and MinCount=2, MaxCount=3 for GroupId 2, the system would attempt to drop:
- 2 items from GroupId 1
- 2-3 items from GroupId 2
Example Use Case
For Archimonde's loot table:
-- This entry would now drop 2 items possibly 3 from each group in reference table 34068
UPDATE creature_loot_template
SET MinCount = 2, MaxCount = 3
WHERE Entry = 17968 AND Reference = 34068;
Additional context
- Uses existing database structure without modifications
- Provides flexible loot control for raid encounters
- Simplifies loot configuration
Ref fix(DB/CreatureLoot) Fix loot table for Archimonde #21785
Ref [Hyjal] Archimonde drops extra gear item #21300
Metadata
Metadata
Assignees
Labels
No labels