-
Notifications
You must be signed in to change notification settings - Fork 1
Random Entry
fzzyhmstrs edited this page Nov 19, 2024
·
1 revision
Applies an entry from a list of children entries randomly. This is an "OR" entry.
| Key | Type | Value Example | Note |
|---|---|---|---|
"type" |
String |
"lootables:random" |
|
"children" |
Array of Objects |
[
child_entry_1,
child_entry_2,
child_entry_n
] |
Required The sub-entries that are chosen from when this entry is applied. One child from this list will be applied. An empty list is not allowed. The pool/table will fail to parse. |
Slaps a Heal Entry and Experience Entry together
{
"type": "lootables:multi",
"children": [
{
"type": "lootables:heal",
"amount": {
"n": 6,
"p": 0.5
}
},
{
"type": "lootables:xp",
"xp": {
"min": 3.0,
"max": 5.0
},
"levels": true
}
]
}