ianu74
New Member
- Reaction score
- 8
I've created a tower that shoots out Wisps(Flame) and damages the enemy. The Wisps do 50 base damage and for every Flame tower upgrade, the wisps do an extra 20 damage. However, i can't make it and the wisps still do 50 damage.
Is there something wrong with my trigger?
The ability is based off Permanent Immolation... the level of the immolation doesn't increase.
Code:
Flame Tower
Events
Unit - A unit Is attacked
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Attacking unit)) Equal to Flame Tower Level 4
Then - Actions
Unit - Create 1 Flame 3 for (Owner of (Attacking unit)) at (Position of (Attacking unit)) facing Default building facing degrees
Unit - Order (Last created unit) to Move To (Position of (Attacked unit))
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
Unit - Set level of Flame 4 (Neutral Hostile 1) for (Last created unit) to ((Number of units in (Units owned by (Owner of (Attacking unit)) of type Flame Tower Upgrade)) + 1)
The ability is based off Permanent Immolation... the level of the immolation doesn't increase.