Exports

CLIENT / SERVER

exports['dh_skillTree']:hasUnlockedSkill(skill ,uid ,source)

Arguments:

  • skill - skill category name

  • uid - skill uid

  • source (SERVER SIDE)

Returns: nil or true

exports['dh_skillTree']:addXp(skill ,xp ,source)

Arguments:

  • skill - skill category name

  • xp - number

  • source (SERVER SIDE)

exports['dh_skillTree']:addPoints(skill ,points ,source)

Arguments:

  • skill - skill category name

  • points - number

  • source (SERVER SIDE)

exports['dh_skillTree']:getSkillEffect(skill ,uid)

Arguments:

  • skill - skill category name

  • uid - skill uid

Returns: effect from config or 0

Last updated