Nathan0093
New Member
- Reaction score
- 4
I want to make the dummy deal x damage while passing through enemy units in this trigger, but I don't know how to. Help?
Code:
Tiger Rage
Events
Unit - A unit Is attacked
Conditions
(Unit-type of (Attacking unit)) Equal to Tigerian Blademaster
((Attacking unit) has buff Tiger Rage ) Equal to True
Actions
Set TigerPosition = (Position of (Attacking unit))
Unit - Create 1 Airwave for (Owner of Tiger) at (TigerPosition offset by 30.00 towards (Facing of (Attacking unit)) degrees) facing (Facing of Tiger) degrees
Set Dummy = (Last created unit)
Unit - Order Dummy to Move To ((Position of (Attacking unit)) offset by 600.00 towards (Facing of (Attacking unit)) degrees)
Unit - Add a 1.00 second Generic expiration timer to Dummy
Custom script: call RemoveLocation(udg_TigerPosition)