đĸ Number Format
caution
These number formats work in most places, except for the early-developed item-data stuff. We'll try to redesign the number support during the next item system refactor, to better handle randomized items.
constantâ
Provide a fixed numerical value.
type: constant
value: 1
tip
In most cases, you can use the following abbreviated notation.
count:
type: constant
value: 1
->
count: 1
uniformâ
Provide a random number within the given range.
type: uniform
min: 1
max: 3
tip
In most cases, you can use the following abbreviated notation.
count:
type: uniform
min: 1
max: 3
->
count: 1~3
Both min
and max
also support the nested use of number provider
.
count:
type: uniform
min:
type: uniform
min: 2
max: 7
max: "<papi:skilllevel_farming>*5~<papi:skilllevel_farming>*10"
expressionâ
https://ezylang.github.io/EvalEx/references/references.html
type: expression
expression: "20 + 70 / 2"
tip
In most cases, you can use the following abbreviated notation.
count:
type: expression
expression: "<papi:skilllevel_farming> / 20 + 5"
->
count: "<papi:skilllevel_farming> / 20 + 5"