I have created a spell called "Forceful Shot" which is supposed to damage enemy units in a line and make them bleed for 6 seconds. My problem is that I can't get them to bleed.
I gave the spell a custom buff I made called "Bleeding (Forceful Shot)" and set the "Stats - Duration - Normal" to 6. Then I created a trigger that says every 1.00 seconds to pick every unit in the map who has the buff (Bleeding) and damage them for 8 health points.
My trigger:
- Actions:
Time - Every 1.00 seconds of game time
- Conditions:
- Events:
Unit Group - Pick every unit in (Units in (Entire map) matching (((Matching unit) has buff Bleeding (Forceful Shot)) Equal to True)) and do (Unit - Set life of (Picked unit) to ((Life of (Picked unit)) - 8.00))
I think I've got the trigger right, but when the enemy units get hit by the spell, they don't get the Bleeding buff. Anyone knows what's wrong?
I gave the spell a custom buff I made called "Bleeding (Forceful Shot)" and set the "Stats - Duration - Normal" to 6. Then I created a trigger that says every 1.00 seconds to pick every unit in the map who has the buff (Bleeding) and damage them for 8 health points.
My trigger:
- Actions:
Time - Every 1.00 seconds of game time
- Conditions:
- Events:
Unit Group - Pick every unit in (Units in (Entire map) matching (((Matching unit) has buff Bleeding (Forceful Shot)) Equal to True)) and do (Unit - Set life of (Picked unit) to ((Life of (Picked unit)) - 8.00))
I think I've got the trigger right, but when the enemy units get hit by the spell, they don't get the Bleeding buff. Anyone knows what's wrong?