- Joined
- Aug 12, 2007
- Messages
- 133
I want to add a ability to a hero after it purchases an item.
Doesn't matter if it's a hero or non hero ability. All I need is a ability. That's all.
-
Item abilities
-
Events
-
Unit - A unit Acquires an item
-
-
Conditions
-
Actions
-
Set itemege = (Item being manipulated)
-
Set hero = (Hero manipulating item)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Item-type of itemege) Equal to Stat Increase
-
-
Then - Actions
-
Unit - Add Command to hero
-
Unit - Set level of Command for hero to ((Level of Command for hero) + 1)
-
-
Else - Actions
-
-
Item - Remove itemege
-
-
Doesn't matter if it's a hero or non hero ability. All I need is a ability. That's all.