Buff Reference of GS2-Stamina
GS2-Buff for setting the fields whose parameters can be corrected and the range of their applicability
Note
See BuffEntryModel for more information on the buff entry model.Model
Types of models that can apply buffs
Gs2Stamina:Stamina
Stamina
Field name within the model to which the buff is applied
maxValue
Maximum Stamina
"targetModel": {
"targetModelName": "Gs2Stamina:Stamina",
"targetFieldName": "maxValue",
"conditionGrns": [
],
"rate": 1.0
}
Model name for buff application conditions
Gs2Stamina:StaminaModel
"conditionGrns": [
{
"targetModelName": "Gs2Stamina:StaminaModel",
"targetGrn": "grn:gs2:any:any:stamina:{namespaceName}:model:{staminaName}"
}
]
recoverIntervalMinutes
Stamina recovery interval (minutes)
"targetModel": {
"targetModelName": "Gs2Stamina:Stamina",
"targetFieldName": "recoverIntervalMinutes",
"conditionGrns": [
],
"rate": 1.0
}
Model name for buff application conditions
Gs2Stamina:StaminaModel
"conditionGrns": [
{
"targetModelName": "Gs2Stamina:StaminaModel",
"targetGrn": "grn:gs2:any:any:stamina:{namespaceName}:model:{staminaName}"
}
]
recoverValue
Stamina recovery value
"targetModel": {
"targetModelName": "Gs2Stamina:Stamina",
"targetFieldName": "recoverValue",
"conditionGrns": [
],
"rate": 1.0
}
Model name for buff application conditions
Gs2Stamina:StaminaModel
"conditionGrns": [
{
"targetModelName": "Gs2Stamina:StaminaModel",
"targetGrn": "grn:gs2:any:any:stamina:{namespaceName}:model:{staminaName}"
}
]
Action
Types of actions that can apply buffs
Gs2Stamina:ConsumeStamina
Consumes stamina
Field name within the model to which the buff is applied
consumeValue
Amount of stamina consumed
"targetAction": {
"targetActionName": "Gs2Stamina:ConsumeStamina",
"targetFieldName": "consumeValue",
"conditionGrns": [
],
"rate": 1.0
}
Model name for buff application conditions
Gs2Stamina:StaminaModel
"conditionGrns": [
{
"targetModelName": "Gs2Stamina:StaminaModel",
"targetGrn": "grn:gs2:any:any:stamina:{namespaceName}:model:{staminaName}"
}
]
Gs2Stamina:ConsumeStaminaByUserId
Consume stamina by specifying user ID
Field name within the model to which the buff is applied
consumeValue
Amount of stamina consumed
"targetAction": {
"targetActionName": "Gs2Stamina:ConsumeStaminaByUserId",
"targetFieldName": "consumeValue",
"conditionGrns": [
],
"rate": 1.0
}
Model name for buff application conditions
Gs2Stamina:StaminaModel
"conditionGrns": [
{
"targetModelName": "Gs2Stamina:StaminaModel",
"targetGrn": "grn:gs2:any:any:stamina:{namespaceName}:model:{staminaName}"
}
]
Gs2Stamina:RecoverStaminaByUserId
Recover stamina by specifying user ID
Field name within the model to which the buff is applied
recoverValue
Amount of stamina recovery
"targetAction": {
"targetActionName": "Gs2Stamina:RecoverStaminaByUserId",
"targetFieldName": "recoverValue",
"conditionGrns": [
],
"rate": 1.0
}
Model name for buff application conditions
Gs2Stamina:StaminaModel
"conditionGrns": [
{
"targetModelName": "Gs2Stamina:StaminaModel",
"targetGrn": "grn:gs2:any:any:stamina:{namespaceName}:model:{staminaName}"
}
]