Azrooh
New Member
- Reaction score
- 5
Problem solved. The buff was removed when it died or something, but keeping track of it via unit groups worked.
I have the buff properly set up, the ability costs no mana, has no cooldown, is instantly cast, uses no animations, and the dummy has the cast point and backswing set to 0.
I have no idea what could be causing this. The trigger that applies the buff (the base Arcane Instability is a channel-based spell) works.
The ability is just a modified flame strike.
I have the buff properly set up, the ability costs no mana, has no cooldown, is instantly cast, uses no animations, and the dummy has the cast point and backswing set to 0.
Trigger:
- Arcane Instability Death
- Events
- Unit - A unit Dies
- Conditions
- ((Dying unit) has buff Arcane Instability ) Equal to True
- Actions
- Set LeakPoint = (Position of (Dying unit))
- Custom script: set bj_wantDestroyGroup = true
- Unit Group - Pick every unit in (Units of type Shendi) and do (Actions)
- Loop - Actions
- Set Shendi = (Picked unit)
- Loop - Actions
- Unit - Create 1 DummyGetsDeleted for (Owner of Shendi) at LeakPoint facing Default building facing degrees
- Unit - Add a 20.00 second Generic expiration timer to (Last created unit)
- Unit - Add Flame Strike Shendi to (Last created unit)
- Unit - Set level of Flame Strike Shendi for (Last created unit) to (Level of Arcane Instability new for Shendi)
- Unit - Order (Last created unit) to Human Blood Mage - Flame Strike LeakPoint
- Custom script: call RemoveLocation (udg_LeakPoint)
- Events
I have no idea what could be causing this. The trigger that applies the buff (the base Arcane Instability is a channel-based spell) works.
Trigger:
- Arcane Instability Cast
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to Arcane Instability new
- Actions
- Set Shendi = (Casting unit)
- Set LeakPoint = (Target point of ability being cast)
- Unit - Create 1 DummyGetsDeleted for (Owner of Shendi) at LeakPoint facing Default building facing degrees
- Unit - Add Arcane Instability Dummyabil to (Last created unit)
- Unit - Add a 20.00 second Generic expiration timer to (Last created unit)
- Custom script: set bj_wantDestroyGroup = true
- Unit Group - Pick every unit in (Units within ((Real((Level of Arcane Instability new for Shendi))) x 50.00) of LeakPoint matching (((Owner of Shendi) is an ally of (Owner of (Matching unit))) Not equal to True)) and do (Actions)
- Loop - Actions
- Unit - Order (Last created unit) to Human Mountain King - Storm Bolt (Picked unit)
- Loop - Actions
- Custom script: call RemoveLocation (udg_LeakPoint)
- Events
The ability is just a modified flame strike.