673 posts Sunny Singapore, the lil' red dot joined
#2
events- unit acquires an item conditions- item being manipulated equal to (item) hero manipulating item has (item) actions- remove (item being manipulated) set charges of (item) to (charges remaining +1)
that doesnt work i need something that will only combine charge class items and will stack items that also have multiple charges if there is an item on the ground with 3 charges and you have an item with 2 charges i want the one you have to be 5 charges...
I think you only need to create an Integer Variable.
Set charges_variable = (charges remaining in item being manipulated + charges remaining in item carried by triggering unit of type X) Set charges remaining in item being manipulated to charges_variable.
These actions are to add the number of charges of a certain item that the hero has with the number of charges of the manipulated item.