Class BuffItem
Item that gives the holder a buff
Implements
Properties
AllowDuplicateUpdate
True if same type of item can update multiple times during same frame for same holder
Declaration
public override bool AllowDuplicateUpdate { get; }
Overrides
BuffID
Type of the buff
Declaration
public int BuffID { get; init; }
MaxStackCount
Count limitation for multiple items inside one inventory slot
Declaration
public override int MaxStackCount { get; }
Overrides
Methods
OnItemUpdate_FromInventory(Character, int, int)
This function is called every frame when this item is in an holder's inventory
Declaration
public override void OnItemUpdate_FromInventory(Character holder, int inventoryID, int itemIndex)
Parameters
Type | Name | Description |
---|---|---|
Character | holder | The holder of the inventory |
int | inventoryID | ID of the inventory |