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

Mask of Death available vs Air?

Status
Not open for further replies.
Level 2
Joined
Feb 17, 2017
Messages
26
Doesn't Mask of Death already allow Heros to attack air units?
If not, no trigger needed, simply create a copy item of the mask of death and change the "Targets allowed" data of it by checking "Air".
 

KPC

KPC

Level 7
Joined
Jun 15, 2018
Messages
195
1. This item will be available for many heroes so I would have to change it for every melee hero, which is labor intensive. It will also cause some imbalance if the hero can attack air without any orb. (air unit will lose the meaning of being air)
2.1 It doesn't. U have to have an orb and mask in equipment in the right position (I mean priority of using orb) to be available to use mask vs air.
2.2 This option isn't in the item section. Item is kind of ability carrier and Mask of Death provides you the ability "Item Life Steal". Actually, this ability allows you using mask effect vs air but it doesn't provide you attack vs air.

The solution is to give the hero the ability to attack air. This is provided by any orb by enabling the second attack index for the hero. So, simply create new ability based on e.g. Orb of Fire - Item Attack Fire Bonus and name it Air Attack. Remove all graphics, statistics and provided effects e.g. effect of area, bonus dmg. (to have only Enabled Attack Index 2) Now, just add this ability to Item Section, Mask of Death, Abilities (where you have Item Life Steal). It works perfectly. :)
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,287
2.1 It doesn't. U have to have an orb and mask in equipment in the right position (I mean priority of using orb) to be available to use mask vs air.
So if one places orb in slot 1 and mask in slot 2 it will work but if one places mask in slot 1 and orb in slot 2 it will not and the hero cannot attack air? This could be considered a bug...
 

KPC

KPC

Level 7
Joined
Jun 15, 2018
Messages
195
Once you will use orb effect and once you will use mask effect, both working vs air. (Looking on positions in eq described by you)

When priority item is mask and you have an orb, you have all buffs provided by orb like +dmg and enabled 2 attack index but not effect like splash or venom.
When orb is priority and you have a mask it is like you have only orb becoese mask only provides effect.
 
Level 2
Joined
Feb 17, 2017
Messages
26
Well you could always copy the ability of an orb that grants you the ability to attack air units, and make it bonus damage equal to 0 (I recommend orb of fire to have only damage effects without poison effects or so).

You have 2 solutions (that I can come up with):

1) Add that ability to the abilities of your mask of death

2) Disable the item ability data, and make it a unit and/or hero ability.
Then, with a simple trigger calling the event "A unit acquires an item", with the condition "Item being manipulated equal to mask of Death", add that new custom ability to the triggering unit, ET VOILA.

Of course, the side effect of this trigger is that it would be an ability given to the unit permanently, so other triggers would be needed to remove that ability if the unit loses its copy of the mask of death.

I would recommend solution number 1, because there would be no need for any trigger.
 

KPC

KPC

Level 7
Joined
Jun 15, 2018
Messages
195
I just find the answer after reading your comments and thinking of it a lot. And I decided to share correct solution in comment for other people interested it this problem. Just it. :)
 
Status
Not open for further replies.
Top