Buff Reference of GS2-LoginReward
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.Model
Types of models that can apply buffs
Gs2LoginReward:BonusModel
Login Bonus Model
Fields affected by the buff
acquireActions
| Type | Condition | Required | Default | Value Limits | Description | |
|---|---|---|---|---|---|---|
| acquireActions | List<AcquireAction> | ✓ | 1 ~ 10 items | List of Acquire Action |
Example of Master Data Description
rate specifies the multiplier applied to the target field.
"targetModel": {
"targetModelName": "Gs2LoginReward:BonusModel",
"targetFieldName": "acquireActions",
"conditionGrns": [
],
"rate": 1.0
}Model for buff application conditions
Gs2LoginReward:BonusModel
Login Bonus Model
Example of Master Data Description
"conditionGrns": [
{
"targetModelName": "Gs2LoginReward:BonusModel",
"targetGrn": "grn:gs2:any:any:loginReward:{namespaceName}:bonusModel:{bonusModelName}"
}
]missedReceiveReliefConsumeActions
| Type | Condition | Required | Default | Value Limits | Description | |
|---|---|---|---|---|---|---|
| missedReceiveReliefConsumeActions | List<ConsumeAction> | {missedReceiveRelief} == “enabled” | [] | 0 ~ 10 items | List of consume actions for missed receive relief * Enabled if missedReceiveRelief is “enabled” |
Example of Master Data Description
rate specifies the multiplier applied to the target field.
"targetModel": {
"targetModelName": "Gs2LoginReward:BonusModel",
"targetFieldName": "missedReceiveReliefConsumeActions",
"conditionGrns": [
],
"rate": 1.0
}Model for buff application conditions
Gs2LoginReward:BonusModel
Login Bonus Model
Example of Master Data Description
"conditionGrns": [
{
"targetModelName": "Gs2LoginReward:BonusModel",
"targetGrn": "grn:gs2:any:any:loginReward:{namespaceName}:bonusModel:{bonusModelName}"
}
]