• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

How to damage both Divine and Ethereal units?

Status
Not open for further replies.
Level 3
Joined
Sep 9, 2009
Messages
658
What's the best set up that can damage a unit that is both Divine and Ethereal without editing the gameplay constants? If I wanted spells that could damage Divine type units, I'd always trigger my spells to have ATTACK_TYPE_CHAOS but then this doesn't damage Ethereal units. Even if I add a check to change the attack type whether the target is Ethereal or not, I run into a wall when a Divine unit becomes ethereal.
 
If you use the combination Chaos (Attack Type) + Magic (Damage Type) both ethereal and divine units should take full damage.
Only spell immune units won't take damage, but you can add a check if the unit is spell immune and then use Chaos + Universal instead.
A unit should never be ethereal and spell immune at the same time.
 
If you use the combination Chaos (Attack Type) + Magic (Damage Type) both ethereal and divine units should take full damage.
Only spell immune units won't take damage, but you can add a check if the unit is spell immune and then use Chaos + Universal instead.
A unit should never be ethereal and spell immune at the same time.

Thank you! It works like a charm!
 
Status
Not open for further replies.
Back
Top