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

[Solved] [Gameplay Constants] - Miss dmg factor

Status
Not open for further replies.
Level 12
Joined
Nov 3, 2013
Messages
989
This exist to instead of making a missed attack 'miss' it will deal less dmg. Now this does not appear to work, a miss is a miss and 0 dmg is taken, tried with having an archer stand down hill and also with evasion ability.

I looked through the table in search for a boolean to switch between missing and reduced dmg but none were found, nothing similar either.

How do I use this, is it even possible or is it just some hardcoded shit that does not work?

I were hoping to use this so that normal miss for ranged units attacking uphill will be reduced dmg and use triggered evasion and crit for abilities like i would have done either way.
 
Level 13
Joined
Mar 24, 2013
Messages
1,105
I guess you'll have to use a DDS, and incorporate some type of GetZ (which I think has bugs don't remember) to be able to know when to reduce the damage.

My only other suggestion is to add the defend ability thru a spellbook to your unit so that that way you can reduce damage by a %. You would do this with the event "A unit is attacked" and then again either use a GetZ type thing, or maybe you could use check based on pre-placed regions on high and low ground.

Hopefully this works for you.
 
Level 12
Joined
Mar 13, 2012
Messages
1,121
How do I use this, is it even possible or is it just some hardcoded shit that does not work?

It works perfectly for attacks of type missile (splash), artillery and artillery (line).

If you want single target, I advise you to use missile (splash) and set the all AoEs to 0 except "Aoe (Full Damage)" to 1.
 
Level 12
Joined
Nov 3, 2013
Messages
989
I guess you'll have to use a DDS, and incorporate some type of GetZ (which I think has bugs don't remember) to be able to know when to reduce the damage.

My only other suggestion is to add the defend ability thru a spellbook to your unit so that that way you can reduce damage by a %. You would do this with the event "A unit is attacked" and then again either use a GetZ type thing, or maybe you could use check based on pre-placed regions on high and low ground.

Hopefully this works for you.

Clever and definitly some possibilities. I might just have to do this unless there's something I haven't understood with how that miss factor works.

It works perfectly for attacks of type missile (splash), artillery and artillery (line).

If you want single target, I advise you to use missile (splash) and set the all AoEs to 0 except "Aoe (Full Damage)" to 1.

This works, thanks.
 
Last edited by a moderator:
Status
Not open for further replies.
Top