Skip to main content

hasClass[]

Returns 1 if a specific Class 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 classes: Mage (id=mage) with a level of 1 Hunter (id=hunter) with a level of 4

Usage#

hasClass[mage]

Returns: 1

Usage#

hasClass[hunter]

Returns: 1

Usage#

hasClass[necromancer]

Returns: 0