F
flyingphippo
Guest
Is there a way to do when you click on this item, it will help you break out of the stun the unit is currently under? Thanks
E - Every 0.10 sec
C -
A - If - X unit contains (stunned(paused)) buff == true
then - remove (stunned(paused)) from X unit
[B]Remove Stun[/B]
[B] Events[/B]
Time - Every 0.25 seconds of game time
[B] Conditions[/B]
[B] Actions[/B]
Set tmpGroup = (Units in (Playable map area) matching ((((Matching unit) has buff Stunned (Pause)) Equal to True) and (((Matching unit) has an item of type Stun Remover) Equal to True)))
Unit Group - Pick every unit in tmpGroup and do (Actions)
Loop - Actions
Unit - Remove Stunned (Pause) buff from (Picked unit)
Item - Remove (Item carried by (Picked unit) of type Stun Remover)
Custom script: call DestroyGroup(udg_tmpGroup)
Untitled Trigger 001
Events
Unit - A unit Uses an item
Conditions
(Item-Type of (Item being manipulated)) Equal to Your Item
Actions
Unit - Remove Stunned (Pause) buff from (Triggering unit)