Hi i need some help with this trigger because some parts are not working:
-the special effecst not showing ingame
-how do i manage the trigger with adding hit point?cant make i works too
-the special effecst not showing ingame
-how do i manage the trigger with adding hit point?cant make i works too
-
Throw Potion
-
Events
- Unit - A unit Begins casting an ability
-
Conditions
- (Ability being cast) Equal to (==) Throw Potion
-
Actions
- Set LastLocation = (Position of (Casting unit))
-
Unit - Create 1 Dummy0 for (Owner of (Casting unit)) at LastLocation facing Default building facing (270.0) degrees
-
Do Multiple ActionsFor each (Integer A) from 1 to 3, do (Actions)
-
Loop - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of Throw Potion for (Casting unit)) Equal to (==) (Integer A)
-
Then - Actions
- Unit - Add Dummy Potion to (Last created unit)
- Unit - Set level of Dummy Potion for (Last created unit) to (Integer A)
- Unit - Order (Last created unit) to Night Elf Warden - Shadow Strike (Target unit of ability being cast)
- Wait 1.00 seconds
- Unit - Remove (Last created unit) from the game
- Special Effect - Create a special effect at (Position of (Target unit of ability being cast)) using Abilities\Spells\Human\Heal\HealTarget.mdl
- Special Effect - Destroy (Last created special effect)
- Custom script: call RemoveLocation (udg_LastLocation)
- Else - Actions
-
If - Conditions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of Throw Potion for (Casting unit)) Equal to (==) 1
- (Ability being cast) Equal to (==) Throw Potion
-
Then - Actions
- Unit - Set life of (Target unit of ability being cast) to ((Life of (Target unit of ability being cast)) + 30.00)
- Else - Actions
-
If - Conditions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Ability being cast) Equal to (==) Throw Potion
- (Level of Throw Potion for (Casting unit)) Equal to (==) 2
-
Then - Actions
- Unit - Set life of (Target unit of ability being cast) to ((Life of (Target unit of ability being cast)) + 70.00)
- Else - Actions
-
If - Conditions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of Throw Potion for (Casting unit)) Equal to (==) 3
- (Ability being cast) Equal to (==) Throw Potion
-
Then - Actions
- Unit - Set life of (Target unit of ability being cast) to ((Life of (Target unit of ability being cast)) + 150.00)
- Else - Actions
-
If - Conditions
-
Do Multiple ActionsFor each (Integer A) from 1 to 3, do (Actions)
-
Events