• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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