• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Help with my spell not working

Status
Not open for further replies.
Level 1
Joined
Jul 1, 2009
Messages
1
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?
 
Status
Not open for further replies.
Top