Item Charge?
gampang atuh...
Code:
Charged Item
Events
Unit - A unit Acquires an item
Conditions
(Item-type of (Item being manipulated)) Equal to xxx
Actions
Set ChargedItem = (Item being manipulated)
Set HeroChargedItem = (Hero manipulating item)
For each (Integer A) from 1 to 6, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Item-type of (Item carried by HeroChargedItem in slot (Integer A))) Equal to (Item-type of ChargedItem)
Then - Actions
Item - Set charges remaining in (Item carried by HeroChargedItem in slot (Integer A)) to ((Charges remaining in (Item carried by HeroChargedItem in slot (Integer A))) + (Charges remaining in ChargedItem))
Item - Remove ChargedItem
Else - Actions
Share This Thread