Skill
Events
Unit - A unit Is attacked
Conditions
(Level of Skill for (Triggering unit)) Greater than 0
(Random integer number between 1 and 100) Less than or equal to 10
Actions
Set Point = (Position of (Triggering unit))
Unit - Create 1 Dummy Unit for (Owner of (Triggering unit)) at Point facing Default building facing (270.0) degrees
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
Unit - Add Storm Bolt Dummy to (Last created unit)
Unit - Set level of Storm Bolt Dummy for (Last created unit) to (Level of Skill for (Triggering unit))
Unit - Order (Last created unit) to Human Mountain King - Storm Bolt (Attacking unit)
Custom script: call RemoveLocation (udg_Point)
Make sure that the storm bolt doesnt have any mana cost... and you have to make a dummy unit that has no model file... Which would be a Zone Indicator XD... If you dont understand I will elaborate further The less than or equal to 10 gives it a 10% chance on attack... If you want it less or more adjust the 10 accordingly.Code:Skill Events Unit - A unit Is attacked Conditions (Level of Skill for (Triggering unit)) Greater than 0 (Random integer number between 1 and 100) Less than or equal to 10 Actions Set Point = (Position of (Triggering unit)) Unit - Create 1 Dummy Unit for (Owner of (Triggering unit)) at Point facing Default building facing (270.0) degrees Unit - Add a 2.00 second Generic expiration timer to (Last created unit) Unit - Add Storm Bolt Dummy to (Last created unit) Unit - Set level of Storm Bolt Dummy for (Last created unit) to (Level of Skill for (Triggering unit)) Unit - Order (Last created unit) to Human Mountain King - Storm Bolt (Attacking unit) Custom script: call RemoveLocation (udg_Point)
(Random integer number between 1 and 100) Less than or equal to (Level of Skill for (((Triggering Unit)) * 5) + 5)