skyblader
You're living only because it's illegal killing.
- Reaction score
- 159
Trigger:
- Magic Touch
- Events
- Unit - A unit Begins casting an ability
- Conditions
- Actions
- -------- Lightning Touch --------
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Ability being cast) Equal to Lightning Touch
- Then - Actions
- Set MagicTouchChance = (Random integer number between 1 and 100)
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- MagicTouchChance Less than or equal to (((Level of Lightning Touch for (Triggering unit)) x 5) + 5)
- Then - Actions
- Set TempPoint = (Position of (Triggering unit))
- Unit - Create 1 dummy unit for (Owner of (Triggering unit)) at TempPoint facing Default building facing degrees
- Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
- Unit - Add Stun to (Last created unit)
- Unit - Set level of Stun for (Last created unit) to (Level of Lightning Touch for (Triggering unit))
- Unit - Order (Last created unit) to Human Mountain King - Storm Bolt (Target unit of ability being cast)
- Else - Actions
- If - Conditions
- Else - Actions
- If - Conditions
- Custom script: call RemoveLocation (udg_TempPoint)
- Events
The stun ability is a unit ability, 99999 cast range, 0 cooldown, 0 mana cost.
Anything wrong in there?
Its supposed to have a percentage chance to stun every time the spell is casted. The spell is an autocast spell with no cooldown and I've tried casting a lot of times and nothing was stunned.
Edit: Targets allowed air, ground, enemy, neutral.