Warcraft III resources & community, 2003–2006 · archived

Need help wif 2 Spells (think they need JAZZ)!!

3 posts
#1

Need help wif 2 Spells (think they need JAZZ)!!

The first spell delays the time of damage taken. Meaning from time of activation there would be a countdown, of 60 seconds, all dmg taken during the period = 0. Then after timer expires all damage taken during the period will be returned.

Lv 1: 60 sec delay
Lv 2: 70 sec delay
Lv 3: 80 sec delay

The second spell is a random summoning spell. As in there would be 3 candidates to choose from but by the com.That means which one would be summoned if you use the spell would be totally at random.

Lv1: summons bear, hawk or serpent
Lv2: summons bear, hawk or serpent (stronger)
Lv3: summons bear, hawk or serpent (even stronger)
Lv4: summons bear, hawk or serpent (strongest)
#2
Im not sure about the damage delay but the summon can be done with triggers:

event:
unit casts a spell

condition:
spell == Summon

actions:
int variable = random int between 1 and 3
//This will determine what type of animal is created

if spell lvl =1 //spell lvl is the level of the summon spell
{
if variable = 1 create bear (weak)
if variable = 2 create hawk (weak)
if variable = 3 create serpent (weak)
}
if spell lvl = 2
{
if variable = 1 create bear (stronger)
if variable = 2 create hawk (stronger)
if variable = 3 create serpent (stronger)
}
//and so on
#3
You don't even need triggers. Just use archimondes "dark portal" ability. Set the spawned units to the units you want to come random. And finally set max and min number of units to 1.