Buff Reference of GS2-Limit
GS2-Buff for defining the fields whose parameters can be adjusted and the scope in which the buffs are applied
Note
See BuffEntryModel for more information on the buff entry model.Action
Types of actions that can apply buffs
Gs2Limit:CountUp
Count-up
Fields affected by the buff
maxValue
Counter - Current counter value
| Type | Condition | Required | Default | Value Limits | Description | |
|---|---|---|---|---|---|---|
| maxValue | int | 1 ~ 2147483646 | Maximum value allowed to count up |
Master Data Description Example
"targetAction": {
"targetActionName": "Gs2Limit:CountUp",
"targetFieldName": "maxValue",
"conditionGrns": [
],
"rate": 1.0
}Buff Application Condition Model
Gs2Limit:LimitModel
Usage Limit Model
Example of Master Data Description
"conditionGrns": [
{
"targetModelName": "Gs2Limit:LimitModel",
"targetGrn": "grn:gs2:{region}:{ownerId}:limit:{namespaceName}:limit:{limitName}"
}
]Gs2Limit:Counter
Current counter value
Example of Master Data Description
"conditionGrns": [
{
"targetModelName": "Gs2Limit:Counter",
"targetGrn": "grn:gs2:{region}:{ownerId}:limit:{namespaceName}:user:{userId}:limit:{limitName}:counter:{counterName}"
}
]Gs2Limit:CountUpByUserId
Count-up by specifying a user ID
Fields affected by the buff
maxValue
Counter - Current counter value
| Type | Condition | Required | Default | Value Limits | Description | |
|---|---|---|---|---|---|---|
| maxValue | int | 1 ~ 2147483646 | Maximum value allowed to count up |
Master Data Description Example
"targetAction": {
"targetActionName": "Gs2Limit:CountUpByUserId",
"targetFieldName": "maxValue",
"conditionGrns": [
],
"rate": 1.0
}Buff Application Condition Model
Gs2Limit:LimitModel
Usage Limit Model
Example of Master Data Description
"conditionGrns": [
{
"targetModelName": "Gs2Limit:LimitModel",
"targetGrn": "grn:gs2:{region}:{ownerId}:limit:{namespaceName}:limit:{limitName}"
}
]Gs2Limit:Counter
Current counter value
Example of Master Data Description
"conditionGrns": [
{
"targetModelName": "Gs2Limit:Counter",
"targetGrn": "grn:gs2:{region}:{ownerId}:limit:{namespaceName}:user:{userId}:limit:{limitName}:counter:{counterName}"
}
]