• 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] Missed Attack Damage Factor

Status
Not open for further replies.
Level 9
Joined
Jul 30, 2018
Messages
445
Hey!

I have a slight problem with the high ground misses. The chance to miss is not exactly the problem, but apparently it's impossible to detect a miss. The thing is, in my map all attacks cost mana and I would want missed attacks to cost mana as well.

So, I thought I could change the Chance to Miss (moving or high ground) to 100% and then just reduce the damage, but the Gameplay Constant "Combat - Missed Attack Damage Factor" doesn't seem to have any effect (the missed attack never does any damage and always displays the "miss" text).

Is there a way to either:
- A) Make "missed" attacks somehow do damage (so that they can be detected by a DDS)?
- B) Detect if the units are at different elevation levels and do the damage reduction / miss chance in the DDS damage modifier trigger?
- C) Detect missed attacks (with a DDS)?

(I'm using Bribe's Damage Engine)
 
Last edited:
Level 9
Joined
Jul 30, 2018
Messages
445
But that would require to somehow detect when the attacker is on a lower level than the one it's attacking. Checking current flight height doesn't work, because that obviously checks how high a flyer is, not how high the ground is.
 
Status
Not open for further replies.
Top