• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Newbie's request

Status
Not open for further replies.
Level 3
Joined
Dec 1, 2004
Messages
39
I'm learning the art of ap-making and I want to start on a trigger spell, which is Rain of Corruption, It's like starfall, does no damage but decreases the armor of affected units.
 
Level 2
Joined
May 2, 2005
Messages
20
Here's what you can do. First create an aura based off of Devotion Aura, preferably the item one. Set the armor bonus fields to negative values of your choice. Make sure it targets enemies only. Now you change the duration of the aura to the duration of the spell you're making. The duration on Devotion Aura is how long the aura lingers on the unit after the host of it has left the area of effect. Once you have both spells created just simply make an event using Unit - Starts the effect of an ability. After that make the condition Ability being cast equal to (Your spell here.) For actions have it Unit - Add ability, adding the aura you just made. Use a wait function and remove it right after. It being removed so fast won't matter because of the aura's natural duration.

You can also use a wait function to time the starfall effect and the aura effect so they are synchronized.

The only problem with this is that if there is an enemy with a positive or another Devotion Aura, the positive one will take effect and the negative one will not work, messing up this ability. If that's the case you could use dummy casters.

I hope this helped. :)
 
Level 3
Joined
Dec 1, 2004
Messages
39
Evasion said:
Here's what you can do. First create an aura based off of Devotion Aura, preferably the item one. Set the armor bonus fields to negative values of your choice. Make sure it targets enemies only. Now you change the duration of the aura to the duration of the spell you're making. The duration on Devotion Aura is how long the aura lingers on the unit after the host of it has left the area of effect. Once you have both spells created just simply make an event using Unit - Starts the effect of an ability. After that make the condition Ability being cast equal to (Your spell here.) For actions have it Unit - Add ability, adding the aura you just made. Use a wait function and remove it right after. It being removed so fast won't matter because of the aura's natural duration.

You can also use a wait function to time the starfall effect and the aura effect so they are synchronized.

The only problem with this is that if there is an enemy with a positive or another Devotion Aura, the positive one will take effect and the negative one will not work, messing up this ability. If that's the case you could use dummy casters.

I hope this helped. :)
I mean a starfall which decreases a set amount of armour each time a unit gets hit by the stars, and they stack.
 
Status
Not open for further replies.
Top