- Joined
- Jan 13, 2008
- Messages
- 559
-
Axe of Destruction
-
Events
- Unit - A unit Sells an item (from shop)
-
Conditions
- (Item-type of (Sold Item)) Equal to Axe of Destruction
- ((Unit-type of (Buying unit)) is A Hero) Equal to True
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Buying unit) has an item of type Power Claws) Equal to True
- ((Buying unit) has an item of type Iron Sword) Equal to True
-
Then - Actions
- Item - Remove (Item carried by (Buying unit) of type Iron Sword)
- Item - Remove (Item carried by (Buying unit) of type Power Claws)
- Special Effect - Create a special effect at (Position of (Buying unit)) using Abilities\Spells\Demon\DarkPortal\DarkPortalTarget.mdl
- Special Effect - Destroy (Last created special effect)
- Skip remaining actions
-
Else - Actions
- Item - Remove (Item being manipulated)
- Item - Remove (Sold Item)
- Player - Add 4000 to (Owner of (Buying unit)) Current gold
- Game - Display to (Player group((Owner of (Buying unit)))) for 1.00 seconds the text: You are missing an ...
- Skip remaining actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
/e: i solved it by adding a wait - 0.03 seconds before removing it (which can lead to problems if 2 players buy smthg at the same time tho)