-
Notifications
You must be signed in to change notification settings - Fork 17
Loot Table Primer
All champions get their drops from a single loot table if the loot table is enabled for use from the config file.
This primer is meant to introduce users to all the information they may need to know about the loot table itself to facilitate any sort of external customizations they wish to make.
The source pools for the loot table is located over here.
Champions utilizes a custom condition in the loot table. The code for this condition is located here. You can see an example of its usage in the loot table itself.
Template JSON:
"conditions":
[
{
"condition": "champions:entity_champion",
"entity": "this",
"minTier": 1,
"maxTier": 1
}
]
Note that the minTier and maxTier are optional. If left out, they will just default to 0 and be ignored.
-
minTier - Specifies the minimum tier needed by the champion's rank. If set to 0 or left out, there will be no minimum.
-
maxTier - Specifies the maximum tier needed by the champion's rank. If set to 0 or left out, there will be no maximum.
Leaving out all of these fields is a valid configuration and will result in the loot being dropped by all champions.