You all know you can upgrade units. And you all know that you're units do different amount of damage depending on what kind of unit it is. I was just wondering, because my friend at school had pointed it out.
Say, a reaver was attacking an SCV, with his scarab damage upgrade.
Since an SCV is "small" unit, it would only do 50% damage.
Question is,
would it calculate 100/2 then add 25 damage? =75 damage
Or would it calculate 125/2 which is 63? (sc always rounds up)
I'm pretty sure you add the damage first. Why don't you test it?
I'm desperate at the moment!
I know I could just test if a reaver kill something with 75 hp small unit but I can't play game, and plus I'm grounded!
Edit- So, you mean you do 63 damage?
Man, that sucks.
Yeah the bonuses would be added first, otherwise the whole system would be skewed.
Woah, I didnt know it did less damage to small units, is this only the reaver that does this?
I find all these percentages to be difficult. Example: If your units doing 25 damage, thats how much damage it should do too all units. With my upgrades, it all depends what units shooting another unit. Is it just me or will units tend to do that?
QUOTE(Yenku @ Apr 19 2005, 10:49 AM)
Woah, I didnt know it did less damage to small units, is this only the reaver that does this?
[right][snapback]191293[/snapback][/right]
Different units all have different attack types. So of course some units are going to do way less than others. Thats why in most games if you see a ghost and a marine, you should only get the ghost if it has more than 3x the attack and attack upgrade of the marine.
I know this is a newbish question, but say a zergling that does 5 damage is attacking a marine with one armor, how much does the ling do per hit?
oh, first of all sorry, i didnt see your link legacy,
and second, i found out myself how it works, just now.
While Legacy consistently cites the tutorial DB, I believe I posted the link.

QUOTE
Start with the damage.
Subtract shield upgrades from the damage.
Apply damage to shields.
Carry over the remaining damage to regular HP.
Subtract the unit's armor.
Multiply the damage by the percentage of the damage type and armor type of the target. (100%, 75%, 50%, 25%)
If the damage at any point is zero, it will take two attacks to do one point of damage.
Example...
Seiged Tank (70 damage) attacks a Zealot (60sh, 100hp) with 1 Armor Upgrades.
70 - 0 Shields, 70 Dmg to shields.
70 - 60, takes out shields with 10 left over.
10 - 2 factors in the base Armor plus the upgrade, bringing the damage to 8.
Zealot is a light armored unit, whereas Tank does explosive damage, cutting the damage in half.
8 / 2 = 4 damage to HP.
The Zealot has no shields left and 96 HP left.
It says nothing about weapon upgrades...
It talks about stuff like
QUOTE
Say, a reaver was attacking an SCV, with his scarab damage upgrade.
Since an SCV is "small" unit, it would only do 50% damage.
Base Damage + Total Upgrade Damage is the damage. What else is to figure in? It gets treated the same way. If I have a Marine doing 10 damage or 5 + 5 damage, its the same thing.
Lol, sorry moose, im just so used to him doing it... I just instinctively said Legacy.
Reaver does normal damage?
Do lurkers have one base armor? (one hit kill!)
Okay, anyways, thanks people!
Also, SC does not Allways round Up. In HHH one of mooses maps, we have hydras with 20 attack as badguys and rines as good guys. Hydras do explosive attack and rines are small units so 50% dmg to rines, If you give your marine one point of armor the hydra will deal 10, 9, 10, 9, 10.... DMG So it looks like it Rounds the HP remaining down or something. Becuse the damage is realy 9.5 per shot.
I just thought that this should be posted here.
Unit Listings It's a .pdf file.
Credit given to starcraft.org
9.5, however.
You explained as you take the armor away before you do the reduced 50% damage.
but, if you divide 20 by half, and subtracted one, then that equals exactly 9. So I don't think SC rounded it down there.
No, its taking 19 and dividing it by half because Terrenblade is right. Blizzard probably made it so that it evens out or something.
Damage = (attack - foesArmor) * dmgModifier