• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Help with spell (Evade)

Status
Not open for further replies.
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
 
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.
 
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.
Back
Top