I need find every leak in this trigger because is used every attack of unit.
-
Damage View Attacking Hero
- Events
-
Conditions
- (((Damage source) is Hero) equal se TRUE) or ((Integer((Maximum many of (Damage source)))) equal to 10)
- (Integer((Damage taken))) not equal 0
-
Actions
- Set damage_string = (String((Integer((Damage taken)))))
- Floating Text - Create floating text that reads (|c007FFF00 + (damage_string + |r dmg!)) above (Attacked unit) with Z offset 0.00, using font size 9.00, color (100.00%, 100.00%, 100.00%), and 5.00% transparency
- Floating Text - Hide (Last created floating text) for (All players)
- Floating Text - Show (Last created floating text) for (Player group((Owner of (Damage source))))
- Floating Text - Set the velocity of (Last created floating text) to 200.00 towards 90.00 degrees
- Floating Text - Change (Last created floating text): Vypnout permanence
- Floating Text - Change the fading age of (Last created floating text) to 0.80 seconds
- Floating Text - Change the lifespan of (Last created floating text) to 1.20 seconds