Method PlayerBotFactory:InitTalentsTree [-] [+]

Spends the talent points of the bot and returns the chosen talent tree.

Synopsis

talentTree = PlayerBotFactory:InitTalentsTree( incremental )
talentTree = PlayerBotFactory:InitTalentsTree( incremental, useTemplate )
talentTree = PlayerBotFactory:InitTalentsTree( incremental, useTemplate, reset )

Arguments

boolean incremental (false)
See method description.
boolean useTemplate (true)

Follow a talent template instead of picking freely.

boolean reset (false)

Reset the talents first.

Returns

number talentTree

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