Core Concepts

Player Attributes

Player-specific attributes and functions for character state and capabilities

Player-specific attributes and functions only available to the player object.

Core Player Information

specialization

Your specialization index.

player.specialization : specID
player.spec : specID

Player State

falling

Returns true if the player is in the air.

player.falling : falling | false

mounted

Checks if the player is mounted.

player.mounted : true | false

timeStandingStill

Time the player has been standing still.

player.timeStandingStill : tss | 0

Player Abilities & Enhancements

hasTalent

Checks if the player has the given talent or PvP talent. Accepts talent name (non-case-sensitive) or SpellID. Also works with group members.

player.hasTalent(talent) : true | false

Weapon Enchants

mainHandEnchant

Checks if the player has mainhand enchant.

player.mainHandEnchant : true | false

Similar: mainHandEnchantRemains - remaining duration of mainhand enchant

offHandEnchant

Checks if the player has offhand enchant.

player.offHandEnchant : true | false

Similar: offHandEnchantRemains - remaining duration of offhand enchant


Next: Learn about General Tools for timing, events, visuals, and configuration.