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

[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))
 
Level 30
Joined
Dec 6, 2007
Messages
2,228
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