- Joined
- Dec 19, 2007
- Messages
- 1,234
SOLVED
-
Untitled Trigger 002
- Events
-
Conditions
- ((Triggering unit) has buff Cold Arrows (Stacking)) Equal to True
- (Level of Cold Arrows for (Damage source)) Not equal to 0
- ((Damage source) is A Hero) Equal to True
-
Actions
- Set p = (Position of (Triggering unit))
- Set A = (Player number of (Owner of (Damage source)))
- Set Integer = (Intelligence of (Damage source) (Include bonuses))
- Set real = (Real(Integer))
- Set Integer = (Level of Cold Arrows for (Damage source))
- Set real = (real x (0.20 + (0.10 x (Real(Integer)))))
- Set unit = (Triggering unit)
- Floating Text - Create floating text that reads (String((Integer(real)))) at p with Z offset -50.00, using font size 10.00, color (10.00%, 10.00%, 100.00%), and 0.00% transparency
- Floating Text - Set the velocity of (Last created floating text) to 50.00 towards 90.00 degrees
- Floating Text - Change (Last created floating text): Disable permanence
- Floating Text - Change the lifespan of (Last created floating text) to 3.00 seconds
- Floating Text - Change the fading age of (Last created floating text) to 2.00 seconds
- Custom script: call RemoveLocation (udg_p)
- Unit - Remove Cold Arrows (Stacking) buff from (Triggering unit)
- Unit - Cause (Damage source) to damage unit, dealing real damage of attack type Spells and damage type Normal
- Custom script: call DestroyGroup(udg_ug)
Last edited: