Hello Hive ^_^
I am trying to make a "Lightning Bolt" spell where when you cast this spell to a target unit, a lightning bolt will strike to that unit every .10 seconds. The number of bolts depends on what level the spell is. If the spell was level 1, then one bolt, then 2, 3 bolts, 3, 5 bolts, 4, 10 bolts.
Some info you might need:
1. The 4 spells are contained in a Spell Book.
2. The based "dummy" spell which is used by the caster is based on "Ensnare"
3. The "dummy" spell summons a dummy unit to cast a number of bolts of lightning to the target every .10 seconds.
To make things quick, Ill only show you my triggers for the levels 1 and 4 spells.
I am trying to make a "Lightning Bolt" spell where when you cast this spell to a target unit, a lightning bolt will strike to that unit every .10 seconds. The number of bolts depends on what level the spell is. If the spell was level 1, then one bolt, then 2, 3 bolts, 3, 5 bolts, 4, 10 bolts.
Some info you might need:
1. The 4 spells are contained in a Spell Book.
2. The based "dummy" spell which is used by the caster is based on "Ensnare"
3. The "dummy" spell summons a dummy unit to cast a number of bolts of lightning to the target every .10 seconds.
To make things quick, Ill only show you my triggers for the levels 1 and 4 spells.
-
Lightning Bolt 1
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Lightning Bolt (Level 1)
-
Actions
- Unit - Create 1 Dummy Lightning Bolt (Female) for Player 7 (Green) at (Position of (Triggering unit)) facing Default building facing degrees
- Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
- Unit - Order (Last created unit) to Neutral - Firebolt (Targeted unit)
-
Events
-
Lightning Bolt 4
-
Events
- Unit - A unit Begins channeling an ability
-
Conditions
- (Ability being cast) Equal to Lightning Bolt (Level 4)
-
Actions
- Unit - Create 1 Dummy Lightning Bolt (Female) for Player 7 (Green) at (Position of (Triggering unit)) facing Default building facing degrees
- Unit - Add a 4.00 second Generic expiration timer to (Last created unit)
- Unit - Order (Last created unit) to Neutral - Firebolt (Targeted unit)
- Wait 0.10 seconds
- Unit - Order (Last created unit) to Neutral - Firebolt (Targeted unit)
- Wait 0.10 seconds
- Unit - Order (Last created unit) to Neutral - Firebolt (Targeted unit)
- Wait 0.10 seconds
- Unit - Order (Last created unit) to Neutral - Firebolt (Targeted unit)
- Wait 0.10 seconds
- Unit - Order (Last created unit) to Neutral - Firebolt (Targeted unit)
- Wait 0.10 seconds
- Unit - Order (Last created unit) to Neutral - Firebolt (Targeted unit)
- Wait 0.10 seconds
- Unit - Order (Last created unit) to Neutral - Firebolt (Targeted unit)
- Wait 0.10 seconds
- Unit - Order (Last created unit) to Neutral - Firebolt (Targeted unit)
- Wait 0.10 seconds
- Unit - Order (Last created unit) to Neutral - Firebolt (Targeted unit)
- Wait 0.10 seconds
- Unit - Order (Last created unit) to Neutral - Firebolt (Targeted unit)
-
Events