- Joined
- May 13, 2023
- Messages
- 72
Hi, I'd like to request a solution for this. I want a Passive ability that gets disabled whenever the owner of passive starts an active ability. I have this demo, only problem with it, is that when the caster issues another active ability while the passive is disabled it doesn't refresh the 8 second timer.
-
Elusiveness Cast
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Level of Elusiveness for (Triggering unit)) Greater than 0
-
-
Actions
-
Custom script: local unit caster = GetTriggerUnit()
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Triggering unit) has buff Elusiveness ) Equal to True
-
-
Then - Actions
-
Custom script: call BlzUnitDisableAbility( caster, 'A0E5', true, false )
-
-
Else - Actions
-
Skip remaining actions
-
-
-
Wait 8.00 seconds
-
Custom script: call BlzUnitDisableAbility( caster, 'A0E5', false, false )
-
Custom script: set caster = null
-
-