HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

How to make an unit have a chance to miss?

04-12-2004, 12:11 AM#1
DarkZeratul
I am trying to make a map where a footman has a chance of 20% to miss and an archer has 30% to miss. How can I make this possible? I am thinking of making a curse aura with area of effect of 1 or something, but I have no ideas how to do that. Does anyone know or have a better alternative way? Thanks.
04-12-2004, 01:23 AM#2
Redesh
Quote:
Originally Posted by DarkZeratul
I am trying to make a map where a footman has a chance of 20% to miss and an archer has 30% to miss. How can I make this possible? I am thinking of making a curse aura with area of effect of 1 or something, but I have no ideas how to do that. Does anyone know or have a better alternative way? Thanks.

All I'm gonna say is look under the bash spell, edit it and then give it to your units. ;)
04-12-2004, 09:17 AM#3
BBDino
Quote:
Originally Posted by DarkZeratul
curse aura with area of effect of 1.

soemthigns tell me you may need more help, try fiddleing with bash's (or critical strike for that matter) % chance to fire and its damage multiplier...

think about your 0 times table.....
04-12-2004, 09:43 AM#4
Anitarf
I think critical strike has, beside the damage multiplier, also a field labeled bonus damage. So if you make your units with 0 damage and give them critical strike then they will deal damage only when they get a critical, and otherwise they will do no damage (they will "miss"). They will get a floating number above them whenever they hit something and no effect when they don't hit anything.
04-12-2004, 10:17 AM#5
BBDino
only problem with that is that it means you cant have variable damage (eg 23-26) as you can only have say +23, it also is a pain if there are heros as their damage willbe static.
04-12-2004, 01:03 PM#6
Panto
On the other hand, giving them a % chance to do 0 damage is a slightly craftier way to do it, if it works.

Alternatively, I've heard that Evasion can be set to work only against certain units by adjusting the Targets Allowed field. If you set footman to be one kind of arbitrary unit (like Ancient) and archers to another (like Sapper) you might be able to give every unit Evasion abilities versus these unit types. Not 100% sure on that idea though.
04-12-2004, 11:30 PM#7
BBDino
bash has a bonus damage field unfourtunatly, not a "do this damage" field, i still think a % chance to do 0 times damage is ya best shot, if it works.
04-13-2004, 06:24 PM#8
cideh
Critical Strike has a damage multiplier field. Try setting it to 0.00(X * 0 is always 0).. Not sure if it works, I haven't got the editor open right now, but you can at least try :)