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

[Trigger] Spell Trouble

Status
Not open for further replies.
Level 30
Joined
Sep 30, 2008
Messages
1,460
Im currently trying to make a multi level skill that uses triggers based on the slowing aura the Wizard has in diablo 3 :)

Basically, I have a dummy spell, and i want to make a trigger that adds a different unit ability to the hero depending on the level of the dummy spell.


For example:

Time Shield Level 1: Temporarily adds the unit ability "Time aura level 1" to the hero

Time Shield Level 2: Temporarily adds the unit ability "Time aura level 2" to the hero

and so on.



Essentially, it will be the same as a passive aura, except it has to be cast, and has a limited duration :)
 
Last edited:
Level 12
Joined
Jun 28, 2008
Messages
688
Make Time Aura have 4 levels, and level 1 have a slowing value of 0, so that you have a cancellation level. Than basically, level 2 = level 1, level 3 = level 2, and so on. You then put the Time Aura skill in the Unit Abilities list for the unit with Time Shield in the object editor. If you don't want this ability to show up, put it into a disabled spellbook. If you don't know how to do this, there are many threads on this site to explain how.

Then you make a trigger that looks something like this. When the unit casts Time Shield, the aura will be set to one level higher than the casted ability, which means it will exceed the base Level 1 of 0 value. Then after X seconds, or your spell duration, the aura will be set to level 1 again, giving it 0 slowing value.

E -
Unit Starts the Effect of an Ability

C -
Ability Being Cast Equal to (Time Shield)

A -
Set Level of (Time Aura) to ((Level of Time Shield for (Triggering Unit) + 1)
Wait X Seconds
Set Level of (Time Aura) to 1
 
Status
Not open for further replies.
Top