Zealot
Member
- Reaction score
- 11
Ok, I've made a ability based on Fan of Knives and added a trigger so that it also stuns the targets for 2 second, but it only randomly stuns one instead of all units in range, what's wrong with it?
Trigger:
- Flurry
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to Skull Flurry
- Actions
- Set FlurryCaster = (Casting unit)
- Set Flurried = (Position of (Casting unit))
- Set FlurriedGroup = (Units within 450.00 of Flurried matching ((((Matching unit) is A structure) Not equal to True) and ((((Matching unit) is alive) Equal to True) and ((((Matching unit) belongs to an enemy of (Owner of FlurryCaster)) Equal to True) and ((((Matching unit) is A f
- Unit - Create 1 Dummy for (Owner of FlurryCaster) at Flurried facing Default building facing degrees
- Set FlurryDestroyer = (Last created unit)
- Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
- Unit - Add Flurry Stun to (Last created unit)
- Unit Group - Pick every unit in FlurriedGroup and do (Actions)
- Loop - Actions
- Unit - Order FlurryDestroyer to Human Mountain King - Storm Bolt (Picked unit)
- Loop - Actions
- Custom script: call RemoveLocation(udg_Flurried)
- Custom script: call DestroyGroup(udg_FlurriedGroup)
- Events