Untitled Trigger 001
Events
Unit - Unit Takes damage
Conditions
((Triggering unit) has buff Impetus Equal to True
Actions
Unit - Cause (Damage source) to damage (Triggering unit), dealing ((Distance between (Position of (Damage source)) and (Position of (Triggering unit))) x 0.10) damage of attack type Spells and damage type Normal
Unit - Remove Impetus buff from (Triggering unit)
Floating Text - Create floating text that reads ((String((Integer(((Distance between (Position of (Damage source)) and (Position of (Triggering unit))) x 0.10))))) + !) above (Triggering unit) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency