Healing over time?

Status
Not open for further replies.
Level 8
Joined
Aug 8, 2008
Messages
340
Hello. I am making a spell, that when the target unit use it, it gets healed 25hp every second for 10 seconds. But the way that I am doing it does not work. So can someone tell me how to make a trigger that does that?
 
Make a dummy spell, when the unit casts it create a dummy and order it to heal the caster. You have to make a healing spell for the dummy too, i say use rejuvenation.
 
Rejuv doesnt heal every 10 seconds but all the time till the unit is healed for as much as the skill says.

You would probably be better off with a dummy unit for neutral passive, which has a heal with 10 seconds cooldown and unlimited range. Then just order the dummy to use his "heal" on the targeted unit.

The skill which the hero(or unit?) uses should just be for example a rejuv with no effect and then have triggers launch when the skill is cast.
 
Why would you use item abilities? There are already normal abilities that do this job.

Rejuvenation and dummy heal being the best bets.
 
In conclusion: If the unit will be able to target others as well as itself, a simple spell like heal or rejuvenation will do, else you will need a trigger to make a dummy unit cast the spell on the unit. Or else simply setting the targets to "Self" will do...?
 
Then do this:
  • Events
    • Time - Every 1 second
  • Conditions
  • Actions
    • Unit Group - Pick every unit in ((Units in Playable Map Area) matching ((Matching Unit) has buff Yourbuff equal to True)) and do Actions
      • Loop - Actions
        • Unit - Set life of (Picked Unit) to ((Life of (Picked Unit)) + 10
 
Then do this:
  • Events
    • Time - Every 1 second
  • Conditions
  • Actions
    • Unit Group - Pick every unit in ((Units in Playable Map Area) matching ((Matching Unit) has buff Yourbuff equal to True)) and do Actions
      • Loop - Actions
        • Unit - Set life of (Picked Unit) to ((Life of (Picked Unit)) + 10

Isn't it better to use Rejuvenation? Else a trigger with a dummy casting Rejuvenation?
 
Status
Not open for further replies.
Back
Top