kasilopana
New Member
- Reaction score
- 1
I've tried, but I can't seem to make it work correctly.. The trigger looks like this.
What is wrong, and what needs to be changed?
When I press the ability, I get 100 gold, and not 10 gold as supposed.
Edit: Got another question too.. How can I make it so the player only get half the gold, or even 75 % ?
Trigger:
- Selltower
- Events
- Unit - A unit Begins casting an ability
- Conditions
- (Ability being cast) Equal to Sell Tower
- Actions
- Player - Add (Point-value of (Casting unit)) to (Owner of (Casting unit)) Current gold
- Special Effect - Create a special effect attached to the overhead of (Casting unit) using Objects\Spawnmodels\NightElf\EntBirthTarget\EntBirthTarget.mdl
- Unit - Remove (Casting unit) from the game
- Events
What is wrong, and what needs to be changed?
When I press the ability, I get 100 gold, and not 10 gold as supposed.
Edit: Got another question too.. How can I make it so the player only get half the gold, or even 75 % ?