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