Method Player:HasTalent [-] [+]

Returns 'true' if the Player has a talent by ID in specified spec, 'false' otherwise.

Synopsis

hasTalent = Player:HasTalent( spellId, spec )

Arguments

number spellId

Talent spellId to check.

Valid numbers: integers from 0 to 4,294,967,295.

number spec

Specified spec. 0 for primary, 1 for secondary..

Valid numbers: integers from 0 to 255.

Returns

boolean hasTalent
See method description.

Generated on
©2016 - Eluna Lua Engine