- Joined
- Sep 10, 2022
- Messages
- 142
How to remove buff using "Custom Script"?
Example:
Example:
-
Charge Start
-

Events
-


Unit - A unit Starts the effect of an ability
-
-

Conditions
-


(Ability being cast) Equal to Charge
-
-

Actions
-


Custom script: local real duration = 6
-


Custom script: local unit target = GetTriggerUnit()
-


Custom script: call UnitAddAbility( target, 'A61Z')
-


Custom script: call TriggerSleepAction (duration)
-


Custom script: call UnitRemoveAbility( target, 'A61Z')
-


Custom script: set target = null
-
-
