HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Ability Question

01-04-2006, 12:10 AM#1
ZafalTheWaffle
I want to make some custom abilities, but I'm not very familiar with JASS, and I can't seem to figure out how to get some effects for the spells that I want to make.I would like to make the following spells:

Horrify- reduces the targets attack damage by 7 for 10 seconds
reduces the targets movement speed by 110 for 10 seconds

Poison- reduces the targets defence by 4 for 10 seconds
gives the target health degeneration of 3 points for 10 seconds

Spirit Harvest Aura- adds +4 defence to you and your allies
adds a helth regeneration of 4 points a second

Pandora's Box - reduces the targets attack damage by 7 for 20 seconds
reduces the targets defence by 4 for 20 seconds
gives the target health degeneration of 3 points for 20
seconds
400 point damage on impact
adds +110 movement speed to target

Like I said, I don't think the basic trigger editor can do these spells, and I can't find what kind of JASS functions I need to use to create these. If ayone out there is good at making spells then please help me! Thanks!
01-04-2006, 12:38 AM#2
Immoralis
Quote:
Originally Posted by ZafalTheWaffle
I want to make some custom abilities, but I'm not very familiar with JASS, and I can't seem to figure out how to get some effects for the spells that I want to make.I would like to make the following spells:

Horrify- reduces the targets attack damage by 7 for 10 seconds
reduces the targets movement speed by 110 for 10 seconds

Poison- reduces the targets defence by 4 for 10 seconds
gives the target health degeneration of 3 points for 10 seconds

Spirit Harvest Aura- adds +4 defence to you and your allies
adds a helth regeneration of 4 points a second

Pandora's Box - reduces the targets attack damage by 7 for 20 seconds
reduces the targets defence by 4 for 20 seconds
gives the target health degeneration of 3 points for 20
seconds
400 point damage on impact
adds +110 movement speed to target

Like I said, I don't think the basic trigger editor can do these spells, and I can't find what kind of JASS functions I need to use to create these. If ayone out there is good at making spells then please help me! Thanks!

The basic editor can easily do all these things, you probably think it cannot because the functions aren't laid out there in neat rows for you to pick from.

Take horrify for example, you didn't say what type of spell it is so im assuming its single target. All you need to do is make a dummy ability, like faire fire if you want autocast or acid bomb if not. For it to reduce 7 damage, I think you can create a dummy unit (small/invis model unit with "locus" ability) and cast a negative non percentage inner fire, or you possibly can do a negative +damage ( like claws of attack). For the speed reduction you can do a % directly within acid bomb but since you want to reduce it by 110, theres a trigger thats called something similar to modify units movement speed and do that. After 10 seconds you can restore the movement speed by add 110 or theres a trigger i think that sets the units movement speed to default.

For the rest of the spells, you can just think of similar spells that have the exact effect or negative effect. Remember that some % reduce spells can be turned into a constant.

Happy triggering.
01-04-2006, 09:41 PM#3
ZafalTheWaffle
Right, but let's say for Horrify that it is a hero ability and at level 1 it takes away 110 and at level 2 it would take away 220 and at level 3 it would take away 330 movement speed. How would I do that? Also, how would I be able to make a unit have health degeneration for Poison. Also how can I have Spirit Harvest Aura have a defence bonus AND health regeneration? Sorry for all of the questions, I'm rather new at making spells...
01-04-2006, 10:42 PM#4
Zoxc
Base things on item abilities then use Unit - Add Ability
01-04-2006, 11:03 PM#5
Ice_Keese
For poison, take Acid Bomb, and set the area of effect to 0 and the secondary damage to 0.
01-05-2006, 10:16 PM#6
ZafalTheWaffle
Sorry for all of the problems, but I have one more question (last one I promise). If a unit is affected by Spirit Harvest Aura, how can I give that unit a defence bonus? There doesn't seem to be an Event-Unit gains buff , so I'm wondering what kind of event a unit would have in order to be affected by Spirit Harvest Aura. If you could help guys could help me with that last one that would be great. By the way you guys have been awesome so far thanks.
01-05-2006, 10:18 PM#7
Immoralis
Quote:
For the rest of the spells, you can just think of similar spells that have the exact effect or negative effect.

For the armour you can use devotion aura with a hidden icon.
01-06-2006, 09:34 PM#8
ZafalTheWaffle
Quote:
Originally Posted by Immoralis
For the armour you can use devotion aura with a hidden icon.
By that I assume you mean change the icon for Devotion Aura to none, which gives me a green box.
01-06-2006, 09:46 PM#9
Anitarf
Nope, he means using the trick with a spellbook ability that holds the aura and then disabling the spellbook ability for the player.