• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

How i can use lifesteel with trigger...continues

Status
Not open for further replies.
Level 6
Joined
Apr 24, 2008
Messages
174
Event
Unit - A Unit starts the effect of an ability

Condition
(Ability being cast) equal to (Storm Bolt)

Action
Unit - (Set life of (Casting Unit) to (Unit(Life of (Casting Unit))+(100.00))
Special Effect - Create a special effect at (Unit -(Position of (Casting Unit))) using (Any effect so it looks like lifesteal)


Hope it helps ^^
 
Level 7
Joined
May 6, 2008
Messages
284
lolz i went there

Unit - (Set life of (Casting Unit) to (Unit(Life of (Casting Unit))+(100.00))

but i looked the + was x and got confused^^ will ty anyway
 
Level 7
Joined
May 6, 2008
Messages
284
How i can use lifesteel with trigger when i cast nuke/strombolt/firebolt ETC.
but i want the lifesteel come only once per cast of ability
 
Level 2
Joined
Jan 10, 2009
Messages
30
Once per cast? thats kinda easy too ^^

  • Events
    • Unit - A Unit starts the effect of an ability
  • Conditions
    • (Ability being cast) equal to (Storm Bolt)
  • Actions
    • If (AbiltyCasted Equal to False) then (Unit - (Set life of (Casting Unit) to (Unit(Life of (Casting Unit))+(100.00))) Else (Set AbilityCasted Equal to True)
So, whats new here?
Create an Variable named "AbilityCasted"
Once you cast the spell, it will do "lifesteal", but if you cast it again, it wont work.

Variable type: Boolerean
 
Last edited:
Status
Not open for further replies.
Top