DEFINEMAXLEVELSTAT (Game Mode: statsandchecks.lst) - PCGen Documentation

# DEFINEMAXLEVELSTAT (Game Mode: statsandchecks.lst)

## Status

None

## Syntax

`DEFINE:MAXLEVELSTAT:x|y`

## Parameters

- x: Text (stat abbreviation).
- y: formula (formula that gives the desired maximum).

## What it does

Determines the maximum level of spell/ability you can use based on the referenced stat.

The only known hardcode VAR with a = in it.

## Example

`DEFINE:MAXLEVELSTAT:WIS|WISSCORE-10`

Maximum spell level is Wisdom -10 (<ABB>SCORE is the variable name for the stat value).

## Where it is used

STATNAME Line.

Documentation built with Hugo using the Material theme.