- Joined
- Aug 1, 2008
- Messages
- 23
I want to make a spell thats repeative ex. You cast 1 spell and 3 fire balls comes after eachother with like 1 sec delay. I would really appreaciate if someone could help. Im going to sleep now Good night. 

Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.

you could try a loop trigger
Events

Unit - A unit Begins casting an ability
Conditions

(Ability being cast) Equal to Your Spell
Actions

Set Point = (Position of (Casting unit))

Unit - Create 1 Your Unit for (Owner of (Casting unit)) at Point facing Default building facing degrees

Unit - Add a 1.02 second Generic expiration timer to (Last created unit)

Wait 0.50 seconds

Unit - Order (Last created unit) to Neutral - Firebolt (Target unit of ability being cast)

Wait 0.50 seconds

Unit - Order (Last created unit) to Neutral - Firebolt (Target unit of ability being cast)

Custom script: call RemoveLocation (udg_Point)
For each (Integer A) from 1 to How Many you Want, do (Actions)

Loop - Actions


Unit - Order (Last created unit) to Neutral - Firebolt (Target unit of ability being cast)
This?:
If you want to loop it:
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Your Spell
Actions
Set Point = (Position of (Casting unit))
Unit - Create 1 Your Unit for (Owner of (Casting unit)) at Point facing Default building facing degrees
Unit - Add a 1.02 second Generic expiration timer to (Last created unit)
Wait 0.50 seconds
Unit - Order (Last created unit) to Neutral - Firebolt (Target unit of ability being cast)
Wait 0.50 seconds
Unit - Order (Last created unit) to Neutral - Firebolt (Target unit of ability being cast)
Custom script: call RemoveLocation (udg_Point)
Point is a point variable. Just create a unit with a Firebolt ability. Set the abilities damage to how much you want and set the cooldown to 0.01 sec. and mana cost 0 if the unit has no mana. Hope it helps
For each (Integer A) from 1 to How Many you Want, do (Actions)
Loop - Actions
Unit - Order (Last created unit) to Neutral - Firebolt (Target unit of ability being cast)
![]()
Like in Dota?Well i want to do a spell like death coil but it heals your allies and dmg your enemies and it will be looping but it doesnt really work :O
Well kinda but more likely Penance in WoW
can you describe it in more detail? I dont play WoW sorry...
but anyway, when you request please always try to make it as detailed as possible... dont just say like this in WoW or DotA coz not everyone plays them...
I don't really know about WoW so could you explain your ability.
What do you want, a test map or just trigger?
test map please
Well i want to do a spell like death coil but it heals your allies and dmg your enemies and it will be looping but it doesnt really work :O
Unit - Order (Last created unit) to Undead Death Knight - Death Coil (Target unit of ability being cast)
Making test map....
Target one unit, or point target, resulting in damaging/healing allies/enemies in the point AOE ?
This is a one-minute creation map
It consists of using Waits and such, but still, is this what you want ?
I could use Timer but... lazy =D
Lightning - Create a Chain Lightning - Primary lightning effect from source (Position of (Triggering unit)) to target Target
Special Effect - Create a special effect at Target using Abilities\Spells\Human\ThunderClap\ThunderClapCaster.mdl
Trigger

Events


Unit - A unit Starts the effect of an ability

Conditions


(Ability being cast) Equal to Death Coil X 3

Actions


Custom script: local unit Target


Custom script: local real Real_amount


Custom script: local integer Int


Set Target = (Target unit of ability being cast)


Set Real_amount = 80.00


Set Int = Int


Set temp_point = (Position of Target)


For each (Integer Int) from 1 to 3, do (Actions)



Loop - Actions




Unit - Create 1 Dummy for (Owner of (Triggering unit)) at temp_point facing Default building facing degrees




Unit - Add Death Coil X 3 [Dummy] to (Last created unit)




Unit - Order (Last created unit) to Night Elf Warden - Shadow Strike Target




Unit - Add a 1.00 second Generic expiration timer to (Last created unit)




If (All Conditions are True) then do (Then Actions) else do (Else Actions)





If - Conditions






(Target belongs to an ally of (Owner of (Triggering unit))) Equal to True





Then - Actions






Unit - Set life of Target to ((Life of Target) + Real_amount)





Else - Actions






Unit - Cause (Triggering unit) to damage Target, dealing Real_amount damage of attack type Spells and damage type Universal




Custom script: call RemoveLocation(udg_temp_point)




Wait 0.50 seconds
Meh, this is what I got.
If you want your channel, simply add Pause Triggering Unit before the For Each Integer loop and Unpause Triggering Unit after the For Each Integer loop. You can add in your own effects.
Trigger
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Death Coil X 3
Actions
Custom script: local unit Target
Custom script: local real Real_amount
Custom script: local integer Int
Set Target = (Target unit of ability being cast)
Set Real_amount = 80.00
Set Int = Int
Set temp_point = (Position of Target)
For each (Integer Int) from 1 to 3, do (Actions)
Loop - Actions
Unit - Create 1 Dummy for (Owner of (Triggering unit)) at temp_point facing Default building facing degrees
Unit - Add Death Coil X 3 [Dummy] to (Last created unit)
Unit - Order (Last created unit) to Night Elf Warden - Shadow Strike Target
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Target belongs to an ally of (Owner of (Triggering unit))) Equal to True
Then - Actions
Unit - Set life of Target to ((Life of Target) + Real_amount)
Else - Actions
Unit - Cause (Triggering unit) to damage Target, dealing Real_amount damage of attack type Spells and damage type Universal
Custom script: call RemoveLocation(udg_temp_point)
Wait 0.50 seconds
I will create the spell for you mon (;
Done the spell.
The current spell: Deals/heals 75/150/225 damage per second. CHANNELING.
What can be changed. Duration of channel (1 second=25 penitence_time), damage (just change the formula (it's 75xlevel)), special effect. (you'll see where). Damage/heal. err, everythingEven the interval (just change the conditions (as already mentioned, 1second=25)
Attaching the map.
The spell is called Penitence.
Tiche3
Ty very much