• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Spell Evasion

Status
Not open for further replies.
Level 7
Joined
Jul 29, 2007
Messages
172
Hello, is it possible to make an ability which gives hero a certain amount of chance to evade hostile or any kind of spells?
 
Not a very efficient way, or smooth looking but meh.

  • Untitled Trigger 001
    • Events
      • Unit - starts the fx of an ability
    • Conditions
    • Actions
      • -------- 10% change to evade --------
      • Set random = (Random integer number between 1 and 10)
      • if condition random == 1 then
        • Unit - Order (Attacking) to Stop
        • Animation - Play (Attacking unit)'s attack animation
      • else
Alternatively you can combine a damage detection system with cohadars BonusMod.
 
Level 7
Joined
Jul 29, 2007
Messages
172
No. Not amulet of spell shield. Geez I hate to use this example :

Faceless Void's backtrack from DotA.
 
Level 7
Joined
Jul 29, 2007
Messages
172
and then restores hitpoints equal to damage taken.

I think not. Backtrack don't restores hit points. It negates/evades the whole spells instead. Take the example of Storm Bolt which causes its target to be stunned, if it is Backtrack-ed there would not be any effect, even a slight 0.01 sec of mini-stun.
 
Status
Not open for further replies.
Top