eloytoro
New Member
- Reaction score
- 4
Code:
Necrosis
Events
Time - Every 1.00 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked unit) has buff Necrosis ) Equal to True
Then - Actions
Unit - Set life of (Picked unit) to ((Life of (Picked unit)) - ((Real((Intelligence of NecrosisCaster (Include bonuses)))) x 3.00))
Floating Text - Create floating text that reads (String(((Intelligence of NecrosisCaster (Include bonuses)) x 3))) at (Position of (Picked unit)) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 0.00%), and 20.00% transparency
Floating Text - Change (Last created floating text): Disable permanence
Floating Text - Set the velocity of (Last created floating text) to 64.00 towards 90.00 degrees
Floating Text - Change the lifespan of (Last created floating text) to 1.00 seconds
Floating Text - Change the fading age of (Last created floating text) to 0.50 seconds
Else - Actions
Trigger - Turn off (This trigger)