cleeezzz
The Undead Ranger.
- Reaction score
- 268
Code:
Crit Strike Damage Show Mana Burn Show
Events
Conditions
Actions
For each (Integer A) from 1 to 8, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Damage source) has an item of type Critical Strike) Equal to True
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Damage source)) Equal to (Player((Integer A)))
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(HERO[(Integer A)] has an item of type Critical Strike) Equal to True
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Random integer number between 1 and 100) Less than or equal to 10
Then - Actions
Unit - Cause (Damage source) to damage (Triggering unit), dealing ((Damage taken) / 2.00) damage of attack type Spells and damage type Normal
Floating Text - Create floating text that reads (|c00FFFF00 + (Critical!|r - + (|c00FF0000 + ((String((Integer(((Damage taken) + ((Damage taken) / 2.00)))))) + |r)))) above (Triggering unit) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
Floating Text - Set the velocity of (Last created floating text) to 64.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 1.70 seconds
Floating Text - Change the fading age of (Last created floating text) to 1.00 seconds
Else - Actions
Floating Text - Create floating text that reads (|c00FF0000 + (- + ((String((Integer((Damage taken))))) + |r))) above (Triggering unit) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
Floating Text - Set the velocity of (Last created floating text) to 64.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 1.70 seconds
Floating Text - Change the fading age of (Last created floating text) to 1.00 seconds
Else - Actions
Else - Actions
Else - Actions
Floating Text - Create floating text that reads (|c00FF0000 + (- + ((String((Integer((Damage taken))))) + |r))) above (Triggering unit) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
Floating Text - Set the velocity of (Last created floating text) to 64.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 1.70 seconds
Floating Text - Change the fading age of (Last created floating text) to 1.00 seconds
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Damage source) has buff Mana Steal Buff ) Equal to True
Then - Actions
Wait 0.10 seconds
Floating Text - Create floating text that reads (|c00003DF5 + (- + ((String((Integer(((Damage taken) / 50.00))))) + |r))) above (Triggering unit) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
Floating Text - Set the velocity of (Last created floating text) to 64.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 1.70 seconds
Floating Text - Change the fading age of (Last created floating text) to 1.00 seconds
Floating Text - Create floating text that reads (|c00003DF5 + (+ + ((String((Integer(((Damage taken) / 50.00))))) + |r))) above (Damage source) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
Floating Text - Set the velocity of (Last created floating text) to 64.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 1.70 seconds
Floating Text - Change the fading age of (Last created floating text) to 1.00 seconds
Else - Actions
the crit strike shows but it overlaps with the regular damage for some reason.
the regular damage is not shown if the number is higher than 10 but its still showing... help?
Edit: nvm, forgot most of my skills used dummies. had to incorporate it.