Max
This formula allows you to get the maximum value (number) in an array (list).
Returns
integer | decimal
JSON Format
{
"type": "max",
"components": ...
}
RPG Script
This component can be written in RPG Script as:
max(a, b, c)
Fields
| Field | Type | Required | Description |
|---|---|---|---|
components | StatFormulaComponent | ✓ | The formula for the array (list) of values whose maximum value you want to get. It must return a non-empty list of numbers.@type array<integer | decimal> |