• 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.

[Trigger] heal spell

Status
Not open for further replies.
Level 4
Joined
Apr 9, 2008
Messages
73
where is my mistake?

  • Holy Spiral
    • Events
      • Unit - A unit starts casting an ability
    • Conditions
      • (Ability being cast) equal to Healing Wave
    • Actions
      • Set Holy_Spiral_Target = (Target unit of ability being cast)
      • Unit - Set life of Holy_Spiral_Target to ((Life of Holy_Spiral_Target) + ((Real((Level of Holy Spiral for (Triggering unit)))) x 5.00))
      • Wait 1.00 seconds
      • Unit - Set life of Holy_Spiral_Target to ((Life of Holy_Spiral_Target) + ((Real((Level of Holy Spiral for (Triggering unit)))) x 5.00))
      • Wait 1.00 seconds
      • Unit - Set life of Holy_Spiral_Target to ((Life of Holy_Spiral_Target) + ((Real((Level of Holy Spiral for (Triggering unit)))) x 5.00))
      • Wait 1.00 seconds
      • Unit - Set life of Holy_Spiral_Target to ((Life of Holy_Spiral_Target) + ((Real((Level of Holy Spiral for (Triggering unit)))) x 5.00))
      • Wait 1.00 seconds
      • Unit - Set life of Holy_Spiral_Target to ((Life of Holy_Spiral_Target) + ((Real((Level of Holy Spiral for (Triggering unit)))) x 5.00))
      • Wait 1.00 seconds
      • Unit - Set life of Holy_Spiral_Target to ((Life of Holy_Spiral_Target) + ((Real((Level of Holy Spiral for (Triggering unit)))) x 5.00))
      • Wait 1.00 seconds
      • Unit - Set life of Holy_Spiral_Target to ((Life of Holy_Spiral_Target) + ((Real((Level of Holy Spiral for (Triggering unit)))) x 5.00))
      • Wait 1.00 seconds
      • Unit - Set life of Holy_Spiral_Target to ((Life of Holy_Spiral_Target) + ((Real((Level of Holy Spiral for (Triggering unit)))) x 5.00))
      • Wait 1.00 seconds
      • Unit - Set life of Holy_Spiral_Target to ((Life of Holy_Spiral_Target) + ((Real((Level of Holy Spiral for (Triggering unit)))) x 5.00))
      • Wait 1.00 seconds
      • Unit - Set life of Holy_Spiral_Target to ((Life of Holy_Spiral_Target) + ((Real((Level of Holy Spiral for (Triggering unit)))) x 5.00))
 
The trigger automaticly ends when the triggering unit stops casting.
Its a bug i sometimes noticed.
Make two triggers instead of one:
  • Trigger 1
  • Events
  • Unit - A unit starts casting an ability
  • Conditions
  • (Ability being cast) equal to Healing Wave
  • Actions
  • Set Holy_Spiral_Target = (Target unit of ability being cast)
  • Run Trigger 2
  • Trigger 2
  • Events
  • Conditions
  • Actions
  • Unit - Set life of Holy_Spiral_Target to ((Life of Holy_Spiral_Target) + ((Real((Level of Holy Spiral for (Triggering unit)))) x 5.00))
  • Wait 1.00 seconds
  • Unit - Set life of Holy_Spiral_Target to ((Life of Holy_Spiral_Target) + ((Real((Level of Holy Spiral for (Triggering unit)))) x 5.00))
  • Wait 1.00 seconds
  • Unit - Set life of Holy_Spiral_Target to ((Life of Holy_Spiral_Target) + ((Real((Level of Holy Spiral for (Triggering unit)))) x 5.00))
  • Wait 1.00 seconds
  • Unit - Set life of Holy_Spiral_Target to ((Life of Holy_Spiral_Target) + ((Real((Level of Holy Spiral for (Triggering unit)))) x 5.00))
  • Wait 1.00 seconds
  • Unit - Set life of Holy_Spiral_Target to ((Life of Holy_Spiral_Target) + ((Real((Level of Holy Spiral for (Triggering unit)))) x 5.00))
  • Wait 1.00 seconds
  • Unit - Set life of Holy_Spiral_Target to ((Life of Holy_Spiral_Target) + ((Real((Level of Holy Spiral for (Triggering unit)))) x 5.00))
  • Wait 1.00 seconds
  • Unit - Set life of Holy_Spiral_Target to ((Life of Holy_Spiral_Target) + ((Real((Level of Holy Spiral for (Triggering unit)))) x 5.00))
  • Wait 1.00 seconds
  • Unit - Set life of Holy_Spiral_Target to ((Life of Holy_Spiral_Target) + ((Real((Level of Holy Spiral for (Triggering unit)))) x 5.00))
  • Wait 1.00 seconds
  • Unit - Set life of Holy_Spiral_Target to ((Life of Holy_Spiral_Target) + ((Real((Level of Holy Spiral for (Triggering unit)))) x 5.00))
  • Wait 1.00 seconds
  • Unit - Set life of Holy_Spiral_Target to ((Life of Holy_Spiral_Target) + ((Real((Level of Holy Spiral for (Triggering unit)))) x 5.00))
 
Status
Not open for further replies.
Top