- Joined
- Dec 21, 2019
- Messages
- 51
Hello, i use the undead "blight" as an autocast for a healing tower. on heal chance to proc a dummy (at casters target, or target of ability being cast) that, then, uses tranquility.
[edit: the unit keeps spawning at the caster]
Why does the dummy not spawn at the target of ability being cast, where did i go wrong? Thanks in advance
Cheers
[edit: the unit keeps spawning at the caster]
Why does the dummy not spawn at the target of ability being cast, where did i go wrong? Thanks in advance
Cheers
-
ORiley
-
Events
- Unit - A unit Finishes casting an ability
- Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Unit-type of (Casting unit)) Equal to |cff00ff00Xavuz O'riley|r
-
Then - Actions
- Set VariableSet ORileyProc = (Random integer number between 1 and 10)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ORileyProc Greater than or equal to 4
- ORileyProc Less than or equal to 5
-
Then - Actions
- Set VariableSet ORileyOwner = (Owner of (Casting unit))
- Set VariableSet ORileyPoint = (Position of (Target unit of ability being cast))
- Unit - Create 1 BarrelDummy for ORileyOwner at ORileyPoint facing Default building facing degrees
- Set VariableSet ORileyUnit = (Last created unit)
- Unit - Order ORileyUnit to Night Elf Keeper Of The Grove - Tranquility.
- Custom script: call RemoveLocation (udg_ORileyPoint)
- Unit - Add a 1.01 second Generic expiration timer to ORileyUnit
- Else - Actions
-
If - Conditions
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
Last edited: