Skip to main content

hasFocus[]

Returns 1 if a specific Focus is present. 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#

hasFocus[mage]

Returns: 1

Usage#

hasFocus[hunter]

Returns: 1

Usage#

hasFocus[necromancer]

Returns: 0