- Joined
- Aug 16, 2011
- Messages
- 26
OK, guys. So I have been making a Sprint ability similer to Wind Walk but without the invisibility. It changes the movement speed just fine. I wanted to add the additional damage with triggers and this is what I came up with:
-
Sprint
-
Events
- Game - GDD_Event becomes Equal to 0.00
-
Conditions
- ((Triggering unit) has buff Sprint ) Equal to True
-
Actions
- Unit - Create 1 Dummy for (Owner of GDD_DamageSource) at (Position of GDD_DamageSource) facing 0.00 degrees
- Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
- Set Sprint_Damage = (Real(((Level of Sprint for GDD_DamageSource) x 30)))
- Unit - Cause (Last created unit) to damage GDD_DamagedUnit, dealing Sprint_Damage damage of attack type Hero and damage type Normal
- Floating Text - Create floating text that reads ((String(Sprint_Damage)) + !) above GDD_DamagedUnit with Z offset 0.00, using font size 10.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
- Unit - Remove Sprint buff from GDD_DamageSource
-
Events