- 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):
SFXDestroy <gen> :
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 - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
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 - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
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 - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
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 - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
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
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Else - Actions
- Do Nothing
SFXDestroy <gen> :
-
Actions
- Wait 2.00 game-time seconds
- Special Effect - Destroy SpecialFX