BlackRabbit
New Member
- Reaction score
- 3
I used to have a trigger like this hooked to an ability that allowed me to sell a tower.
ONLY problem with it, because it works just fine, is that an ability to show my tower's range [thanks to you guys on here who built that, btw.] uses the unit's point value set as it's range. Any ideas? I've been trying to make this work for a few days and cannot seem to figure out just how to do it...
Code:
Sell Function
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Sell Tower
Actions
Player - Add ((Point-value of (Triggering unit)) x (100 / 75)) to (Owner of (Casting unit)) Current gold
Unit - Remove (Casting unit) from the game
ONLY problem with it, because it works just fine, is that an ability to show my tower's range [thanks to you guys on here who built that, btw.] uses the unit's point value set as it's range. Any ideas? I've been trying to make this work for a few days and cannot seem to figure out just how to do it...