GS2-Enchant API Reference

Enchantment (random parameter) feature

Provide a mechanism for randomly selecting additional parameters to be given to items and equipment.

GS2-Enchant can handle two types of additional parameters

  • Balance parameter
  • Rarity parameter

Balance parameter

Balance parameters randomly distribute multiple predetermined parameters based on a determined total amount. For example, if two parameters, attack and defense, are defined as a total of 100, and attack power is drawn at 60, defense power will be 40.

Balance parameters can be redrawn, and when redrawing, the values of some parameters can be fixed. This feature allows game players to adjust parameters more efficiently for a price.

Rarity parameter

Rarity parameters are randomly selected from a predetermined number of parameters. First, a lottery is held to determine the number of parameters to be given, and then the parameters are selected. Parameters have two game parameters, “type” and “value,” and each has an “draw weight” that is used in the lottery process.

Rarity parameters can be redrawn, and when redrawing, the values of some parameters can be fixed. In addition, additional parameters can be added. Therefore, the maximum number of rarity parameters must also be set.


GS2-Enchant SDK for Game Engine API Reference

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

GS2-Enchant SDK API Reference

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

GS2-Enchant Deploy/CDK Reference

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

GS2-Enchant Master Data Reference

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

GS2-Enchant Transaction Actions

Specification of verify/consume/acquire transaction actions