Starcraft – Which upgrade do hydralisks/roaches use when meleeing

starcraft-2starcraft-zerg

In similar vein to this and this:

Hydralisks and roaches have a special melee animation when the enemy is within melee-range. I thought this was just for show, and I've actually heard speculation that it's a bug, but Oak recently mentioned that this attack shares some of the other benefits of melee-attacks (namely, not being affected by the guardian's shield).

However, I wouldn't think their attack would be affected by melee-upgrade, since there is no listing for it on the unit-card. So which is it? (references please, I'm not looking for speculation)

Best Answer

They use the ranged upgrade.

If you open up the galaxy editor and look at the Hydralisk/Roach you'll notice that they have two different weapons: one for range, one for melee. You'll notice that both of these attacks have the same upgrade specified.

Here we see the relationship between Zerg Missile Attacks and Hydralisk Melee

alt text

If select Zerg Missile Attacks and select Upgrade Effects+ we can see where the association is set

alt text