Functions: Capped Function - Wynntils/Wynntils GitHub Wiki
None
Returns a capped value from current value and a cap.
This function has 2 required arguments.
- current(Number) → The current value.
- cap(Number) → The maximum value.
CAPPED(<current>;<cap>) → (CappedValue)
CAPPED(1;10) → 1/10