HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

I Need help with triggers effecting abilitys with no target.

10-02-2004, 07:10 AM#1
DarkMage
What i need is a trigger that will let me effect a unit that is effected by an ability with no target, Like War Stomp or Essence of Blight.

I tryed:
Event:
Unit- A unit begains casting a spell.
Condtion:
(Ability being cast) is equal to Essence of blight
Action:
Unit- Set Hp of (Unit being targted by casting spell) to 100%

But that does not work.

I would try to set the trigger so it starts when any unit that has a Buff gets there HP set to 100%, but theres no trigger for buffs.
10-02-2004, 09:21 AM#2
Dead-Inside
You just made one small mistake;
Code:
Actions
    Unit - Set life of (Casting unit) to 100.00%
There you go. There's noone being targeted by the spell.
10-02-2004, 10:14 AM#3
DarkMage
That will only heal the caster. What about the other units that are effected by the spell?
10-02-2004, 09:35 PM#4
Kishe
Just pick every unit owned by the owner of the casting unit within (whatever range you want) and set life to 100%
10-02-2004, 09:57 PM#5
Vexorian
Couldn't you just use a scroll of healing with a big regeneration value?
10-03-2004, 04:48 AM#6
Kishe
Well, you see, that's the obvious choice. Who would ever go with those? ^_^