berserk group add
Events
Unit - A unit Learns a skill
Conditions
(Learned Hero Skill) Equal to Berserk
Actions
Set berserkunit = (Triggering unit)
berserk
Events
Time - Every 1.00 seconds of game time
Conditions
(Life of berserkunit) Less than or equal to (0.40 x (Max life of berserkunit))
Actions
Unit - Add berserk attack speed (Gloves of Haste) to berserkunit
Floating Text - Create floating text that reads BERSERK! above berserkunit with Z offset 0.00, using font size 10.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
Floating Text - Set the velocity of (Last created floating text) to 72.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 1.00 seconds
Trigger - Turn off (This trigger)
Wait 20.00 seconds
Unit - Remove berserk attack speed (Gloves of Haste) from berserkunit
Wait 40.00 seconds
Trigger - Turn on (This trigger)