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:
parent
49a24325ea
commit
168a43d751
BIN
Content/Blueprints/Items/BP_BuffJelly.uasset
(Stored with Git LFS)
BIN
Content/Blueprints/Items/BP_BuffJelly.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
Content/Blueprints/Items/BP_HealingJelly.uasset
(Stored with Git LFS)
BIN
Content/Blueprints/Items/BP_HealingJelly.uasset
(Stored with Git LFS)
Binary file not shown.
@ -47,6 +47,12 @@ public:
|
|||||||
UPROPERTY(EditDefaultsOnly, BlueprintReadWrite, Category = "Item")
|
UPROPERTY(EditDefaultsOnly, BlueprintReadWrite, Category = "Item")
|
||||||
int ItemCostPrice;
|
int ItemCostPrice;
|
||||||
|
|
||||||
|
UPROPERTY(EditAnywhere, Category = "Item")
|
||||||
|
bool isHealingItem;
|
||||||
|
|
||||||
|
UPROPERTY(EditAnywhere, Category = "Item")
|
||||||
|
bool isDamageBuffItem;
|
||||||
|
|
||||||
//reference to the UInventoryComponent script
|
//reference to the UInventoryComponent script
|
||||||
UPROPERTY()
|
UPROPERTY()
|
||||||
class UInventoryComponent* StoredItems;
|
class UInventoryComponent* StoredItems;
|
||||||
|
Loading…
Reference in New Issue
Block a user