GS2-LoginReward Buff Reference

Describes the fields within models/actions whose parameters can be adjusted when applying buffs with GS2-Buff, and how to configure the scope in which those buffs are applied.

Models

Target model types available for buff application

Gs2LoginReward:BonusModel

Login Bonus Model

Target fields for buff application

acquireActions
TypeConditionRequiredDefaultValue LimitsDescription
acquireActionsList<AcquireAction>
1 ~ 10 itemsList of Acquire Actions
List of acquire actions that define the resources granted to the user for this day’s reward.
Each action specifies an acquire action (e.g., add items, grant currency) and its request parameters.
At least 1 and up to 10 actions can be configured per reward.
Example Master Data

rate specifies the multiplier applied to the target field.

"targetModel": {
    "targetModelName": "Gs2LoginReward:BonusModel",
    "targetFieldName": "acquireActions",
    "conditionGrns": [
    ],
    "rate": 1.0
}

Buff Application Condition Model

Gs2LoginReward:BonusModel

Login Bonus Model

Example Master Data
"conditionGrns": [
    {
        "targetModelName": "Gs2LoginReward:BonusModel",
        "targetGrn": "grn:gs2:any:any:loginReward:{namespaceName}:bonusModel:{bonusModelName}"
    }
]

missedReceiveReliefConsumeActions
TypeConditionRequiredDefaultValue LimitsDescription
missedReceiveReliefConsumeActionsList<ConsumeAction>{missedReceiveRelief} == “enabled”[]0 ~ 10 itemsMissed Receive Relief Consume Actions
List of consume actions that define the cost a user must pay to recover a missed bonus.
For example, this can be configured to consume in-game currency or items as the recovery cost. Up to 10 actions can be configured.
Only applicable when missedReceiveRelief is enabled.
* Enabled only if missedReceiveRelief is “enabled”
Example Master Data

rate specifies the multiplier applied to the target field.

"targetModel": {
    "targetModelName": "Gs2LoginReward:BonusModel",
    "targetFieldName": "missedReceiveReliefConsumeActions",
    "conditionGrns": [
    ],
    "rate": 1.0
}

Buff Application Condition Model

Gs2LoginReward:BonusModel

Login Bonus Model

Example Master Data
"conditionGrns": [
    {
        "targetModelName": "Gs2LoginReward:BonusModel",
        "targetGrn": "grn:gs2:any:any:loginReward:{namespaceName}:bonusModel:{bonusModelName}"
    }
]