Staredit Network

Staredit Network -> UMS Assistance -> Armor
Report, edit, etc...Posted by Paella on 2004-10-31 at 19:29:43
How does armor work, what is the math behind it? I know that upgrades just do the amount of damage plus the origional, but how does armor prevent a unit from getting hurt? Also, in starforge when you can make a unit have negative health, when you attack it does the health go up towards zero or go down because it is still subtracting health?
Report, edit, etc...Posted by DT_Battlekruser on 2004-10-31 at 19:44:31
1)
DMG = ATK - ARM
if DMG <= 0: DMG = 0.5
if DMG > 0: do damage

2) a negative health unit dies in one hit. A 0 health unit cannot die.
Report, edit, etc...Posted by Mini Moose 2707 on 2004-10-31 at 21:07:34
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.

(Yes, I also used a test map)
Report, edit, etc...Posted by LegacyWeapon on 2004-10-31 at 22:44:12
What if the unit does less damage than the armor :\
Report, edit, etc...Posted by Mini Moose 2707 on 2004-10-31 at 23:13:42
Then it takes two hits to do 1 point of damage. The same as zero damage.
Report, edit, etc...Posted by Zero on 2004-11-01 at 01:57:31
I thought it took 3 hits for it to take down one hitpoint of the armor down...so your saying if a dragoon has 3 armor and then i hit it 6 times with a zergling then it will start lowering its health more?
Report, edit, etc...Posted by DT_Battlekruser on 2004-11-01 at 10:06:59
Easiest way to see that is for a ghost to attack a unit wiht like more than 15 armor.
Report, edit, etc...Posted by Paella on 2004-11-01 at 15:58:20
Wow, that was a lot simpler than I thought it would be. Thanks Moose and Kruser.
Report, edit, etc...Posted by KlowN. on 2004-11-02 at 16:27:08
im gonna say if a dragoon does x dmg and the unit its attacking has 1 armor... then the dragoon will do x-1 dmg to the units its attacking i think
Report, edit, etc...Posted by LegacyWeapon on 2004-11-02 at 16:39:47
QUOTE(KlowN. @ Nov 2 2004, 04:27 PM)
im gonna say if a dragoon does x dmg and the unit its attacking has 1 armor... then the dragoon will do x-1 dmg to the units its attacking i think
[right][snapback]93473[/snapback][/right]

The question was already answered. Thanks for the input anyways. But next time dont spam please.

So any armor more than the amount of damage the unit will sustain is useless armor?
What a lame concept. Blizzard made this too simple.
Report, edit, etc...Posted by DevliN on 2004-11-02 at 17:31:33
There are other variables however, like a Ghost attacking a Tank compared to a Ghost attacking an Overlord. You'd notice that even if the Ghost did 10 damage, it would only do about 3-4 damage to the Tank then subtract from that whatever armor the Tank has. Crazy Blizzard.
Report, edit, etc...Posted by LegacyWeapon on 2004-11-02 at 17:39:47
QUOTE(DevliN @ Nov 2 2004, 05:31 PM)
There are other variables however, like a Ghost attacking a Tank compared to a Ghost attacking an Overlord. You'd notice that even if the Ghost did 10 damage, it would only do about 3-4 damage to the Tank then subtract from that whatever armor the Tank has. Crazy Blizzard.
[right][snapback]93511[/snapback][/right]

Notice how the type of armor and type of attack have an effect in the armor / dmg thing
Report, edit, etc...Posted by Mini Moose 2707 on 2004-11-02 at 18:09:06
That's wrong because armor is subtracted before damage types.
Just use my system.
Report, edit, etc...Posted by Paella on 2004-11-03 at 15:20:14
So there is a more complexe algorithm beyond this with how much damage a unit deals to another specific unit of a certain class///armor? I knew it had to be more complex because the armor above the value of the attack is not useless...
Report, edit, etc...Posted by FaZ- on 2004-11-03 at 17:45:50
Heres something i thought u might wanna look at, copied directly from the broodwar help info.
QUOTE
Units in Starcraft have three different designations: small, medium and large.  The size of a unit is taken into account when calculating the effects of different classes of damage. This means that while a Firebat is more effective than a Hydralisk against a Marine, he is less effective against a Vulture.
The damage classes and their effectiveness in relation to the three unit sizes are as follows:

· Normal Damage is equally effective against all types of units.
· Concussion Damage does 50% damage against Medium units and 25% against large units.

· Explosion Damage does 50% damage against Small units and 75% against medium units.

Some units, such as a Siege Tank, also have a Splash Damage modifier added to their damage.  Any units or buildings within a set radius of the target unit take a peripheral amount of damage.

The following is a table that lists each of the damage types and unit sizes:

Terran Units

Unit Size Ground Attack Type Air Attack Type
SCV Small Normal N/A
Marine Small Normal Normal
Firebat Small Concussive* N/A
Ghost Small Concussive Concussive
Vulture Medium Concussive N/A
Tank Large Explosive N/A
Tank - SM Large Explosive* N/A
Goliath Large Normal Explosive
Wraith Large Normal Explosive
Dropship Large N/A N/A
Science V Large N/A N/A
Battlecrui Large Normal Normal

Zerg Units

Unit Size Ground Attack Type Air Attack Type
Larva Small N/A N/A
Drone Small Normal N/A
Zergling Small Normal N/A
Hydralisk Medium Explosive Explosive
Ultralisk Large Normal N/A
Infested T Small Normal* N/A
Broodling Small Normal N/A
Defiler Medium N/A N/A
Queen Medium N/A N/A
Overlord Large N/A N/A
Scourge Small N/A Normal
Mutalisk Small Normal Normal
Guardian Large Normal N/A

Protoss Units

Unit Size Ground Attack Type Air Attack Type
Probe Small Normal N/A
Zealot Small Normal N/A
Dragoon Large Explosive Explosive
High Temp Small N/A N/A
Archon Large Normal* Normal*
Reaver Large Normal* N/A
Shuttle Large N/A N/A
Observer Small N/A N/A
Scout Large Normal Explosive
Carrier Large N/A N/A
Intercepta Small Normal Normal
Arbiter Large Explosive Explosive
* Splash Damage

Copyright © 1997 Blizzard Entertainment.  All Rights Reserved.


I edited it a bit to make it look better on SEN.

EDIT-- looks like censored.gif anyway. evidently tabs dont work right.
Report, edit, etc...Posted by Mini Moose 2707 on 2004-11-03 at 19:44:21
Just link him to the damn Blizzard page it's copied from. -_-
Report, edit, etc...Posted by FaZ- on 2004-11-03 at 20:55:02
Its not on a blizzard page, its a guide that's installed with Brood War.

Start Menu-
Programs-
StarCraft-
Brood War Readme-
Hints, Tips, Other Info-
Damage Types and Unit Sizes.

There -.-
Report, edit, etc...Posted by Paella on 2004-11-03 at 21:00:32
That talks abou the different types of damage and such, not about the math that goes into armor///damage dealing with upgrades. Still, I get this now. thanks for your help everyone.
Report, edit, etc...Posted by FaZ- on 2004-11-03 at 21:11:51
Welcome. Thought it would be helpful to people that don't know about damage types. Enlighten me on whether or not you knew about those?
Next Page (1)