GS2-Inventory Buff リファレンス
GS2-Buff でバフを適用する際に指定する、パラメータの補正が可能なモデル/アクション内のフィールドと、その適用範囲の設定について
Note
バフエントリーモデルの詳細については BuffEntryModel をご参照ください。Model
バフを適用可能なモデルの種類
Gs2Inventory:Inventory
インベントリ
バフの適用対象フィールド
currentInventoryMaxCapacity
| 型 | 有効化条件 | 必須 | デフォルト | 値の制限 | 説明 | |
|---|---|---|---|---|---|---|
| currentInventoryMaxCapacity | int | ✓ | 1 ~ 2147483646 | 最大キャパシティ |
マスターデータ記述例
"targetModel": {
"targetModelName": "Gs2Inventory:Inventory",
"targetFieldName": "currentInventoryMaxCapacity",
"conditionGrns": [
],
"rate": 1.0
}バフの適用条件モデル
Gs2Inventory:InventoryModel
インベントリモデル
マスターデータ記述例
"conditionGrns": [
{
"targetModelName": "Gs2Inventory:InventoryModel",
"targetGrn": "grn:gs2:any:any:inventory:{namespaceName}:model:{inventoryName}"
}
]Action
バフを適用可能なアクションの種類
Gs2Inventory:AcquireItemSetByUserId
ユーザーIDを指定してアイテムを入手
バフの適用対象フィールド
acquireCount
| 型 | 有効化条件 | 必須 | デフォルト | 値の制限 | 説明 | |
|---|---|---|---|---|---|---|
| acquireCount | long | ✓ | 1 ~ 9223372036854775805 | 入手する量 |
マスターデータ記述例
"targetAction": {
"targetActionName": "Gs2Inventory:AcquireItemSetByUserId",
"targetFieldName": "acquireCount",
"conditionGrns": [
],
"rate": 1.0
}バフの適用条件モデル
Gs2Inventory:InventoryModel
インベントリモデル
マスターデータ記述例
"conditionGrns": [
{
"targetModelName": "Gs2Inventory:InventoryModel",
"targetGrn": "grn:gs2:{region}:{ownerId}:inventory:{namespaceName}:model:{inventoryName}"
}
]Gs2Inventory:ItemModel
アイテムモデル
マスターデータ記述例
"conditionGrns": [
{
"targetModelName": "Gs2Inventory:ItemModel",
"targetGrn": "grn:gs2:{region}:{ownerId}:inventory:{namespaceName}:model:{inventoryName}:item:{itemName}"
}
]Gs2Inventory:ConsumeItemSet
アイテムを消費
バフの適用対象フィールド
consumeCount
| 型 | 有効化条件 | 必須 | デフォルト | 値の制限 | 説明 | |
|---|---|---|---|---|---|---|
| consumeCount | long | ✓ | 1 ~ 9223372036854775805 | 消費する量 |
マスターデータ記述例
"targetAction": {
"targetActionName": "Gs2Inventory:ConsumeItemSet",
"targetFieldName": "consumeCount",
"conditionGrns": [
],
"rate": 1.0
}バフの適用条件モデル
Gs2Inventory:InventoryModel
インベントリモデル
マスターデータ記述例
"conditionGrns": [
{
"targetModelName": "Gs2Inventory:InventoryModel",
"targetGrn": "grn:gs2:{region}:{ownerId}:inventory:{namespaceName}:model:{inventoryName}"
}
]Gs2Inventory:ItemModel
アイテムモデル
マスターデータ記述例
"conditionGrns": [
{
"targetModelName": "Gs2Inventory:ItemModel",
"targetGrn": "grn:gs2:{region}:{ownerId}:inventory:{namespaceName}:model:{inventoryName}:item:{itemName}"
}
]Gs2Inventory:ConsumeItemSetByUserId
ユーザーIDを指定してアイテムを消費
バフの適用対象フィールド
consumeCount
| 型 | 有効化条件 | 必須 | デフォルト | 値の制限 | 説明 | |
|---|---|---|---|---|---|---|
| consumeCount | long | ✓ | 1 ~ 9223372036854775805 | 消費する量 |
マスターデータ記述例
"targetAction": {
"targetActionName": "Gs2Inventory:ConsumeItemSetByUserId",
"targetFieldName": "consumeCount",
"conditionGrns": [
],
"rate": 1.0
}バフの適用条件モデル
Gs2Inventory:InventoryModel
インベントリモデル
マスターデータ記述例
"conditionGrns": [
{
"targetModelName": "Gs2Inventory:InventoryModel",
"targetGrn": "grn:gs2:{region}:{ownerId}:inventory:{namespaceName}:model:{inventoryName}"
}
]Gs2Inventory:ItemModel
アイテムモデル
マスターデータ記述例
"conditionGrns": [
{
"targetModelName": "Gs2Inventory:ItemModel",
"targetGrn": "grn:gs2:{region}:{ownerId}:inventory:{namespaceName}:model:{inventoryName}:item:{itemName}"
}
]Gs2Inventory:AcquireSimpleItemsByUserId
ユーザーIDを指定してシンプルアイテムを入手
バフの適用対象フィールド
acquireCounts
| 型 | 有効化条件 | 必須 | デフォルト | 値の制限 | 説明 | |
|---|---|---|---|---|---|---|
| acquireCounts | List<AcquireCount> | ✓ | 1 ~ 100 items | シンプルアイテムの入手数量リスト |
マスターデータ記述例
"targetAction": {
"targetActionName": "Gs2Inventory:AcquireSimpleItemsByUserId",
"targetFieldName": "acquireCounts",
"conditionGrns": [
],
"rate": 1.0
}バフの適用条件モデル
Gs2Inventory:SimpleInventoryModel
シンプルインベントリモデル
マスターデータ記述例
"conditionGrns": [
{
"targetModelName": "Gs2Inventory:SimpleInventoryModel",
"targetGrn": "grn:gs2:{region}:{ownerId}:inventory:{namespaceName}:simple:model:{inventoryName}"
}
]Gs2Inventory:SimpleItemModel
シンプルアイテムモデル
マスターデータ記述例
"conditionGrns": [
{
"targetModelName": "Gs2Inventory:SimpleItemModel",
"targetGrn": "grn:gs2:{region}:{ownerId}:inventory:{namespaceName}:simple:model:{inventoryName}:item:{itemName}"
}
]Gs2Inventory:ConsumeSimpleItems
シンプルアイテムを消費
バフの適用対象フィールド
consumeCounts
| 型 | 有効化条件 | 必須 | デフォルト | 値の制限 | 説明 | |
|---|---|---|---|---|---|---|
| consumeCounts | List<ConsumeCount> | ✓ | 1 ~ 100 items | シンプルアイテムの消費数量リスト |
マスターデータ記述例
"targetAction": {
"targetActionName": "Gs2Inventory:ConsumeSimpleItems",
"targetFieldName": "consumeCounts",
"conditionGrns": [
],
"rate": 1.0
}バフの適用条件モデル
Gs2Inventory:SimpleInventoryModel
シンプルインベントリモデル
マスターデータ記述例
"conditionGrns": [
{
"targetModelName": "Gs2Inventory:SimpleInventoryModel",
"targetGrn": "grn:gs2:{region}:{ownerId}:inventory:{namespaceName}:simple:model:{inventoryName}"
}
]Gs2Inventory:SimpleItemModel
シンプルアイテムモデル
マスターデータ記述例
"conditionGrns": [
{
"targetModelName": "Gs2Inventory:SimpleItemModel",
"targetGrn": "grn:gs2:{region}:{ownerId}:inventory:{namespaceName}:simple:model:{inventoryName}:item:{itemName}"
}
]Gs2Inventory:ConsumeSimpleItemsByUserId
ユーザーIDを指定してシンプルアイテムを消費
バフの適用対象フィールド
consumeCounts
| 型 | 有効化条件 | 必須 | デフォルト | 値の制限 | 説明 | |
|---|---|---|---|---|---|---|
| consumeCounts | List<ConsumeCount> | ✓ | 1 ~ 100 items | シンプルアイテムの消費数量リスト |
マスターデータ記述例
"targetAction": {
"targetActionName": "Gs2Inventory:ConsumeSimpleItemsByUserId",
"targetFieldName": "consumeCounts",
"conditionGrns": [
],
"rate": 1.0
}バフの適用条件モデル
Gs2Inventory:SimpleInventoryModel
シンプルインベントリモデル
マスターデータ記述例
"conditionGrns": [
{
"targetModelName": "Gs2Inventory:SimpleInventoryModel",
"targetGrn": "grn:gs2:{region}:{ownerId}:inventory:{namespaceName}:simple:model:{inventoryName}"
}
]Gs2Inventory:SimpleItemModel
シンプルアイテムモデル
マスターデータ記述例
"conditionGrns": [
{
"targetModelName": "Gs2Inventory:SimpleItemModel",
"targetGrn": "grn:gs2:{region}:{ownerId}:inventory:{namespaceName}:simple:model:{inventoryName}:item:{itemName}"
}
]Gs2Inventory:AcquireBigItemByUserId
ユーザーIDを指定して巨大アイテムを入手
バフの適用対象フィールド
acquireCount
| 型 | 有効化条件 | 必須 | デフォルト | 値の制限 | 説明 | |
|---|---|---|---|---|---|---|
| acquireCount | string | ✓ | ~ 1024文字 | 巨大アイテムの入手数量 |
マスターデータ記述例
"targetAction": {
"targetActionName": "Gs2Inventory:AcquireBigItemByUserId",
"targetFieldName": "acquireCount",
"conditionGrns": [
],
"rate": 1.0
}バフの適用条件モデル
Gs2Inventory:BigInventoryModel
巨大インベントリモデル
マスターデータ記述例
"conditionGrns": [
{
"targetModelName": "Gs2Inventory:BigInventoryModel",
"targetGrn": "grn:gs2:{region}:{ownerId}:inventory:{namespaceName}:big:model:{inventoryName}"
}
]Gs2Inventory:BigItemModel
巨大アイテムモデル
マスターデータ記述例
"conditionGrns": [
{
"targetModelName": "Gs2Inventory:BigItemModel",
"targetGrn": "grn:gs2:{region}:{ownerId}:inventory:{namespaceName}:big:model:{inventoryName}:item:{itemName}"
}
]Gs2Inventory:ConsumeBigItem
巨大アイテムを消費
バフの適用対象フィールド
consumeCount
| 型 | 有効化条件 | 必須 | デフォルト | 値の制限 | 説明 | |
|---|---|---|---|---|---|---|
| consumeCount | string | ✓ | ~ 1024文字 | 巨大アイテムの消費数量 |
マスターデータ記述例
"targetAction": {
"targetActionName": "Gs2Inventory:ConsumeBigItem",
"targetFieldName": "consumeCount",
"conditionGrns": [
],
"rate": 1.0
}バフの適用条件モデル
Gs2Inventory:BigInventoryModel
巨大インベントリモデル
マスターデータ記述例
"conditionGrns": [
{
"targetModelName": "Gs2Inventory:BigInventoryModel",
"targetGrn": "grn:gs2:{region}:{ownerId}:inventory:{namespaceName}:big:model:{inventoryName}"
}
]Gs2Inventory:BigItemModel
巨大アイテムモデル
マスターデータ記述例
"conditionGrns": [
{
"targetModelName": "Gs2Inventory:BigItemModel",
"targetGrn": "grn:gs2:{region}:{ownerId}:inventory:{namespaceName}:big:model:{inventoryName}:item:{itemName}"
}
]Gs2Inventory:ConsumeBigItemByUserId
ユーザーIDを指定して巨大アイテムを消費
バフの適用対象フィールド
consumeCount
| 型 | 有効化条件 | 必須 | デフォルト | 値の制限 | 説明 | |
|---|---|---|---|---|---|---|
| consumeCount | string | ✓ | ~ 1024文字 | 巨大アイテムの消費数量 |
マスターデータ記述例
"targetAction": {
"targetActionName": "Gs2Inventory:ConsumeBigItemByUserId",
"targetFieldName": "consumeCount",
"conditionGrns": [
],
"rate": 1.0
}バフの適用条件モデル
Gs2Inventory:BigInventoryModel
巨大インベントリモデル
マスターデータ記述例
"conditionGrns": [
{
"targetModelName": "Gs2Inventory:BigInventoryModel",
"targetGrn": "grn:gs2:{region}:{ownerId}:inventory:{namespaceName}:big:model:{inventoryName}"
}
]Gs2Inventory:BigItemModel
巨大アイテムモデル
マスターデータ記述例
"conditionGrns": [
{
"targetModelName": "Gs2Inventory:BigItemModel",
"targetGrn": "grn:gs2:{region}:{ownerId}:inventory:{namespaceName}:big:model:{inventoryName}:item:{itemName}"
}
]