HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

How to make an evasion for just ranged attacks?

06-12-2006, 08:49 AM#1
Lordy
How to make an evasion for just ranged attacks?
I need 1 unit to get evasion from ranged attacks.
Okay- I tried adding defend and changing the deflect percantage from 30% to 100%, but I can only leave the deflect at 30, or set it from 0 to 10. (normally in the editor 10 acts as 100% and 1 like 10%, but now it doesn't look like it works like that). Also, the deflect hardly seems to be working, it's strange. Maybe someone else has better experience with deflect?
Now what else can I do? Cloud maybe? I kinda remember it makes ranged attacks miss in an area. I'd have to change the location where the cloud is casting to the location of the evasive unit every so many miliseconds right? -_-
06-12-2006, 09:36 AM#2
blu_da_noob
Interesting thing about Defend. Try shift+clicking the field and entering 100 that way.
06-12-2006, 09:45 AM#3
Pheonix-IV
Defends Deflectness is automatically deactivated in custom maps as well, Blizz had some serious issues with it.
06-12-2006, 11:52 AM#4
oNdizZ
or another option would be to just do it all without any abilities (almost :p).

use the Unit Takes Damage event combined with a boolean check (im quite sure there exists a regular check for Ranged type in there somewhere)

if the unit is ranged, add a life bonus ability with a quite big bonus, heal the unit for the Damage Taken, remove ability bonus, do some texttag with Miss!

the adding of the life bonus is to prevent the unit from dying if it got less hp than the Damage Taken.

think that should work
06-12-2006, 12:54 PM#5
Vexorian
actually, you can just make a 1 second lasting curse, then when a ranged unit attacks a unit that has this evasion ability cast custom curse on the attacking unit
06-12-2006, 02:16 PM#6
Captain Griffen
Hardened skin has a ranged/melee setting. I don't know if it works, though.
06-12-2006, 02:32 PM#7
Lordy
ah yeah this'll help me on, tnx.