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.
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.