#1
Always Active Ability
How can I make a passive ability that's always disabled, but is enabled on a chance on attack? Example:30% chance on hit: Increases attack speed by 200%.
Anyone know? Thanks for any help
Pit Fiend Swipe Start
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Swipe
Actions
Set SwipeCaster = (Casting unit)
Set SwipeTarget = (Target unit of ability being cast)
Set SwipeEnd = ((Position of SwipeTarget) offset by 250.00 towards (Facing of SwipeCaster) degrees)
Special Effect - Create a special effect at (Target point of ability being cast) using Abilities\Spells\Human\Defend\DefendCaster.mdl
Special Effect - Destroy (Last created special effect)
Unit - Make SwipeTarget Invulnerable
Countdown Timer - Start SwipeTimer[1] as a One-shot timer that will expire in 1.50 seconds
Countdown Timer - Start SwipeTimer[2] as a Repeating timer that will expire in 0.01 secondsPit Fiend Swipe End
Events
Time - SwipeTimer[2] expires
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Elapsed time for SwipeTimer[1]) Less than or equal to 1.49
Then - Actions
Unit - Move SwipeTarget instantly to ((Position of SwipeTarget) offset by 3.00 towards (Facing of SwipeCaster) degrees)
Else - Actions
Countdown Timer - Pause SwipeTimer[1]
Countdown Timer - Pause SwipeTimer[2]
Unit - Make (Triggering unit) Vulnerable