its not for a spell, dont worry.
so i wanted to have a trigger like this.
Every 10 seconds, every unit in the map will lose 1 point of mana. The mana in my map sort of works like food. (dont worry, ive made regeneration rate to 0)
In addition, if a unit has lost all of its mana, every 10 seconds, he will instead lose 1 point of health.
The set mana of Unit doesnt work, because it doesnt subtract the mana, it just sets the amount of mana. Very different to what i want. thx for the help BeTaGod-