Master Data Reference of GS2-Enhance
{
"version": "2020-08-22",
"rateModels": [
{
"name": "[string]Enhanced Rate Name",
"description": "[string?]description of Namespace",
"metadata": "[string?]metadata",
"targetInventoryModelId": "[string]Inventory available for enhancement targets",
"acquireExperienceSuffix": "[string]Suffix to be assigned to the property ID that stores the experience value obtained from GS2-Experience",
"materialInventoryModelId": "[string]Inventory model GRN",
"acquireExperienceHierarchy": [
"[string]JSON hierarchy name of the metadata storing the acquired experience values"
],
"experienceModelId": "[string]Experience Model GRN",
"bonusRates": [
{
"rate": "[float]Experience bonus multiplier (1.0 = no bonus)",
"weight": "[int]lottery weight"
}
]
}
]
}
Type | Condition | Require | Default | Limitation | Description | |
---|---|---|---|---|---|---|
version | ✓ | 2020-08-22 | Format version of master data | |||
rateModels | List<RateModel> |
RateModel
Enhancement Rates
The enhancement rate is data that defines the materials used for enhancement and the target of enhancement.
Both material data and enhancement target data must be managed in GS2-Inventory. The experience value obtained from the enhancement is recorded in GS2-Inventory metadata in JSON format. Here, it is necessary to describe at which level of the metadata the experience value is stored.
A correction value can be applied to the amount of experience value that can be obtained with a certain probability of great success
during enhancement.
The probability of that draw is also defined in this entity.
Type | Condition | Require | Default | Limitation | Description | |
---|---|---|---|---|---|---|
rateModelId | string | ✓ | ~ 1024 chars | Enhance Rate Model GRN | ||
name | string | ✓ | ~ 128 chars | Enhanced Rate Name | ||
description | string | ~ 1024 chars | description of Namespace | |||
metadata | string | ~ 2048 chars | metadata | |||
targetInventoryModelId | string | ✓ | ~ 1024 chars | Inventory available for enhancement targets | ||
acquireExperienceSuffix | string | ✓ | ~ 1024 chars | Suffix to be assigned to the property ID that stores the experience value obtained from GS2-Experience | ||
materialInventoryModelId | string | ✓ | ~ 1024 chars | Inventory model GRN | ||
acquireExperienceHierarchy | List<string> | ~ 10 items | JSON hierarchy of metadata storing acquired experience values | |||
experienceModelId | string | ✓ | ~ 1024 chars | Experience Model GRN | ||
bonusRates | List<BonusRate> | ~ 1000 items | Experience gain bonus |
BonusRate
Type | Condition | Require | Default | Limitation | Description | |
---|---|---|---|---|---|---|
rate | float | ✓ | 1.0 | ~ 10000 | Experience bonus multiplier (1.0 = no bonus) | |
weight | int | ✓ | 1 | ~ 2147483645 | lottery weight |
Material
Type | Condition | Require | Default | Limitation | Description | |
---|---|---|---|---|---|---|
materialItemSetId | string | ✓ | ~ 1024 chars | Quantity of items held per expiration date GRN | ||
count | int | ✓ | 1 | ~ 2147483645 | Number of consumption |