Skip to main content

classLevel[]

Returns the level of a specific class. This is a subscribed method, if your stat references this method it will be updated anytime the affected outcome would change.

In this example let's assume the player has 2 classes: Mage (id=mage) with a level of 1 Hunter (id=hunter) with a level of 4

Usage#

classLevel[mage]

Returns: 1

Usage#

classLevel[hunter]

Returns: 4

Usage#

classLevel[necromancer]

Returns: 0