GS2-Inventory Buff リファレンス
GS2-Buff でバフを適用する際に指定する、パラメーターの補正が可能なモデル/アクション内のフィールドと、その適用範囲の設定について
Note
バフエントリーモデルの詳細については BuffEntryModel をご参照ください。Model
バフを適用可能なモデルの種類
Gs2Inventory:Inventory
インベントリ
バフの適用対象のモデル内フィールド名
currentInventoryMaxCapacity
最大キャパシティ
"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
入手する量
"targetAction": {
"targetActionName": "Gs2Inventory:AcquireItemSetByUserId",
"targetFieldName": "acquireCount",
"conditionGrns": [
],
"rate": 1.0
}バフの適用条件のモデル名
Gs2Inventory:InventoryModel
"conditionGrns": [
{
"targetModelName": "Gs2Inventory:InventoryModel",
"targetGrn": "grn:gs2:any:any:inventory:{namespaceName}:model:{inventoryName}"
}
]Gs2Inventory:ItemModel
"conditionGrns": [
{
"targetModelName": "Gs2Inventory:ItemModel",
"targetGrn": "grn:gs2:any:any:inventory:{namespaceName}:model:{inventoryName}:item:{itemName}"
}
]Gs2Inventory:ConsumeItemSet
アイテムを消費
バフの適用対象のモデル内フィールド名
consumeCount
消費する量
"targetAction": {
"targetActionName": "Gs2Inventory:ConsumeItemSet",
"targetFieldName": "consumeCount",
"conditionGrns": [
],
"rate": 1.0
}バフの適用条件のモデル名
Gs2Inventory:InventoryModel
"conditionGrns": [
{
"targetModelName": "Gs2Inventory:InventoryModel",
"targetGrn": "grn:gs2:any:any:inventory:{namespaceName}:model:{inventoryName}"
}
]Gs2Inventory:ItemModel
"conditionGrns": [
{
"targetModelName": "Gs2Inventory:ItemModel",
"targetGrn": "grn:gs2:any:any:inventory:{namespaceName}:model:{inventoryName}:item:{itemName}"
}
]Gs2Inventory:ConsumeItemSetByUserId
ユーザーIDを指定してアイテムを消費
バフの適用対象のモデル内フィールド名
consumeCount
消費する量
"targetAction": {
"targetActionName": "Gs2Inventory:ConsumeItemSetByUserId",
"targetFieldName": "consumeCount",
"conditionGrns": [
],
"rate": 1.0
}バフの適用条件のモデル名
Gs2Inventory:InventoryModel
"conditionGrns": [
{
"targetModelName": "Gs2Inventory:InventoryModel",
"targetGrn": "grn:gs2:any:any:inventory:{namespaceName}:model:{inventoryName}"
}
]Gs2Inventory:ItemModel
"conditionGrns": [
{
"targetModelName": "Gs2Inventory:ItemModel",
"targetGrn": "grn:gs2:any:any:inventory:{namespaceName}:model:{inventoryName}:item:{itemName}"
}
]Gs2Inventory:AcquireSimpleItemsByUserId
ユーザーIDを指定してシンプルアイテムを入手
バフの適用対象のモデル内フィールド名
acquireCounts
シンプルアイテムの入手数量リスト
"targetAction": {
"targetActionName": "Gs2Inventory:AcquireSimpleItemsByUserId",
"targetFieldName": "acquireCounts",
"conditionGrns": [
],
"rate": 1.0
}バフの適用条件のモデル名
Gs2Inventory:SimpleInventoryModel
"conditionGrns": [
{
"targetModelName": "Gs2Inventory:SimpleInventoryModel",
"targetGrn": "grn:gs2:any:any:inventory:{namespaceName}:simple:model:{inventoryName}"
}
]Gs2Inventory:SimpleItemModel
"conditionGrns": [
{
"targetModelName": "Gs2Inventory:SimpleItemModel",
"targetGrn": "grn:gs2:any:any:inventory:{namespaceName}:simple:model:{inventoryName}:item:{itemName}"
}
]Gs2Inventory:ConsumeSimpleItems
シンプルアイテムを消費
バフの適用対象のモデル内フィールド名
consumeCounts
シンプルアイテムの消費数量リスト
"targetAction": {
"targetActionName": "Gs2Inventory:ConsumeSimpleItems",
"targetFieldName": "consumeCounts",
"conditionGrns": [
],
"rate": 1.0
}バフの適用条件のモデル名
Gs2Inventory:SimpleInventoryModel
"conditionGrns": [
{
"targetModelName": "Gs2Inventory:SimpleInventoryModel",
"targetGrn": "grn:gs2:any:any:inventory:{namespaceName}:simple:model:{inventoryName}"
}
]Gs2Inventory:SimpleItemModel
"conditionGrns": [
{
"targetModelName": "Gs2Inventory:SimpleItemModel",
"targetGrn": "grn:gs2:any:any:inventory:{namespaceName}:simple:model:{inventoryName}:item:{itemName}"
}
]Gs2Inventory:ConsumeSimpleItemsByUserId
ユーザーIDを指定してシンプルアイテムを消費
バフの適用対象のモデル内フィールド名
consumeCounts
シンプルアイテムの消費数量リスト
"targetAction": {
"targetActionName": "Gs2Inventory:ConsumeSimpleItemsByUserId",
"targetFieldName": "consumeCounts",
"conditionGrns": [
],
"rate": 1.0
}バフの適用条件のモデル名
Gs2Inventory:SimpleInventoryModel
"conditionGrns": [
{
"targetModelName": "Gs2Inventory:SimpleInventoryModel",
"targetGrn": "grn:gs2:any:any:inventory:{namespaceName}:simple:model:{inventoryName}"
}
]Gs2Inventory:SimpleItemModel
"conditionGrns": [
{
"targetModelName": "Gs2Inventory:SimpleItemModel",
"targetGrn": "grn:gs2:any:any:inventory:{namespaceName}:simple:model:{inventoryName}:item:{itemName}"
}
]Gs2Inventory:AcquireBigItemByUserId
ユーザーIDを指定して巨大アイテムを入手
バフの適用対象のモデル内フィールド名
acquireCount
巨大アイテムの入手数量
"targetAction": {
"targetActionName": "Gs2Inventory:AcquireBigItemByUserId",
"targetFieldName": "acquireCount",
"conditionGrns": [
],
"rate": 1.0
}バフの適用条件のモデル名
Gs2Inventory:BigInventoryModel
"conditionGrns": [
{
"targetModelName": "Gs2Inventory:BigInventoryModel",
"targetGrn": "grn:gs2:any:any:inventory:{namespaceName}:big:model:{inventoryName}"
}
]Gs2Inventory:BigItemModel
"conditionGrns": [
{
"targetModelName": "Gs2Inventory:BigItemModel",
"targetGrn": "grn:gs2:any:any:inventory:{namespaceName}:big:model:{inventoryName}:item:{itemName}"
}
]Gs2Inventory:ConsumeBigItem
巨大アイテムを消費
バフの適用対象のモデル内フィールド名
consumeCount
巨大アイテムの消費数量
"targetAction": {
"targetActionName": "Gs2Inventory:ConsumeBigItem",
"targetFieldName": "consumeCount",
"conditionGrns": [
],
"rate": 1.0
}バフの適用条件のモデル名
Gs2Inventory:BigInventoryModel
"conditionGrns": [
{
"targetModelName": "Gs2Inventory:BigInventoryModel",
"targetGrn": "grn:gs2:any:any:inventory:{namespaceName}:big:model:{inventoryName}"
}
]Gs2Inventory:BigItemModel
"conditionGrns": [
{
"targetModelName": "Gs2Inventory:BigItemModel",
"targetGrn": "grn:gs2:any:any:inventory:{namespaceName}:big:model:{inventoryName}:item:{itemName}"
}
]Gs2Inventory:ConsumeBigItemByUserId
ユーザーIDを指定して巨大アイテムを消費
バフの適用対象のモデル内フィールド名
consumeCount
巨大アイテムの消費数量
"targetAction": {
"targetActionName": "Gs2Inventory:ConsumeBigItemByUserId",
"targetFieldName": "consumeCount",
"conditionGrns": [
],
"rate": 1.0
}バフの適用条件のモデル名
Gs2Inventory:BigInventoryModel
"conditionGrns": [
{
"targetModelName": "Gs2Inventory:BigInventoryModel",
"targetGrn": "grn:gs2:any:any:inventory:{namespaceName}:big:model:{inventoryName}"
}
]Gs2Inventory:BigItemModel
"conditionGrns": [
{
"targetModelName": "Gs2Inventory:BigItemModel",
"targetGrn": "grn:gs2:any:any:inventory:{namespaceName}:big:model:{inventoryName}:item:{itemName}"
}
]