Master Data Reference of GS2-Stamina
{
"version": "2019-02-14",
"staminaModels": [
{
"name": "[string]Stamina Model Name",
"metadata": "[string?]metadata",
"recoverIntervalMinutes": "[int]Speed at which stamina is regained (minutes)",
"recoverValue": "[int]Amount of recovery after a period of time",
"initialCapacity": "[int]Initial maximum value of stamina",
"isOverflow": "[bool]Recover beyond the maximum",
"maxCapacity": "[int]Maximum value in overflow situation",
"maxStaminaTable": {
"name": "[string]Maximum Stamina Value Table Name",
"metadata": "[string?]metadata",
"experienceModelId": "[string]Experience Model GRN",
"values": [
"[int]Maximum Stamina"
]
},
"recoverIntervalTable": {
"name": "[string]Stamina recovery interval table name",
"metadata": "[string?]metadata",
"experienceModelId": "[string]Experience Model GRN",
"values": [
"[int]Stamina recovery interval"
]
},
"recoverValueTable": {
"name": "[string]Stamina recovery value table name",
"metadata": "[string?]metadata",
"experienceModelId": "[string]Experience Model GRN",
"values": [
"[int]Stamina recovery value"
]
}
}
]
}
Type | Condition | Require | Default | Limitation | Description | |
---|---|---|---|---|---|---|
version | ✓ | 2019-02-14 | Format version of master data | |||
staminaModels | List<StaminaModel> |
StaminaModel
Stamina Model
Parameters such as the maximum value of stamina, recovery interval, and amount of recovery can be defined. You can also control the maximum value and the amount of recovery in conjunction with GS2-Experience.
Type | Condition | Require | Default | Limitation | Description | |
---|---|---|---|---|---|---|
staminaModelId | string | ✓ | ~ 1024 chars | Stamina Model GRN | ||
name | string | ✓ | ~ 128 chars | Stamina Model Name | ||
metadata | string | ~ 128 chars | metadata | |||
recoverIntervalMinutes | int | ✓ | ~ 2147483646 | Speed at which stamina is regained (minutes) | ||
recoverValue | int | ✓ | 1 | ~ 2147483646 | Amount of recovery after a period of time | |
initialCapacity | int | ✓ | ~ 2147483646 | Initial maximum value of stamina | ||
isOverflow | bool | ✓ | Recover beyond the maximum | |||
maxCapacity | int | {isOverflow} | ✓ | ~ 2147483646 | Maximum value in overflow situation | |
maxStaminaTable | MaxStaminaTable | Maximum Stamina Table used when working with GS2-Experience | ||||
recoverIntervalTable | RecoverIntervalTable | Recovery interval table used when working with GS2-Experience | ||||
recoverValueTable | RecoverValueTable | Recovery amount table used when working with GS2-Experience |
MaxStaminaTable
Maximum Stamina Table
This entity defines the maximum value of stamina for each rank of GS2-Experience.
Type | Condition | Require | Default | Limitation | Description | |
---|---|---|---|---|---|---|
name | string | ✓ | ~ 128 chars | Maximum Stamina Value Table Name | ||
metadata | string | ~ 128 chars | metadata | |||
experienceModelId | string | ✓ | ~ 1024 chars | Experience Model GRN | ||
values | List<int> | ✓ | 1 ~ 1024 items | List of Maximum Staminas |
RecoverIntervalTable
Stamina Recovery Interval Table
This entity defines the stamina recovery interval for each rank of GS2-Experience.
Type | Condition | Require | Default | Limitation | Description | |
---|---|---|---|---|---|---|
name | string | ✓ | ~ 128 chars | Stamina recovery interval table name | ||
metadata | string | ~ 128 chars | metadata | |||
experienceModelId | string | ✓ | ~ 1024 chars | Experience Model GRN | ||
values | List<int> | ✓ | 1 ~ 1024 items | Stamina recovery interval table for each rank |
RecoverValueTable
Stamina Recovery Value Table
This entity defines the amount of stamina recovery for each rank of GS2-Experience.
Type | Condition | Require | Default | Limitation | Description | |
---|---|---|---|---|---|---|
name | string | ✓ | ~ 128 chars | Stamina recovery value table name | ||
metadata | string | ~ 128 chars | metadata | |||
experienceModelId | string | ✓ | ~ 1024 chars | Experience Model GRN | ||
values | List<int> | ✓ | 1 ~ 1024 items | Stamina recovery value table for each rank |