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

Help with spell (Evade)

Status
Not open for further replies.
Level 6
Joined
Dec 9, 2008
Messages
233
i think you could do it with triggers, something like:

Events---Every 4 seconds
Conditions---Hero has learned(Evade spell) equal to true
Action--- Enable Evade spell

and then another trigger:
Events---Every 4.01 seconds
Conditions----Hero has learned (Evade spell) equal to true
Action---Disable Evade spell

Lol I doubt this will work but try it
 
Level 12
Joined
Apr 15, 2008
Messages
1,063
You were right about doubting it, it would only evade attacks made during 0.01 second between the two triggers.

Create 2 abilites: one Hero ability and one unit ability. The hero ability is a dummy ability, with no effect, and unit is 100% evasion.
  • Events
    • Timer Expires
  • Actions
    • Disable (dummy heroability)
    • Add (100% evade)
  • Events
    • Unit Is Attacked
  • Actions
    • Wait 0.01
    • Enable (dummy heroability)
    • Remove (100% evade)
    • Start Timer
Making this MUI would be much harder, and I don't know if you even need that.
 
Level 10
Joined
Jul 31, 2008
Messages
477
You were right about doubting it, it would only evade attacks made during 0.01 second between the two triggers.

Create 2 abilites: one Hero ability and one unit ability. The hero ability is a dummy ability, with no effect, and unit is 100% evasion.
  • Events
    • Timer Expires
  • Actions
    • Disable (dummy heroability)
    • Add (100% evade)
  • Events
    • Unit Is Attacked
  • Actions
    • Wait 0.01
    • Enable (dummy heroability)
    • Remove (100% evade)
    • Start Timer
Making this MUI would be much harder, and I don't know if you even need that.

Ehhm, can you write the exakt trigger so it looks like this:
  • Events
  • Unit - A unit is attacked
insted of :
  • Events
  • Unit is attacked
Cuz i think it is a bit hard to find all stuff then =/
 
Status
Not open for further replies.
Top