Hello fellow members of The Hive, I am trying to make a passive ability for my hero, which gives him a 20% chance to summon a bear on his auto-attacks. But for some reason Orb of Lightning won't work with the summon bear ability. What Am I to do?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Events Unit - A unit Is attacked
Conditions
Actions

If (All Conditions are True) then do (Then Actions) else do (Else Actions)


If - Conditions



(Level of Summon Misha (Rexxar) for (Attacking unit)) Greater than 0



(Number of living Misha (Level 1) units owned by (Owner of (Attacking unit))) Less than or equal to 0


Then - Actions



Set TempInteger = (Random integer number between 1 and 100)



If (All Conditions are True) then do (Then Actions) else do (Else Actions)




If - Conditions





TempInteger Greater than or equal to 80




Then - Actions





Unit - Create 1 Misha (Level 1) for (Owner of (Attacking unit)) at (Position of (Attacking unit)) facing (Position of (Attacked unit))





Unit - Order (Last created unit) to Attack (Attacked unit)




Else - Actions


Else - Actions
Set TempPoint1 = (Position of (Attacking unit))
Set TempPoint2 = (Position of (Attacked unit))
Unit - Create 1 Misha (Level 1) for (Owner of (Attacking unit)) at TempPoint1 facing TempPoint2
Unit - Order (Last created unit) to Attack (Attacked unit)
Custom script: call RemoveLocation (udg_TempPoint1)
Custom script: call RemoveLocation (udg_TempPoint2)
Events

Unit - A unit Is attacked
Conditions

(Level of Summon Misha (Rexxar) for (Attacking unit)) Greater than 0

(Number of living Misha (Level 1) units owned by (Owner of (Attacking unit))) Less than or equal to 0

(Random integer number between 1 and 100) Greater than or equal to 80
Actions

Set TempPoint1 = (Position of (Attacking unit))

Set TempPoint2 = (Position of (Attacked unit))

Unit - Create 1 Misha (Level 1) for (Owner of (Attacking unit)) at TempPoint1 facing TempPoint2

Unit - Order (Last created unit) to Attack (Attacked unit)

Custom script: call RemoveLocation (udg_TempPoint1)

Custom script: call RemoveLocation (udg_TempPoint2)
Ahh I see Thanks a ton.But if you diden't use Arrays, than how did you define TempPoint1 and 2? I am unable to pick any numbers, when it ain't an array.
