- Joined
- Sep 29, 2008
- Messages
- 672
Noob here,
I was wondering how I can make items stack charges
when acquired, bought etc...
Sorry for being a noob. Just wanted my map to get done. This is the only thing that bothers.
I was wondering how I can make items stack charges
when acquired, bought etc...
-
Events
-

Unit - A unit Acquires an item
-
-
Conditions
-

(Item-class of (Item being manipulated)) Equal to Charged
-

((Hero manipulating item) has an item of type (Item-type of (Item being manipulated))) Equal to True
-
-
Actions
-

Set ItemManip = (Item being manipulated)
-

Set ItemAquiring = (Charges remaining in (Item being manipulated))
-

Set ItemType = (Item-type of ItemManip)
-

Item - Set charges remaining in (Item carried by (Hero manipulating item) of type ItemType) to ((Charges remaining in (Item carried by (Hero manipulating item) of type ItemType)) + ItemAquiring)
-

Item - Remove ItemManip
-
-
((Hero manipulating item) has an item of type (Item-type of (Item being manipulated))) Equal to True
Sorry for being a noob. Just wanted my map to get done. This is the only thing that bothers.







