Updated BaseItem and ItemBPS

Gave both items booleans to make the code differentiate what the item does to the player.
This commit is contained in:
MH261677 2022-11-23 00:51:00 +00:00
parent 49a24325ea
commit 168a43d751
3 changed files with 10 additions and 4 deletions

Binary file not shown.

Binary file not shown.

View File

@ -46,6 +46,12 @@ public:
//The cost of the item
UPROPERTY(EditDefaultsOnly, BlueprintReadWrite, Category = "Item")
int ItemCostPrice;
UPROPERTY(EditAnywhere, Category = "Item")
bool isHealingItem;
UPROPERTY(EditAnywhere, Category = "Item")
bool isDamageBuffItem;
//reference to the UInventoryComponent script
UPROPERTY()