- Joined
- May 15, 2007
- Messages
- 88
I want this ability/trigger to COST 200 gold to cast, but it will give you ALL the gold of the target unit.
Say you got 300 gold and target a person with 500 gold, you will loose 200
300
-200
=100
But get 500
100
+500
=600.
You will have 600 gold.
Though it doesn't work ;|
*GoldSteal is a variable.
*Gold Steal is an ability.
Say you got 300 gold and target a person with 500 gold, you will loose 200
300
-200
=100
But get 500
100
+500
=600.
You will have 600 gold.
Though it doesn't work ;|
*GoldSteal is a variable.
*Gold Steal is an ability.
-
GoldSteal
-
Events
- Unit - A unit Finishes casting an ability
-
Conditions
- (Ability being cast) Equal to Gold Steal (Neutral Hostile)
-
Actions
- Set GoldSteal = ((Owner of (Target unit of ability being cast)) Current gold)
- Player - Set (Owner of (Target unit of ability being cast)) Current gold to 0
- Player - Add (-200 + GoldSteal) to (Owner of (Casting unit)) Current gold
-
Events