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 (minutes)"
        ]
      },
      "recoverValueTable": {
        "name": "[string]Stamina recovery value table name",
        "metadata": "[string?]metadata",
        "experienceModelId": "[string]Experience Model GRN",
        "values": [
          "[int?]Stamina recovery value"
        ]
      }
    }
  ]
}
TypeConditionRequireDefaultLimitationDescription
version2019-02-14Format version of master data
staminaModelsList<StaminaModel>~ 100 itemsStamina Model

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.

TypeConditionRequireDefaultLimitationDescription
staminaModelIdstring~ 1024 charsStamina Model GRN
namestring~ 128 charsStamina Model Name
metadatastring~ 128 charsmetadata
recoverIntervalMinutesint~ 2147483646Speed at which stamina is regained (minutes)
recoverValueint1~ 2147483646Amount of recovery after a period of time
initialCapacityint~ 2147483646Initial maximum value of stamina
isOverflowboolRecover beyond the maximum
maxCapacityint{isOverflow}~ 2147483646Maximum value in overflow situation
maxStaminaTableMaxStaminaTableMaximum Stamina Table used when working with GS2-Experience
recoverIntervalTableRecoverIntervalTableRecovery interval table used when working with GS2-Experience
recoverValueTableRecoverValueTableRecovery 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.

TypeConditionRequireDefaultLimitationDescription
namestring~ 128 charsMaximum Stamina Value Table Name
metadatastring~ 128 charsmetadata
experienceModelIdstring~ 1024 charsExperience Model GRN
valuesList<int>1 ~ 1024 itemsList of Maximum Staminas

RecoverIntervalTable

Stamina Recovery Interval Table

This entity defines the stamina recovery interval for each rank of GS2-Experience.

TypeConditionRequireDefaultLimitationDescription
namestring~ 128 charsStamina recovery interval table name
metadatastring~ 128 charsmetadata
experienceModelIdstring~ 1024 charsExperience Model GRN
valuesList<int>1 ~ 1024 itemsStamina 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.

TypeConditionRequireDefaultLimitationDescription
namestring~ 128 charsStamina recovery value table name
metadatastring~ 128 charsmetadata
experienceModelIdstring~ 1024 charsExperience Model GRN
valuesList<int>1 ~ 1024 itemsStamina recovery value table for each rank