- Joined
- Nov 27, 2014
- Messages
- 1,966
Basically the spell i was going for was an AOE banish.
So how i did it was based it off the Silence Spell.
The Dummy Unit uses the Neutral Hostile Banish as base.
And did the following triggers.
So how i did it was based it off the Silence Spell.
The Dummy Unit uses the Neutral Hostile Banish as base.
And did the following triggers.
-
Mass Banishment
-
Events
- Unit - A unit Finishes casting an ability
-
Conditions
- (Ability being cast) Equal to Mass Banishment Q
-
Actions
- Set castingunit = (Casting unit)
- Set point = (Target point of ability being cast)
- Set aoe = (150 + (50 x (Level of Mass Banishment Q for castingunit)))
- Set unitgroup = (Units within (Real(aoe)) of point matching ((((Matching unit) is Mechanical) Equal to False) and (((Owner of (Matching unit)) is an enemy of (Owner of castingunit)) Equal to True)))
-
Unit Group - Pick every unit in unitgroup and do (Actions)
-
Loop - Actions
- Set point2 = (Position of (Picked unit))
- Unit - Create 1 Dummy for (Owner of castingunit) at point2 facing Default building facing degrees
- Unit - Add Banish Dummy to (Last created unit)
- Unit - Set level of Banish Dummy for (Last created unit) to (Level of Mass Banishment Q for castingunit)
- Unit - Order (Last created unit) to Human Blood Mage - Banish (Picked unit)
- Unit - Add a 30.00 second Generic expiration timer to (Last created unit)
-
Loop - Actions
- Custom script: call DestroyGroup(udg_unitgroup)
- Custom script: call RemoveLocation(udg_point)
- Custom script: call RemoveLocation(udg_point2)
-
Events