Buff Reference of GS2-Experience
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
Gs2Experience:Status
Status
Fields affected by the buff
rankCapValue
| Type | Condition | Required | Default | Value Limits | Description | |
|---|---|---|---|---|---|---|
| rankCapValue | long | ✓ | 0 ~ 9223372036854775805 | Current Rank Cap |
Example of Master Data Description
"targetModel": {
"targetModelName": "Gs2Experience:Status",
"targetFieldName": "rankCapValue",
"conditionGrns": [
],
"rate": 1.0
}Model for buff application conditions
Gs2Experience:ExperienceModel
Experience Model
Example of Master Data Description
"conditionGrns": [
{
"targetModelName": "Gs2Experience:ExperienceModel",
"targetGrn": "grn:gs2:any:any:experience:{namespaceName}:model:{experienceName}"
}
]Gs2Experience:Status
Status
Example of Master Data Description
"conditionGrns": [
{
"targetModelName": "Gs2Experience:Status",
"targetGrn": "grn:gs2:any:any:experience:{namespaceName}:user:any:experienceModel:{experienceName}:property:{propertyId}"
}
]Action
Types of actions that can apply buffs
Gs2Experience:AddExperienceByUserId
Add experience by specifying user ID
Fields affected by the buff
experienceValue
| Type | Condition | Required | Default | Value Limits | Description | |
|---|---|---|---|---|---|---|
| experienceValue | long | ✓ | 0 | 0 ~ 9223372036854775805 | Gained Experience |
Master Data Description Example
"targetAction": {
"targetActionName": "Gs2Experience:AddExperienceByUserId",
"targetFieldName": "experienceValue",
"conditionGrns": [
],
"rate": 1.0
}Buff Application Condition Model
Gs2Experience:ExperienceModel
Experience Model
Example of Master Data Description
"conditionGrns": [
{
"targetModelName": "Gs2Experience:ExperienceModel",
"targetGrn": "grn:gs2:{region}:{ownerId}:experience:{namespaceName}:model:{experienceName}"
}
]Gs2Experience:Status
Status
Example of Master Data Description
"conditionGrns": [
{
"targetModelName": "Gs2Experience:Status",
"targetGrn": "grn:gs2:{region}:{ownerId}:experience:{namespaceName}:user:{userId}:experienceModel:{experienceName}:property:{propertyId}"
}
]Gs2Experience:SubExperience
Subtract experience
Fields affected by the buff
experienceValue
| Type | Condition | Required | Default | Value Limits | Description | |
|---|---|---|---|---|---|---|
| experienceValue | long | ✓ | 0 | 0 ~ 9223372036854775805 | Lost Experience |
Master Data Description Example
"targetAction": {
"targetActionName": "Gs2Experience:SubExperience",
"targetFieldName": "experienceValue",
"conditionGrns": [
],
"rate": 1.0
}Buff Application Condition Model
Gs2Experience:ExperienceModel
Experience Model
Example of Master Data Description
"conditionGrns": [
{
"targetModelName": "Gs2Experience:ExperienceModel",
"targetGrn": "grn:gs2:{region}:{ownerId}:experience:{namespaceName}:model:{experienceName}"
}
]Gs2Experience:Status
Status
Example of Master Data Description
"conditionGrns": [
{
"targetModelName": "Gs2Experience:Status",
"targetGrn": "grn:gs2:{region}:{ownerId}:experience:{namespaceName}:user:{userId}:experienceModel:{experienceName}:property:{propertyId}"
}
]Gs2Experience:SubExperienceByUserId
Subtract experience by specifying user ID
Fields affected by the buff
experienceValue
| Type | Condition | Required | Default | Value Limits | Description | |
|---|---|---|---|---|---|---|
| experienceValue | long | ✓ | 0 | 0 ~ 9223372036854775805 | Lost Experience |
Master Data Description Example
"targetAction": {
"targetActionName": "Gs2Experience:SubExperienceByUserId",
"targetFieldName": "experienceValue",
"conditionGrns": [
],
"rate": 1.0
}Buff Application Condition Model
Gs2Experience:ExperienceModel
Experience Model
Example of Master Data Description
"conditionGrns": [
{
"targetModelName": "Gs2Experience:ExperienceModel",
"targetGrn": "grn:gs2:{region}:{ownerId}:experience:{namespaceName}:model:{experienceName}"
}
]Gs2Experience:Status
Status
Example of Master Data Description
"conditionGrns": [
{
"targetModelName": "Gs2Experience:Status",
"targetGrn": "grn:gs2:{region}:{ownerId}:experience:{namespaceName}:user:{userId}:experienceModel:{experienceName}:property:{propertyId}"
}
]