• 🏆 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!

continuous spell

Status
Not open for further replies.
Level 10
Joined
Aug 8, 2004
Messages
562
*sigh*
yes, it will work:


Code:
Event-
Unit starts the effect of ability
Conditions-
Ability being cast = Yourability
Actionz-
set TargetVar = Target unit of ability being cast
turn on Trigger 2

-=Trigger2=-

Event-
Every X amount of seconds
-=NO CONDITIONS=-
Actionz-
Set life of TargetVar = life of targetVay + X (amount of heal)

:roll:
 
Level 3
Joined
Aug 17, 2005
Messages
24
Would you be able to use this for a stealth spell? Like, have a unit cast Stealth, then they stay invisible forever, unless they cancel it or are attacked?
 
Level 10
Joined
Jul 2, 2004
Messages
690
you can't cancel permanant invisibility. and you won't cancel it if you are attacked, either. the unit will lose it's invisibility when it ATTACKS.
 
Status
Not open for further replies.
Top