HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

how to do a spell like frostscythe ( enfo td )?

01-30-2004, 01:54 AM#1
Tiki
How would I do that?

Well what I want is... this is my spell...

Missile Barrage - Launches x missiles which find a target unit, dealing 100 damage and stunning for 2 seconds.
lvl 1 - 4 missiles
lvl 2 - 6 missiles
lvl 3 - 8 missiles

So when the spell is clicked it launches x number of missiles, and each finds a seperate target.

And each level is differnet, any suggestions?
01-30-2004, 02:00 AM#2
Xinlitik
When hero levels it, set a variable = the number of missiles you want.

When he casts the spell, do this:

Pick every unit in (number of missiles variable) random units within (range) of (unit) matching (unit is enemy etc) and do:
Order (your unit) to stormbolt (or whatever it's based off) picked unit.

Make sure it has 0 cooldown and your hero has both the triggering ability and the stormbolt etc ability.
01-30-2004, 09:33 AM#3
Bloodlust
Fan of Knives

Long Range
01-30-2004, 10:10 AM#4
Pheonix-IV
except thats not how Enfo does it...
enfo does it with Xins technique.
01-30-2004, 11:58 AM#5
SoulReaver
Quote:
Originally posted by Pheonix-IV
except thats not how Enfo does it...
enfo does it with Xins technique.


And could you tell is this technique...?
01-30-2004, 04:03 PM#6
Peacerich
use the brain. If it has more then 0 casting time, of course it cant repeat with a 0 sec interval.... Enfos uses xins trigger
01-30-2004, 07:31 PM#7
zotax
I havent seen the spell, but perhaps it could be done by summoning a unit with the "missile" type model, with the kaboom ability.
01-30-2004, 11:08 PM#8
Pheonix-IV
Quote:
Originally posted by SoulReaver
And could you tell is this technique...?


simply because of the way the spell reacts and the parameters it requires to work properly.

Estoric, i know some spells u cant do it cause they have a "casting delay" as well as a cooldown, but since Enfo uses a modifed storm bolt with no delay and no cooldown, it works fine.
01-31-2004, 12:09 AM#9
Grater
Almost any unit can be made to spam abilities inifitely by changing the casting backswing stuff to 0 - it's at the top of the unit properties in the object editor.

Abilities which cannot be made infinitely spammable are:
Chain Lighting, Heal Wave & Friends.
Many AoE skills.
All channeled skills.

If it's not one of those then it can be made infinitely spammable.
01-31-2004, 12:12 AM#10
Pheonix-IV
thats what i said, i just didnt go into detail to say what ones you cant do it with :////
01-31-2004, 12:20 AM#11
Tiki
Can you show the full triggers please, if its no problem...
01-31-2004, 02:20 AM#12
Pheonix-IV
i'm not sure if this is exactly how enfo does it, but this way works.

-------------------------------------------
Frost Scythe
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Frost Scythe
Actions
Unit Group - To ScytheGroup add units near (Position of (Casting unit)) in a range of 10000.00 matching ((Owner of (Picked unit)) Not equal to (Owner of (Casting unit))). Limit number of units to (Random integer number between 1 and 20)
Unit - Order (Casting unit) to Frost Bolt (Picked unit).

--------------------------------------------

Note: it requires the variable "ScytheGroup" which is a unit group.