• 🏆 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 over time with burst heal at end

Status
Not open for further replies.
Level 2
Joined
Dec 6, 2005
Messages
23
Okay, I'm making this ability that's akin to Lifebloom from World of Warcraft (if anyone knows what that is), basically it's a HoT which heals for an amount over time but when the duration of the spell ends it does a burst heal.
An advanced feature I'd like to add (if possible) as well is for the burst heal to be applied either when the spell ends or is dispelled.

So far I based the spell off of Rejuvination (obviously) and I'm trying to trigger the final burst heal effect.

Here's what I have so far (it looks a bit retarded, I know lol):

  • Events
  • Unit - A unit Starts the effect of an ability
  • Actions
  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
      • (Ability being cast) Equal to Flourish
    • Then
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Level of Flourish for (Triggering Unit)) Equal to 1
        • Then - Actions
          • Wait 9.00 Seconds
          • Unit - Set life of (Target unit of ability being cast) to ((Life of (Target unit of ability being cast)) + 100.00)
          • Special Effect - Create a special effect attached to the overhead of (Target unit of ability being cast) using Abilities\Spells\Items\ResourceItems\ResourceEffectTarget.mdl
          • Wait 0.01 Seconds
          • Set SpecialFX = (Last created Special Effect)
          • Trigger - Run SFXDestroy <gen> (ignoring conditions)
        • Else - Actions
  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
      • (Ability being cast) Equal to Flourish
    • Then
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Level of Flourish for (Triggering Unit)) Equal to 2
        • Then - Actions
          • Wait 9.00 Seconds
          • Unit - Set life of (Target unit of ability being cast) to ((Life of (Target unit of ability being cast)) + 125.00)
          • Special Effect - Create a special effect attached to the overhead of (Target unit of ability being cast) using Abilities\Spells\Items\ResourceItems\ResourceEffectTarget.mdl
          • Wait 0.01 Seconds
          • Set SpecialFX = (Last created Special Effect)
          • Trigger - Run SFXDestroy <gen> (ignoring conditions)
        • Else - Actions
  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
      • (Ability being cast) Equal to Flourish
    • Then
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Level of Flourish for (Triggering Unit)) Equal to 3
        • Then - Actions
          • Wait 9.00 Seconds
          • Unit - Set life of (Target unit of ability being cast) to ((Life of (Target unit of ability being cast)) + 130.00)
          • Special Effect - Create a special effect attached to the overhead of (Target unit of ability being cast) using Abilities\Spells\Items\ResourceItems\ResourceEffectTarget.mdl
          • Wait 0.01 Seconds
          • Set SpecialFX = (Last created Special Effect)
          • Trigger - Run SFXDestroy <gen> (ignoring conditions)
        • Else - Actions
  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
      • (Ability being cast) Equal to Flourish
    • Then
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Level of Flourish for (Triggering Unit)) Equal to 4
        • Then - Actions
          • Wait 9.00 Seconds
          • Unit - Set life of (Target unit of ability being cast) to ((Life of (Target unit of ability being cast)) + 145.00)
          • Special Effect - Create a special effect attached to the overhead of (Target unit of ability being cast) using Abilities\Spells\Items\ResourceItems\ResourceEffectTarget.mdl
          • Wait 0.01 Seconds
          • Set SpecialFX = (Last created Special Effect)
          • Trigger - Run SFXDestroy <gen> (ignoring conditions)
        • Else - Actions
  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
      • (Ability being cast) Equal to Flourish
    • Then
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Level of Flourish for (Triggering Unit)) Equal to 5
        • Then - Actions
          • Wait 9.00 Seconds
          • Unit - Set life of (Target unit of ability being cast) to ((Life of (Target unit of ability being cast)) + 150.00)
          • Special Effect - Create a special effect attached to the overhead of (Target unit of ability being cast) using Abilities\Spells\Items\ResourceItems\ResourceEffectTarget.mdl
          • Wait 0.01 Seconds
          • Set SpecialFX = (Last created Special Effect)
          • Trigger - Run SFXDestroy <gen> (ignoring conditions)
        • Else - Actions
        • Do Nothing
  • Else - Actions
  • Do Nothing
EDIT: Oops I just realised I put this in the wrong forum, sorry :/

SFXDestroy <gen> :

  • Actions
    • Wait 2.00 game-time seconds
    • Special Effect - Destroy SpecialFX
 
Status
Not open for further replies.
Top