GS2-SkillTree API Reference

Skill tree feature

Implements skill trees used as character progression elements. Players unlock nodes arranged in a tree to acquire skills or improve character parameters.

Each node can define prerequisite nodes, verification actions, and consume actions such as skill points, items, or currency. A node can be unlocked only after its prerequisites and verification conditions are satisfied and its costs are consumed.

Unlocked states are stored per propertyId, allowing multiple characters in one account to maintain independent skill trees. Nodes can also be restrained to support build resets, with the return rate controlling how much of the original cost is refunded.

GS2-Buff can temporarily adjust unlock conditions, costs, and refund rates without rewriting the master data.


Use in your game

Game Engine

Specifications of models and API references for GS2-SkillTree SDK for Game Engine

SDK

Specification of models and API references for GS2-SkillTree SDK for various programming languages

Configuration and integrations

Deploy/CDK

The template format used when creating stacks with GS2-Deploy, and implementation examples of template output in various languages using CDK

Master Data

Reference for the master data format and the models to be imported

Script

Reference for event triggers that call extended scripts

Transaction Action

Specification of verify/consume/acquire transaction actions

Buff

Describes the fields within models/actions whose parameters can be adjusted when applying buffs with GS2-Buff, and how to configure the scope in which those buffs are applied.