All right, I'm trying to make an orb effect skill based of poison. The poison actually is just a dummy skill that does nothing, but add those buffs:
•Burrowing Attack (Stackable)
•Burrowing Attack (Non-Stackable)
All stacking fields of the poison skill are set to "None".
Here is my trigger:
If I remove the condition "((Triggering unit) has buff Burrowing Attack (Non-stacking)) Equal to (==) True" the trigger works. With this condition, however the Impale never happens!
My hero is also never playing his animation!
•Burrowing Attack (Stackable)
•Burrowing Attack (Non-Stackable)
All stacking fields of the poison skill are set to "None".
Here is my trigger:
Code:
Burrowing Attack
Events
Unit - A unit Is attacked
Conditions
(Unit-type of (Attacking unit)) Equal to (==) Crypt Lord
((Triggering unit) has buff Burrowing Attack (Non-stacking)) Equal to (==) True
Actions
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Random real number between 0.00 and 100.00) Less than or equal to (<=) (6.25 x (Real((Level of Burrowing Attack (Anub'arak) for (Attacking unit)))))
Then - Actions
Animation - Play (Attacking unit)'s morph animation
Set Temp_Point = (Position of (Attacking unit))
Unit - Create 1 Dummy for (Owner of (Attacking unit)) at Temp_Point facing Default building facing (270.0) degrees
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
Unit - Add Impale (Dummy) to (Last created unit)
Animation - Play (Attacking unit)'s morph, defend animation
Unit - Order (Last created unit) to Undead Crypt Lord - Impale (Triggering unit)
Point - Remove Temp_Point
Else - Actions
If I remove the condition "((Triggering unit) has buff Burrowing Attack (Non-stacking)) Equal to (==) True" the trigger works. With this condition, however the Impale never happens!
My hero is also never playing his animation!