- Joined
- Aug 5, 2010
- Messages
- 147
I have this trigger which sells a tower and gives 100% gold, and it works perfectly.
-
Events
-
Unit - A unit Finishes casting an ability
-
-
Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
And - All (Conditions) are true
-
Conditions
-
(Ability being cast) Equal to Sell Tower [Normal Tower]
-
(Level of Sell Tower [Normal Tower] for (Casting unit)) Equal to 1
-
-
-
-
Then - Actions
-
Player - Add (Point-value of (Triggering unit)) to (Owner of (Casting unit)) Current gold
-
Unit - Remove (Casting unit) from the game
-
Special Effect - Create a special effect at (Position of (Casting unit)) using Abilities\Spells\Other\Transmute\PileofGold.mdl
-
-
Else - Actions
-
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
And - All (Conditions) are true
-
Conditions
-
(Ability being cast) Equal to Sell Tower [Normal Tower]
-
(Level of Sell Tower [Normal Tower] for (Casting unit)) Equal to 2
-
-
-
-
Then - Actions
-
Player - Add ((80 / 100) x (Point-value of (Casting unit))) to (Owner of (Casting unit)) Current gold
-
Unit - Remove (Casting unit) from the game
-
Special Effect - Create a special effect at (Position of (Casting unit)) using Abilities\Spells\Other\Transmute\PileofGold.mdl
-
-
Else - Actions
-
-
Player - Add ((80 / 100) x (Point-value of (Casting unit))) to (Owner of (Casting unit)) Current gold