- Joined
- Oct 2, 2015
- Messages
- 76
Im trying to make a spell based off blizzard, that makes a beam fall from the sky sending homing fireballs at nearby enemies, i kind of did it with a dummy but im having trouble making the dummy cast the fireball spell more than once, i also set the dummy ability's cooldown to 0 and mana cost to 0
Things i tried:
-"For Each Integer" action
-Creating a periodic event trigger that detects if the Hero is still channeling and make the dummy cast the fireball
can someone help me pls?
thanks in advance
Things i tried:
-"For Each Integer" action
-Creating a periodic event trigger that detects if the Hero is still channeling and make the dummy cast the fireball
can someone help me pls?
thanks in advance
-
Main Trigger:
-
Events
-
Unit - A unit Begins channeling an ability
-
-
Conditions
-
Actions
-
Set manadischarge = (Current order of (Triggering unit))
-
Set Caster = (Triggering unit)
-
Set Positionofability = (Target point of ability being cast)
-
Set TempGroup = (Owner of (Triggering unit))
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Ability being cast) Equal to Mana Discharge
-
-
Then - Actions
-
Unit - Create 1 Dummy for TempGroup at Positionofability facing Default building facing degrees
-
Set villager = (Last created unit)
-
Unit - Add a 6.00 second Generic expiration timer to (Last created unit)
-
Unit - Add Void Shower to (Last created unit)
-
Trigger - Turn on Loop <gen>
-
-
Else - Actions
-
-
-
-
Loop Trigger
-
Events
-
Time - Every 0.50 seconds of game time
-
-
Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Current order of Caster) Not equal to manadischarge
-
-
Then - Actions
-
Trigger - Turn off (This trigger)
-
-
Else - Actions
-
Unit - Order villager to Neutral Alchemist - Acid Bomb (Random unit from (Units within 800.00 of (Position of villager)))
-
-
-
-
Last edited: