Skip to main content

MetaStat

This formula allows you to get the value of a stat whose id can be calculated in runtime. The use of this formula should be restricted as much as possible as overuse might result in performance issues in your system. Use strictly where necessary. If you know the id of the stat you want to fetch at the time of writing the system (ie: the id is static and doesn't change at runtime), please use the GetStat (stat) formula instead.

JSON Format

{
"type": "metaStat",
"meta_stat": ...
}

Fields

FieldTypeRequiredDescription
meta_statStatFormulaComponentThe formula for the id of the stat whose value should be fetched. Must compute to a string for a path to an existing stat in the system. See GetStat for more information on paths.