HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

knutz About JESP - Spell Pack

05-02-2006, 12:21 PM#1
knutz
Click image for larger version

Name:	KnutzAJ.jpg
Views:	517
Size:	87.4 KB
ID:	5487

Flipper
Grapples an enemy and flips it over the hero's head, bashing it on the other side. Repeats this a number of times, dealing damage with each bash. Leaves the target stunned (if still alive)

Shocking Defense
Passive ability - gives a chance that when the caster is damaged, a bolt of lightning strikes from the caster at the offender, shoving the attacker away and stunning it.

Lightning Wave
Waves of lightning beams emerge in a cone 700 long and 500 wide at the mouth. Deals damage to enemies it touches.

Smart Bolt
When you activate the spell a bolt of lightning jumps from you to a semi-random target within range.
Then it waits a second and jumps to another target.
If it can't find another target it will strike the host again.
This cycle continues until it has struck the same target 2+level times.

What makes it smart?
It prioritises it's victims. First it goes for those about to die (if they die it doesn't wait to jump), then for heros.

knutz About JESP v 1.1.w3x
Attached Images
File type: jpgKnutzAJ.jpg (87.4 KB)
Attached Files
File type: w3xknutz About JESP v 1.1.w3x (122.6 KB)
05-02-2006, 02:48 PM#2
Chuckle_Brother
Cool spells, but the slam lightning attachment is a little odd imo
05-02-2006, 07:02 PM#3
Blade.dk
Some things that could be approved:

Cleaning a group before destroying it is not needed.

"== true" is not needed unless in a boolexpr using GetUnitType.

When you create a triggeraction, it is best if you remove it again using TriggerRemoveAction.

It looks a bit weird that lightning wave continues after you die.

Anyways, nice spells, approved, but please fix the above things.
05-02-2006, 09:05 PM#4
knutz
Quote:
Originally Posted by Blade.dk
Some things that could be approved:

Cleaning a group before destroying it is not needed.

"== true" is not needed unless in a boolexpr using GetUnitType.

When you create a triggeraction, it is best if you remove it again using TriggerRemoveAction.

It looks a bit weird that lightning wave continues after you die.

Anyways, nice spells, approved, but please fix the above things.

Will fix as soon as I'm home

Do I need to clean up triggerconditions the same way?

What about trigger register functions that return an event?
05-03-2006, 08:20 AM#5
knutz
Quote:
Originally Posted by Blade.dk
Some things that could be approved:

Cleaning a group before destroying it is not needed.

Removed all of those

Quote:
Originally Posted by Blade.dk
"== true" is not needed unless in a boolexpr using GetUnitType.

Removed all of those

Quote:
Originally Posted by Blade.dk
When you create a triggeraction, it is best if you remove it again using TriggerRemoveAction.

Fixed

Quote:
Originally Posted by Blade.dk
It looks a bit weird that lightning wave continues after you die.

Now check for life of hero, but also had to increase revive time otherwise hero revived before the function could check if she was dead.

05-03-2006, 08:26 AM#6
knutz
Quote:
Originally Posted by Chuckle_Brother
Cool spells, but the slam lightning attachment is a little odd imo

Fixed! For some reason 0.00 z offset screws up the positioning, so I just got the z of the caster's loc and it works fine now.
05-03-2006, 12:12 PM#7
sheep.spirit
decent spells, but many other BJ functions could be remove, and GetUnitStateSwapped can be changed to GetUnitState, its the same tihng actually
05-03-2006, 08:15 PM#8
knutz
Quote:
Originally Posted by sheep.spirit
decent spells, but many other BJ functions could be remove, and GetUnitStateSwapped can be changed to GetUnitState, its the same tihng actually

Diddn't know I used it. Which spell was that in?
09-08-2006, 08:49 AM#9
sheep.spirit
Smart bolt priority function i think