IF you want a test map just ask me.
- Trigger
- Events
- Unit - A unit Dies
- Conditions
- ((Triggering unit) is A Hero) Equal to True
- Actions
- -------- -------------------- --------
- -------- 1 = STR 2 = AGI 3 = INT --------
- Set Integer = (Random integer number between 1 and 3)
- -------- -------------------- --------
- Set Point = (Position of (Killing unit))
- -------- -------------------- --------
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Integer Equal to 1
- Then - Actions
- Hero - Modify Strength of (Killing unit): Add 1
- Floating Text - Create floating text that reads ~STR +1 at Point 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 100.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 2.00 seconds
- Floating Text - Change the age of (Last created floating text) to 0.65 seconds
- Else - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Integer Equal to 2
- Then - Actions
- Hero - Modify Agility of (Killing unit): Add 1
- Floating Text - Create floating text that reads ~STR +1 at Point 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 100.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 2.00 seconds
- Floating Text - Change the age of (Last created floating text) to 0.65 seconds
- Else - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Integer Equal to 3
- Then - Actions
- Hero - Modify Intelligence of (Killing unit): Add 1
- Floating Text - Create floating text that reads ~STR +1 at Point 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 100.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 2.00 seconds
- Floating Text - Change the age of (Last created floating text) to 0.65 seconds
- Else - Actions
- Custom script: call RemoveLocation(udg_Point)