GS2-Experience Buff リファレンス
GS2-Buff でバフを適用する際に指定する、パラメータの補正が可能なモデル/アクション内のフィールドと、その適用範囲の設定について
Note
バフエントリーモデルの詳細については BuffEntryModel をご参照ください。Model
バフを適用可能なモデルの種類
Gs2Experience:Status
ステータス
バフの適用対象フィールド
rankCapValue
| 型 | 有効化条件 | 必須 | デフォルト | 値の制限 | 説明 | |
|---|---|---|---|---|---|---|
| rankCapValue | long | ✓ | 0 ~ 9223372036854775805 | 現在のランクキャップ |
マスターデータ記述例
"targetModel": {
"targetModelName": "Gs2Experience:Status",
"targetFieldName": "rankCapValue",
"conditionGrns": [
],
"rate": 1.0
}バフの適用条件モデル
Gs2Experience:ExperienceModel
経験値モデル
マスターデータ記述例
"conditionGrns": [
{
"targetModelName": "Gs2Experience:ExperienceModel",
"targetGrn": "grn:gs2:any:any:experience:{namespaceName}:model:{experienceName}"
}
]Gs2Experience:Status
ステータス
マスターデータ記述例
"conditionGrns": [
{
"targetModelName": "Gs2Experience:Status",
"targetGrn": "grn:gs2:any:any:experience:{namespaceName}:user:any:experienceModel:{experienceName}:property:{propertyId}"
}
]Action
バフを適用可能なアクションの種類
Gs2Experience:AddExperienceByUserId
ユーザーIDを指定して経験値を加算
バフの適用対象フィールド
experienceValue
| 型 | 有効化条件 | 必須 | デフォルト | 値の制限 | 説明 | |
|---|---|---|---|---|---|---|
| experienceValue | long | ✓ | 0 | 0 ~ 9223372036854775805 | 獲得経験値 |
マスターデータ記述例
"targetAction": {
"targetActionName": "Gs2Experience:AddExperienceByUserId",
"targetFieldName": "experienceValue",
"conditionGrns": [
],
"rate": 1.0
}バフの適用条件モデル
Gs2Experience:ExperienceModel
経験値モデル
マスターデータ記述例
"conditionGrns": [
{
"targetModelName": "Gs2Experience:ExperienceModel",
"targetGrn": "grn:gs2:{region}:{ownerId}:experience:{namespaceName}:model:{experienceName}"
}
]Gs2Experience:Status
ステータス
マスターデータ記述例
"conditionGrns": [
{
"targetModelName": "Gs2Experience:Status",
"targetGrn": "grn:gs2:{region}:{ownerId}:experience:{namespaceName}:user:{userId}:experienceModel:{experienceName}:property:{propertyId}"
}
]Gs2Experience:SubExperience
経験値を減算
バフの適用対象フィールド
experienceValue
| 型 | 有効化条件 | 必須 | デフォルト | 値の制限 | 説明 | |
|---|---|---|---|---|---|---|
| experienceValue | long | ✓ | 0 | 0 ~ 9223372036854775805 | 失う経験値 |
マスターデータ記述例
"targetAction": {
"targetActionName": "Gs2Experience:SubExperience",
"targetFieldName": "experienceValue",
"conditionGrns": [
],
"rate": 1.0
}バフの適用条件モデル
Gs2Experience:ExperienceModel
経験値モデル
マスターデータ記述例
"conditionGrns": [
{
"targetModelName": "Gs2Experience:ExperienceModel",
"targetGrn": "grn:gs2:{region}:{ownerId}:experience:{namespaceName}:model:{experienceName}"
}
]Gs2Experience:Status
ステータス
マスターデータ記述例
"conditionGrns": [
{
"targetModelName": "Gs2Experience:Status",
"targetGrn": "grn:gs2:{region}:{ownerId}:experience:{namespaceName}:user:{userId}:experienceModel:{experienceName}:property:{propertyId}"
}
]Gs2Experience:SubExperienceByUserId
ユーザーIDを指定して経験値を減算
バフの適用対象フィールド
experienceValue
| 型 | 有効化条件 | 必須 | デフォルト | 値の制限 | 説明 | |
|---|---|---|---|---|---|---|
| experienceValue | long | ✓ | 0 | 0 ~ 9223372036854775805 | 失う経験値 |
マスターデータ記述例
"targetAction": {
"targetActionName": "Gs2Experience:SubExperienceByUserId",
"targetFieldName": "experienceValue",
"conditionGrns": [
],
"rate": 1.0
}バフの適用条件モデル
Gs2Experience:ExperienceModel
経験値モデル
マスターデータ記述例
"conditionGrns": [
{
"targetModelName": "Gs2Experience:ExperienceModel",
"targetGrn": "grn:gs2:{region}:{ownerId}:experience:{namespaceName}:model:{experienceName}"
}
]Gs2Experience:Status
ステータス
マスターデータ記述例
"conditionGrns": [
{
"targetModelName": "Gs2Experience:Status",
"targetGrn": "grn:gs2:{region}:{ownerId}:experience:{namespaceName}:user:{userId}:experienceModel:{experienceName}:property:{propertyId}"
}
]