I am studying on how to use the map variable right now, and try to make an ability that make the player steal an item from the enemy, but it does not works like I think. Can anyone look and help me figure out what is wrong with my blueprint? I have been fixing for hours and still does not understand what is wrong.
The problems I have seen right now is → When player stole the Junk item, it just increased the amount of potion in player’s inventory by 1, but when player stole a potion, nothing happened. [Player originally does not have junk item in the inventory. Player should not be able to steal it at this time, but it just can. I do not know why.]
Monster’s loot table contain Junk item and Potion
This is player’s inventory
This is steal’s blueprint





