Buff Reference of GS2-Inventory
GS2-Buff for setting the fields whose parameters can be corrected and the range of their applicability
Note
See BuffEntryModel for more information on the buff entry model.Model
Types of models that can apply buffs
Gs2Inventory:Inventory
Inventory
Field name within the model to which the buff is applied
currentInventoryMaxCapacity
Maximum capacity
"targetModel": {
"targetModelName": "Gs2Inventory:Inventory",
"targetFieldName": "currentInventoryMaxCapacity",
"conditionGrns": [
],
"rate": 1.0
}
Model name for buff application conditions
Gs2Inventory:InventoryModel
"conditionGrns": [
{
"targetModelName": "Gs2Inventory:InventoryModel",
"targetGrn": "grn:gs2:any:any:inventory:{namespaceName}:model:{inventoryName}"
}
]
Action
Types of actions that can apply buffs
Gs2Inventory:AcquireItemSetByUserId
Acquire items by specifying the user ID
Field name within the model to which the buff is applied
acquireCount
Quantity to be obtained
"targetAction": {
"targetActionName": "Gs2Inventory:AcquireItemSetByUserId",
"targetFieldName": "acquireCount",
"conditionGrns": [
],
"rate": 1.0
}
Model name for buff application conditions
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
Consume items
Field name within the model to which the buff is applied
consumeCount
Amount to consume
"targetAction": {
"targetActionName": "Gs2Inventory:ConsumeItemSet",
"targetFieldName": "consumeCount",
"conditionGrns": [
],
"rate": 1.0
}
Model name for buff application conditions
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
Consume items by specifying the user ID
Field name within the model to which the buff is applied
consumeCount
Amount to consume
"targetAction": {
"targetActionName": "Gs2Inventory:ConsumeItemSetByUserId",
"targetFieldName": "consumeCount",
"conditionGrns": [
],
"rate": 1.0
}
Model name for buff application conditions
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
Acquire simple items by specifying user ID
Field name within the model to which the buff is applied
acquireCounts
List of quantity of simple items to be obtained
"targetAction": {
"targetActionName": "Gs2Inventory:AcquireSimpleItemsByUserId",
"targetFieldName": "acquireCounts",
"conditionGrns": [
],
"rate": 1.0
}
Model name for buff application conditions
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
Consume simple items
Field name within the model to which the buff is applied
consumeCounts
List of quantity of simple items to be consumed
"targetAction": {
"targetActionName": "Gs2Inventory:ConsumeSimpleItems",
"targetFieldName": "consumeCounts",
"conditionGrns": [
],
"rate": 1.0
}
Model name for buff application conditions
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
Consume simple items by specifying user ID
Field name within the model to which the buff is applied
consumeCounts
List of quantity of simple items to be consumed
"targetAction": {
"targetActionName": "Gs2Inventory:ConsumeSimpleItemsByUserId",
"targetFieldName": "consumeCounts",
"conditionGrns": [
],
"rate": 1.0
}
Model name for buff application conditions
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
Acquire big items by specifying user ID
Field name within the model to which the buff is applied
acquireCount
Quantity of big items to be obtained
"targetAction": {
"targetActionName": "Gs2Inventory:AcquireBigItemByUserId",
"targetFieldName": "acquireCount",
"conditionGrns": [
],
"rate": 1.0
}
Model name for buff application conditions
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
Consume big items
Field name within the model to which the buff is applied
consumeCount
Quantity of big items to be consumed
"targetAction": {
"targetActionName": "Gs2Inventory:ConsumeBigItem",
"targetFieldName": "consumeCount",
"conditionGrns": [
],
"rate": 1.0
}
Model name for buff application conditions
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
Consume big items by specifying user ID
Field name within the model to which the buff is applied
consumeCount
Quantity of big items to be consumed
"targetAction": {
"targetActionName": "Gs2Inventory:ConsumeBigItemByUserId",
"targetFieldName": "consumeCount",
"conditionGrns": [
],
"rate": 1.0
}
Model name for buff application conditions
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}"
}
]