I've implemented OneTwoSC's/Bifuu's item system, with the ability to buy and sell and whatnot. I have no problem making items that add health, increase damage, change regen, however, I can't seem to make an item that adds to the hero's attributes. The attributes are set up the same as in OneTwoSC's hero tutorial, with Strenght/Agility/Intellect.
How do I make an item that adds to those stats?
How do I make it so that duplicate items in an inventory stack and both impact the hero, as opposed to just one?
I've implemented OneTwoSC's/Bifuu's item system, with the ability to buy and sell and whatnot. I have no problem making items that add health, increase damage, change regen, however, I can't seem to make an item that adds to the hero's attributes. The attributes are set up the same as in OneTwoSC's hero tutorial, with Strenght/Agility/Intellect.
How do I make an item that adds to those stats?
How do I make it so that duplicate items in an inventory stack and both impact the hero, as opposed to just one?
Thanks!
Any ideas?
I don't know if you still need it but this is how its done (I am starting after you created all attributes, hero, etc.):
Lets say we want to create an armor that increases Strength by 5