• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

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

Status
Not open for further replies.
Level 3
Joined
Sep 5, 2004
Messages
32
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)
 
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
 
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.
 
Status
Not open for further replies.
Back
Top