HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

How to make these spells?

10-09-2003, 11:10 PM#1
Xinlitik
How can I make a spell that:

Stuns the hero for 5 seconds
After the 5 seconds, the hero runs toward the chosen target with a trail of the little mirror image animation from Blademasters.
Jumps up a little bit and then goes down and hits the target for xxx damage, stunning the target for 3 seconds.

Any ideas?

Also any chance of this spell either:

a trap that when detonated, stuns everyone in the area and deals 300 damage, then casts cripple on all units in the area. Could statis trap be the base spell?

I'm half way done with a hero but I cant find out how to create these two. What base spells? What triggers?

Sorry about my post in the map dev section... I did not know that there was a forum for spells. :ggani:
10-10-2003, 04:38 AM#2
Nemesis9x
these spells will definatly need jass or triggers. Try posting in JASS forum.
10-10-2003, 03:48 PM#3
ls_freak
Those spells would definitely require triggers or possible JASS, escpecially the first one. For hte first one, I'd think you'd need custom animations for both the running and the jump, as well as a trigger to initially stun, run towards the target, jump, hit the target, do damage, and stun. ://// This needs to go in the Map Development and Jass forum, cuz that's where trigger spells are discussed.
11-08-2003, 08:22 PM#4
hiya
for the thing that explodes dealing 300 damage and stuff

here is a start

base skill do healing ward

then do

trigger
Event: A unit is attacked
Condition: Attacked unit is equal to (name of the object gonna explode)
Action: kill attacked unit

that is base

now variables
create these varaiables
DamageRegion: a region variable

also make this trigger then to go with that

event: a unit enters (entire map)
condition: entering unit is equal to (name of object gonna explode)
action: SET VARIABLE (damageRegion= center of entering unit and make the size of the region whatever you want... (750,750 would work)

that is for the variable

now

E: a unit dies
C: dieing unit equal to EXPLODING WARD THING
A: run (name of the trigger i am going to make below)

for example the name of this trigger will be explosion

E:
C:
A: pick every unit in (the variable)DamageRegion and set life of picked unit to life of picked unit-300


well that is what i can tell you for not gl and i KNOW THAT WILL WORK plz write back if not
11-09-2003, 06:03 PM#5
Xinlitik
Thanks... I'll give it a try when I get some time.