Skip to content

Loot Table Primer

TheIllusiveC4 edited this page Jul 3, 2020 · 4 revisions

Overview

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.

Loot Table Source

The source pools for the loot table is located over here.

Entity Property

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.

  1. minTier - Specifies the minimum tier needed by the champion's rank. If set to 0 or left out, there will be no minimum.

  2. 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.

Clone this wiki locally