- Joined
- Aug 11, 2009
- Messages
- 6,528
So I have made 3 spells, which are all based on 1 "system - basically when they get cast, a dummy has to get created and has to cast a missile (storm bolt) at a nearby, random enemy target.
The first ability is Dance of Death:
It's a channeled spell based on Big Bad Voodoo, which has to summon a dummy per second which casts the missile at a nearby enemy unit. And it's based on a repeatable timer which expires every 1s. The problem is that the unit starts casting and only sometimes, only when done casting Dance of Death the dummy gets created and you can see it for 2 seconds, but the dummy doesn't cast his spell at an enemy target.
The 2 other ones are also in the map, they basically use the same actions, just not a timer and they're not channeling.
(Arcane Missile does work, but only randomly and not always)
The first ability is Dance of Death:
-
Dance of Death Start
-
Events
- Unit - A unit Begins channeling an ability
-
Conditions
- (Ability being cast) Equal to Dance of Death (Artesia)
-
Actions
- Set DanceOfDeath_Caster = (Triggering unit)
- Countdown Timer - Start DanceOfDeath_Timer as a Repeating timer that will expire in 10.00 seconds
- Wait 12.00 seconds
- Countdown Timer - Pause DanceOfDeath_Timer
-
Events
-
Dance of Death Cast
-
Events
- Time - DanceOfDeath_Timer expires
- Conditions
-
Actions
- Unit - Set life of DanceOfDeath_Caster to ((Life of DanceOfDeath_Caster) + (200.00 x (Real((Level of Dance of Death (Artesia) for DanceOfDeath_Caster)))))
- Set DanceOfDeath_Point = (Position of DanceOfDeath_Caster)
- Unit - Create 1 Arcane Bolt Dummy for (Owner of DanceOfDeath_Caster) at DanceOfDeath_Point facing Default building facing degrees
- Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
- Set DanceOfDeath_Dummy = (Last created unit)
- Unit - Set level of Arcane Bolt (Artesia) for DanceOfDeath_Dummy to (Level of Dance of Death (Artesia) for DanceOfDeath_Caster)
-
Unit Group - Pick every unit in (Random 1 units from (Units within 1200.00 of DanceOfDeath_Point matching (((Matching unit) belongs to an enemy of (Owner of DanceOfDeath_Caster)) Equal to True))) and do (Actions)
-
Loop - Actions
- Unit - Order DanceOfDeath_Dummy to Human Mountain King - Storm Bolt (Picked unit)
-
Loop - Actions
- Custom script: call RemoveLocation(udg_DanceOfDeath_Point)
-
Events
The 2 other ones are also in the map, they basically use the same actions, just not a timer and they're not channeling.
(Arcane Missile does work, but only randomly and not always)