Skip to main content

focusLevel[]

Returns the level of a specific focus. 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 focuses: Mage (id=mage) with a level of 1 Hunter (id=hunter) with a level of 4

Usage#

focusLevel[mage]

Returns: 1

Usage#

focusLevel[hunter]

Returns: 4

Usage#

focusLevel[necromancer]

Returns: 0