• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 13:28
CET 19:28
KST 03:28
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10
Community News
Weekly Cups (Nov 24-30): MaxPax, Clem, herO win2BGE Stara Zagora 2026 announced15[BSL21] Ro.16 Group Stage (C->B->A->D)4Weekly Cups (Nov 17-23): Solar, MaxPax, Clem win3RSL Season 3: RO16 results & RO8 bracket13
StarCraft 2
General
Chinese SC2 server to reopen; live all-star event in Hangzhou Maestros of the Game: Live Finals Preview (RO4) BGE Stara Zagora 2026 announced Weekly Cups (Nov 24-30): MaxPax, Clem, herO win SC2 Proleague Discontinued; SKT, KT, SGK, CJ disband
Tourneys
Sparkling Tuna Cup - Weekly Open Tournament RSL Offline Finals Info - Dec 13 and 14! StarCraft Evolution League (SC Evo Biweekly) RSL Offline FInals Sea Duckling Open (Global, Bronze-Diamond)
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 502 Negative Reinforcement Mutation # 501 Price of Progress Mutation # 500 Fright night Mutation # 499 Chilling Adaptation
Brood War
General
[ASL20] Ask the mapmakers — Drop your questions BW General Discussion Which season is the best in ASL? Data analysis on 70 million replays BGH Auto Balance -> http://bghmmr.eu/
Tourneys
[Megathread] Daily Proleagues [BSL21] RO16 Group D - Sunday 21:00 CET [BSL21] RO16 Group A - Saturday 21:00 CET [BSL21] RO16 Group B - Sunday 21:00 CET
Strategy
Current Meta Game Theory for Starcraft How to stay on top of macro? PvZ map balance
Other Games
General Games
Nintendo Switch Thread Stormgate/Frost Giant Megathread ZeroSpace Megathread The Perfect Game Path of Exile
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Mafia Game Mode Feedback/Ideas TL Mafia Community Thread
Community
General
Russo-Ukrainian War Thread US Politics Mega-thread Things Aren’t Peaceful in Palestine The Big Programming Thread Artificial Intelligence Thread
Fan Clubs
White-Ra Fan Club
Media & Entertainment
[Manga] One Piece Movie Discussion! Anime Discussion Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion NBA General Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
Where to ask questions and add stream? The Automated Ban List
Blogs
I decided to write a webnov…
DjKniteX
Physical Exertion During Gam…
TrAiDoS
James Bond movies ranking - pa…
Topin
Thanks for the RSL
Hildegard
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1411 users

How damage is calculated, and +1 Mutalisks

Forum Index > SC2 General
Post a Reply
Normal
ghettohobbit2
Profile Joined April 2010
United States93 Posts
Last Edited: 2010-09-14 01:57:19
September 14 2010 01:52 GMT
#1
I trust that you all remember this video, in which one fully upgraded Ultralisk kills an absurd amount of Zerglings.

+ Show Spoiler +


When I watched that, it made me wonder how damage is calculated in terms of weapon damage vs. armor. A zergling without upgrades does 5 damage, and the Ultra in that video has 6 armor, and yet it's still taking damage...

Also, I watched an interview from Artosis recently in which he said that he usually gets 2/1 upgrades for his Mutalisks... and I thought of those Zerglings again.

Anyway, I've just done some tests with +1 Mutaliks... here are the results:

with 0 weapon upgrades and no armor on the targets:

1st target takes 9 damage
2nd target takes 3 damage
3rd target takes 1 damage

with +1 upgrade on the Mutas:

1st takes 10
2nd takes 4
3rd takes 2

with +2

1st takes 11
2nd takes 4
3rd takes 2

and with +3

1st takes 12
2nd takes 4
3rd takes 2

SO, it seems as if damage is rounded up to the first whole number, and therefore no amount of armor will reduce damage to zero.

Also, it's clear that the first attack upgrade for Mutalisks is definitely the most important, as well at the cheapest, and the fastest.

Finally, if someone could provide me with some numbers on how Guardian Shield works with respect to this I would much appreciate it...

EDIT: Fail embed, srry
?
Saracen
Profile Blog Joined December 2007
United States5139 Posts
September 14 2010 01:55 GMT
#2
Youtube links will auto-embed if you just post the URL.
Grachuus
Profile Joined August 2010
United States57 Posts
September 14 2010 01:55 GMT
#3
I guess I'm confused why you didn't test this against varying armor values as that seems to be your interest.
Idiots believe they are infallible. The wise realize they know nothing.
TedJustice
Profile Blog Joined June 2010
Canada1324 Posts
September 14 2010 01:58 GMT
#4
I always thought it would do fractional damage. You could do half a damage and it wouldn't go down by 1 until it was hit twice.
ghettohobbit2
Profile Joined April 2010
United States93 Posts
September 14 2010 01:59 GMT
#5
I guess I'm confused why you didn't test this against varying armor values as that seems to be your interest.


I did, and it simply detracted 1 from the rounded up value every single time. None of the splash from the Muta is ever reduced to 0.
?
ci_esteban
Profile Joined April 2010
United States217 Posts
September 14 2010 01:59 GMT
#6
On September 14 2010 10:55 Grachuus wrote:
I guess I'm confused why you didn't test this against varying armor values as that seems to be your interest.


Ya, if you made a spreadsheet showing the damage with different upgrades against varying armor values I would love you long time. Then we could see which mutalisk upgrades are most efficient given that ZvZ often times comes down to a mutalisk battle of some sort.

Maybe do some math on corrupters vs mutalisks since they are also a part of that matchup when mutalisks come into the equation.
Ketara
Profile Blog Joined August 2010
United States15065 Posts
September 14 2010 02:01 GMT
#7
Not 100% related, but am I the only person who thinks it's weird that workers don't get extra damage from attack upgrades?

Not that anybody should be attacking with workers as some sort of DPS force, but because their damage doesn't scale with upgrades, the usefulness of pulling workers to defend in an emergency is less and less as you approach the late game.

I remember HD cast a TvZ recently where at the very end like 5 Marauders killed a Hatchery with 71 Drones on it, and HD commented that if the Zerg player had pulled Drones, he may have won the game.

But in a 3/3 situation, I think 5 Marauders would actually beat 71 Drones.
http://www.liquidlegends.net/forum/lol-general/502075-patch-61-league-of-legends-general-discussion?page=25#498
ghettohobbit2
Profile Joined April 2010
United States93 Posts
September 14 2010 02:13 GMT
#8
I always thought it would do fractional damage. You could do half a damage and it wouldn't go down by 1 until it was hit


You actually may be right about this... I'm going to do additional testing and edit my OP if it proves that way.
?
baconbits
Profile Joined April 2010
United States419 Posts
September 14 2010 02:18 GMT
#9
I think anything less than armor does 0.5 damage a hit. so 1st does damage, second doesn't third does and so on.
eth3n
Profile Joined August 2010
718 Posts
September 14 2010 02:19 GMT
#10
There was an old post that sounded authoritative that suggested that .5 was the lowest possible damage in SC2, and all damage below 1 was officially .5 (irregardless of rounding apparently?)

I don't know where the post is or how this can be verified but there it is
Idra Potter: I don't use avada kedavra because i have self-respect.
figq
Profile Blog Joined May 2010
12519 Posts
Last Edited: 2010-09-14 03:21:31
September 14 2010 02:55 GMT
#11
I've made very extensive testing on this before using corruption and frenzy (while it was in the game) to force weird % of whole damage.

The conclusion was: SC2 works with fractional (non-integer) damage and HP. If your damage is 0.7, then if you repeat it 10 times it deals exactly 7 HP damage. Moreover - the HP showed by a unit is rounded (floored) downwards to the highest integer which is lower or equal to the real HP.
Example1: Battlecruiser taking 0.5 damage shows 549HP, but in fact it really has 549.5 HP.
Example2 (exception): If your unit shows 1HP, it actually has anything in the range 0 < x < 2 (* - see below)

On top of that, there's engine minimum for dealing damage, which is 0.5, so even with the weakest unit vs the highest armor, every hit will deal 0.5 damage. That means, if you ever face a unit with imba high armor, attack it with the fastest attack-rate unit.

+ Show Spoiler [Some of my brief notes during testing] +
proof of internal fractional HP: fully upgraded Ultra vs lings. the regeneration is faster if you stop it right after it shows lower HP, instead of the next hit, which still shows the same HP.

sentry (6) vs +3 armor BC (6) - deals 0.5 , but with corruption it deals 6.20% = 1.2 + 0.5 = 1.7 , and indeed after 10 attacks the BC health is 550 - 17 = 533

+1 attack Ghost with Frenzy deals 11+2.75 = 13.75 - 6 = 7.75 and indeed, after 4 attacks the result is 519 = 550 - 31 = 7.75x4

+1 attack Ghost vs Corrupted BC deals 11x0.2 = 2.2 + 11 - 6 = 7.2 , and indeed, after 5 attacks, the result is 514

...etc


(*) similar to the 0.5 damage minimum, there's actually a non-zero HP minimum too, which is also 0.5 . The internal HP does not allow your unit to have 0.2 HP. If after the last attack it has 0 < x < 0.5 , then the engine puts it at 0.5 HP. You can check this with regeneration rates again.
If you stand next to my head, you can hear the ocean. - Day[9]
PTZ.
Profile Joined September 2010
72 Posts
September 14 2010 02:59 GMT
#12
On September 14 2010 10:58 TedJustice wrote:
I always thought it would do fractional damage. You could do half a damage and it wouldn't go down by 1 until it was hit twice.


This is how it worked in BW. I imagine it remained the same in SC2 though I never checked.

Two points of interest:
- Units with double/triple attacks get reduced by armor on each attack. So a Zealot does 14 vs 1 armor and not 15.
- Mutalisks (in BW at least) did 9, 9/3 = 3, 3/3 = 1 damage. With 3attack they did 12, 12/3 = 4, 4/3 = 1.3333 (so first 2-3 attacks would do 1 damage rounded down while they accumulate decimals and then 4th attack would do 2damage).
Sixes
Profile Joined July 2010
Canada1123 Posts
September 14 2010 03:47 GMT
#13
On September 14 2010 11:55 figq wrote:
Great post with proper testing.


Thank you.

That does mean that muta upgrades are all just as important as the value of 4 is in fact 3.33, 3.66 and 4.00. Anyone feel like confirming this?
Stewie
Profile Joined May 2010
Germany17 Posts
September 14 2010 03:53 GMT
#14
On September 14 2010 11:59 PTZ. wrote:
Show nested quote +
On September 14 2010 10:58 TedJustice wrote:
I always thought it would do fractional damage. You could do half a damage and it wouldn't go down by 1 until it was hit twice.


This is how it worked in BW. I imagine it remained the same in SC2 though I never checked.

Two points of interest:
- Units with double/triple attacks get reduced by armor on each attack. So a Zealot does 14 vs 1 armor and not 15.
- Mutalisks (in BW at least) did 9, 9/3 = 3, 3/3 = 1 damage. With 3attack they did 12, 12/3 = 4, 4/3 = 1.3333 (so first 2-3 attacks would do 1 damage rounded down while they accumulate decimals and then 4th attack would do 2damage).


Interesting.
Can anyone confirm the behaviour of mutalisks in sc2 regarding whether that 1-0 upgrade makes the third glaive constantly do 2 dmg over 1 or just their first attack and then once in a while due to round up.
So far I believe that the 0-1 carapace is still more valuable than the 1-0 attack in muta vs muta fights until someone can confirm whether their dps upgrade of the two bounces are permanently upped by 1 with the 1-0 attack.
z00t
Profile Joined April 2010
Australia976 Posts
September 14 2010 03:54 GMT
#15
That's very interesting - it makes it look as though getting +2 attack for Muta isn't too important even if you're going fairly heavy on them.

Are there any tests to see what the effect of Muta upgrades are vs 1 armour, 2 armour, 3 armour, and 4 armour targets are? That's something that'd be very useful to know .
MangoTango
Profile Blog Joined June 2010
United States3670 Posts
September 14 2010 03:58 GMT
#16
Really, 5 damage against 6 armor is 0.5 damage? I thought it was 1. Something new every day...
"One fish, two fish, red fish, BLUE TANK!" - Artosis
Alsn
Profile Joined February 2008
Sweden995 Posts
Last Edited: 2010-09-14 04:21:28
September 14 2010 04:17 GMT
#17
What I wonder is, are you sure the first upgrade actually does +1/+1/+1 and not +1/+0,66/+0,33 and you simply tested with just the one attack?

Edit: Also, this still doesn't change the fact that once your opponent has +2 armor to their main unit, muta splash is more or less a moot point. Getting the upgrades just for the initial attack is still good if you are a heavy muta user however.

Edit2: Actually, expanding on what figq said, does anyone know about how guardian shield works? Can that spell reduce damage to 0 where armor can only reduce it to .5 or are the mechanics the same?
Machina improba! Vel mihi ede potum vel mihi redde nummos meos!
Subversion
Profile Blog Joined April 2010
South Africa3627 Posts
September 14 2010 04:18 GMT
#18
this is pretty cool.

useful just to know how important that +1 attack is above all else, thanks for this
Phayze
Profile Blog Joined June 2009
Canada2029 Posts
September 14 2010 04:23 GMT
#19
I've personally only been getting +1 attack myself also, For no real reason other than the +1 ties with heavy muta play, but doesn't overly commit my spire for upgrades in favor of broodlords. I also told myself that +1 was really good because the third glaive would hugely benefit, and this math proves my theory. Nice to know I was doing it right all along
Proud member of the LGA-1366 Core-i7 4Ghz Club
ktimekiller
Profile Blog Joined May 2010
United States690 Posts
September 14 2010 04:25 GMT
#20
Bit lost

For the muta bounce, will the damage be rounded? or will the displayed HP be rounded
Crushgroove
Profile Joined July 2010
United States793 Posts
September 14 2010 04:28 GMT
#21
You mean rounded to the nearest Integer.

Zero is a whole number.
[In Korea on Vaca] "Why would I go to the park and climb a mountain? There are video games on f*cking TV!" - Kazuke
figq
Profile Blog Joined May 2010
12519 Posts
September 14 2010 04:32 GMT
#22
On September 14 2010 13:25 ktimekiller wrote:
Bit lost

For the muta bounce, will the damage be rounded? or will the displayed HP be rounded
Displayed HP is rounded (down), damage is precise, and internal HP is precise.
If you stand next to my head, you can hear the ocean. - Day[9]
dybydx
Profile Blog Joined December 2007
Canada1764 Posts
September 14 2010 04:34 GMT
#23
On September 14 2010 11:55 figq wrote:
I've made very extensive testing on this before using corruption and frenzy (while it was in the game) to force weird % of whole damage.

The conclusion was: SC2 works with fractional (non-integer) damage and HP. If your damage is 0.7, then if you repeat it 10 times it deals exactly 7 HP damage. Moreover - the HP showed by a unit is rounded (floored) downwards to the highest integer which is lower or equal to the real HP.
Example1: Battlecruiser taking 0.5 damage shows 549HP, but in fact it really has 549.5 HP.
Example2 (exception): If your unit shows 1HP, it actually has anything in the range 0 < x < 2 (* - see below)

On top of that, there's engine minimum for dealing damage, which is 0.5, so even with the weakest unit vs the highest armor, every hit will deal 0.5 damage. That means, if you ever face a unit with imba high armor, attack it with the fastest attack-rate unit.

+ Show Spoiler [Some of my brief notes during testing] +
proof of internal fractional HP: fully upgraded Ultra vs lings. the regeneration is faster if you stop it right after it shows lower HP, instead of the next hit, which still shows the same HP.

sentry (6) vs +3 armor BC (6) - deals 0.5 , but with corruption it deals 6.20% = 1.2 + 0.5 = 1.7 , and indeed after 10 attacks the BC health is 550 - 17 = 533

+1 attack Ghost with Frenzy deals 11+2.75 = 13.75 - 6 = 7.75 and indeed, after 4 attacks the result is 519 = 550 - 31 = 7.75x4

+1 attack Ghost vs Corrupted BC deals 11x0.2 = 2.2 + 11 - 6 = 7.2 , and indeed, after 5 attacks, the result is 514

...etc


(*) similar to the 0.5 damage minimum, there's actually a non-zero HP minimum too, which is also 0.5 . The internal HP does not allow your unit to have 0.2 HP. If after the last attack it has 0 < x < 0.5 , then the engine puts it at 0.5 HP. You can check this with regeneration rates again.

OTL
...from the land of imba
ktimekiller
Profile Blog Joined May 2010
United States690 Posts
September 14 2010 04:36 GMT
#24
On September 14 2010 13:32 figq wrote:
Show nested quote +
On September 14 2010 13:25 ktimekiller wrote:
Bit lost

For the muta bounce, will the damage be rounded? or will the displayed HP be rounded
Displayed HP is rounded (down), damage is precise, and internal HP is precise.


And the minimum damage is apparently .5?
figq
Profile Blog Joined May 2010
12519 Posts
Last Edited: 2010-09-14 04:41:03
September 14 2010 04:38 GMT
#25
On September 14 2010 13:36 ktimekiller wrote:
Show nested quote +
On September 14 2010 13:32 figq wrote:
On September 14 2010 13:25 ktimekiller wrote:
Bit lost

For the muta bounce, will the damage be rounded? or will the displayed HP be rounded
Displayed HP is rounded (down), damage is precise, and internal HP is precise.
And the minimum damage is apparently .5?
Yes.
On September 14 2010 13:34 dybydx wrote:
Show nested quote +
On September 14 2010 11:55 figq wrote:
I've made very extensive testing on this before using corruption and frenzy (while it was in the game) to force weird % of whole damage.

The conclusion was: SC2 works with fractional (non-integer) damage and HP. If your damage is 0.7, then if you repeat it 10 times it deals exactly 7 HP damage. Moreover - the HP showed by a unit is rounded (floored) downwards to the highest integer which is lower or equal to the real HP.
Example1: Battlecruiser taking 0.5 damage shows 549HP, but in fact it really has 549.5 HP.
Example2 (exception): If your unit shows 1HP, it actually has anything in the range 0 < x < 2 (* - see below)

On top of that, there's engine minimum for dealing damage, which is 0.5, so even with the weakest unit vs the highest armor, every hit will deal 0.5 damage. That means, if you ever face a unit with imba high armor, attack it with the fastest attack-rate unit.

+ Show Spoiler [Some of my brief notes during testing] +
proof of internal fractional HP: fully upgraded Ultra vs lings. the regeneration is faster if you stop it right after it shows lower HP, instead of the next hit, which still shows the same HP.

sentry (6) vs +3 armor BC (6) - deals 0.5 , but with corruption it deals 6.20% = 1.2 + 0.5 = 1.7 , and indeed after 10 attacks the BC health is 550 - 17 = 533

+1 attack Ghost with Frenzy deals 11+2.75 = 13.75 - 6 = 7.75 and indeed, after 4 attacks the result is 519 = 550 - 31 = 7.75x4

+1 attack Ghost vs Corrupted BC deals 11x0.2 = 2.2 + 11 - 6 = 7.2 , and indeed, after 5 attacks, the result is 514

...etc


(*) similar to the 0.5 damage minimum, there's actually a non-zero HP minimum too, which is also 0.5 . The internal HP does not allow your unit to have 0.2 HP. If after the last attack it has 0 < x < 0.5 , then the engine puts it at 0.5 HP. You can check this with regeneration rates again.

OTL
Correct me if something is wrong please, because this testing was done a few months ago, and there could be a mistake.
If you stand next to my head, you can hear the ocean. - Day[9]
Stewie
Profile Joined May 2010
Germany17 Posts
Last Edited: 2010-09-14 04:43:12
September 14 2010 04:42 GMT
#26
On September 14 2010 13:17 Alsn wrote:
What I wonder is, are you sure the first upgrade actually does +1/+1/+1 and not +1/+0,66/+0,33 and you simply tested with just the one attack?


This is exactly what I was wondering about, just that he stated it better.
This is a pretty important kind of information to find out.
In case someone figures out that it is a constant +1/+1/+1 - it will be a huge discovery.
MavercK
Profile Joined March 2010
Australia2181 Posts
September 14 2010 04:53 GMT
#27
minimum damage is 0.5. it's a value in the data editor.

mutalisk bounce also sucks imo with weapon upgrades
2nd bounce gets 0.6666 dmg instead of 1
3rd bounce gets 0.3333 dmg instead of 1.
Brood War Remake - SC2BW - http://www.teamliquid.net/forum/viewmessage.php?topic_id=145316
SevenSpirits
Profile Joined September 2009
United States12 Posts
Last Edited: 2010-09-14 05:00:52
September 14 2010 04:58 GMT
#28
If the bounce does 2/3 of the damage (and the second bounce 1/3) which I'm told here is true, then in muta vs muta fights, the armor upgrade is better.

Attack upgrade gives +1 + 2/3 + 1/3 damage per shot (+2)
Armor upgrade gives -1 - 1 - .5 (at worst) per enemy shot (-2.5)

Easy example, if you get armor and your opponent gets attack:
their Mutas do 9 + 2.66 + .5 = 12.16 per shot
yours do 9 + 3 + 1 = 13 per shot

Of course, against non-mutas, you'd probably rather have attack. (And other units against your mutas would probably like to have armor.)
ktimekiller
Profile Blog Joined May 2010
United States690 Posts
September 14 2010 05:07 GMT
#29
I think picking armor is definitely a must against Terrans

Considering the low damage per shot, but frequent hits from Terran AA, the +1 armor would be far more valuable than damage.

I am leaning towards +1 damage against Protoss because of Guardian shield and the lack of fast but low damage hits that will ward Mutalisks away.
figq
Profile Blog Joined May 2010
12519 Posts
Last Edited: 2010-09-14 05:18:06
September 14 2010 05:16 GMT
#30
On September 14 2010 13:17 Alsn wrote:
Edit2: Actually, expanding on what figq said, does anyone know about how guardian shield works? Can that spell reduce damage to 0 where armor can only reduce it to .5 or are the mechanics the same?
The 0.5 correction is applied last of all calculations, to prevent the situation of unit attacking and dealing 0 damage. (Blizzard doesn't like it apparently ^^) So under GS you still take at least the minimum damage in all attack-defense matchups.
On September 14 2010 13:53 MavercK wrote:
mutalisk bounce also sucks imo with weapon upgrades
2nd bounce gets 0.6666 dmg instead of 1
3rd bounce gets 0.3333 dmg instead of 1.
Otherwise the upgrades would benefit the bounces more than the main attack (in % of increase), which would be unreasonable.
If you stand next to my head, you can hear the ocean. - Day[9]
Xapti
Profile Joined April 2010
Canada2473 Posts
Last Edited: 2010-09-14 05:42:11
September 14 2010 05:35 GMT
#31
As far as I can tell so far, no one's seems to have tested it yet. Well since it seems no one else wants to spend 5 minutes to test the upgrade, I guess I will.

And why are people suggesting it upgrades at +1 +.66 and +.33? fail at math, or another reason?
It should be +1 +.33 +.11 if it follows the attack.

Edit:

OK I tested it.

The +1 attack upgrades +1, +.33 and +.11 as one would expect. It's only the first shot (then alternating every 3 or 9 times) that "deals" extra damage.

Makes me glad whenever I went mutas I wasn't ever getting the attack instead of armor.
"Then he told me to tell you that he wouldn't piss on you if you were on fire" — "Well, you tell him that I said that I wouldn't piss on him if he was on Jeopardy!"
Randomaccount#77123
Profile Blog Joined May 2010
United States5003 Posts
September 14 2010 05:42 GMT
#32
--- Nuked ---
Xapti
Profile Joined April 2010
Canada2473 Posts
September 14 2010 05:46 GMT
#33
On September 14 2010 14:42 Barrin wrote:
I'm not sure exactly how the extra armor is calculated in SC2, but in SC1 it was more complicated than just rounded up to the nearest whole number. If a unit had 255 armor and a unit attacking it only did 1 damage, then that unit attacking it would have to hit it several times before 1 damage was dealt. I am 100% sure on this btw.

Yeah I'm pretty sure of that too. SC1's was weird, not sure exactly how it worked.

When it comes to SC2thoguh, as people mentioned, I think it's minimum 0.5 damage. Someone even said this is an attribute configurable in the editor, so that's as much proof as anyone would need to be certain that it's true.
"Then he told me to tell you that he wouldn't piss on you if you were on fire" — "Well, you tell him that I said that I wouldn't piss on him if he was on Jeopardy!"
figq
Profile Blog Joined May 2010
12519 Posts
Last Edited: 2010-09-14 06:38:26
September 14 2010 05:50 GMT
#34
On September 14 2010 14:42 Barrin wrote:
I'm not sure exactly how the extra armor is calculated in SC2, but in SC1 it was more complicated than just rounded up to the nearest whole number. If a unit had 255 armor and a unit attacking it only did 1 damage, then that unit attacking it would have to hit it several times before 1 damage was dealt. I am 100% sure on this btw.
I know, that's why I did those tests, to confirm or disprove that this works similarly in SC2 - and in SC2 it is with fractional internal HP instead. I read people claiming every second ling attack deals 1 whole damage - that is not true in SC2.

My guess about BW is that they optimized the engine by using integers, so they used a formula to solve any rational number equation and deal 1 whole damage on every n hits (with some incrementor). In SC2 they don't care about such petty optimizations anymore so it lags like hell even in official casts. The main positive of upgrading to true fractional is that it makes balancing and tweaking a lot easier, and especially for such large set of single player campaigns/missions.
If you stand next to my head, you can hear the ocean. - Day[9]
dbizzle
Profile Joined May 2010
United States395 Posts
September 14 2010 05:57 GMT
#35
On September 14 2010 11:55 figq wrote:
I've made very extensive testing on this before using corruption and frenzy (while it was in the game) to force weird % of whole damage.

The conclusion was: SC2 works with fractional (non-integer) damage and HP. If your damage is 0.7, then if you repeat it 10 times it deals exactly 7 HP damage. Moreover - the HP showed by a unit is rounded (floored) downwards to the highest integer which is lower or equal to the real HP.
Example1: Battlecruiser taking 0.5 damage shows 549HP, but in fact it really has 549.5 HP.
Example2 (exception): If your unit shows 1HP, it actually has anything in the range 0 < x < 2 (* - see below)

On top of that, there's engine minimum for dealing damage, which is 0.5, so even with the weakest unit vs the highest armor, every hit will deal 0.5 damage. That means, if you ever face a unit with imba high armor, attack it with the fastest attack-rate unit.

+ Show Spoiler [Some of my brief notes during testing] +
proof of internal fractional HP: fully upgraded Ultra vs lings. the regeneration is faster if you stop it right after it shows lower HP, instead of the next hit, which still shows the same HP.

sentry (6) vs +3 armor BC (6) - deals 0.5 , but with corruption it deals 6.20% = 1.2 + 0.5 = 1.7 , and indeed after 10 attacks the BC health is 550 - 17 = 533

+1 attack Ghost with Frenzy deals 11+2.75 = 13.75 - 6 = 7.75 and indeed, after 4 attacks the result is 519 = 550 - 31 = 7.75x4

+1 attack Ghost vs Corrupted BC deals 11x0.2 = 2.2 + 11 - 6 = 7.2 , and indeed, after 5 attacks, the result is 514

...etc


(*) similar to the 0.5 damage minimum, there's actually a non-zero HP minimum too, which is also 0.5 . The internal HP does not allow your unit to have 0.2 HP. If after the last attack it has 0 < x < 0.5 , then the engine puts it at 0.5 HP. You can check this with regeneration rates again.


Yea that seems to make sense on how intricate blizzard is; it would be alot easier on the eyes to see whole numbers instead of day9 screaming that he got away with 2.756 health
Randomaccount#77123
Profile Blog Joined May 2010
United States5003 Posts
September 14 2010 06:09 GMT
#36
--- Nuked ---
Gnial
Profile Blog Joined July 2010
Canada907 Posts
September 14 2010 06:09 GMT
#37
Getting +2 attack for mutalisks makes a lot of sense, especially since Terrans and Protoss tend to upgrade attack, and not armor against zerg.

+1 is great since it gives the bonus bounce damage against units such as marines, sentries, hellions, etc. However, against units with base +1 armor, it will NOT give that bonus bounce damage.

Marauders, zealots, stalkers, and many other units have +1 armor already...thus, to get the mutalisk bounce bonus damage against them, you would need...thats right...+2 attack.
1, eh? 2, eh? 3, eh?
onionchowder
Profile Joined July 2009
United States137 Posts
September 14 2010 07:18 GMT
#38
Check for the HP after several hits. I'm pretty sure the rounding is only nominal, and the system internally calculates the fraction HP -- this is how it was in BW.
Eric Guan is a sexy beast
EggPuppet
Profile Joined August 2010
26 Posts
Last Edited: 2010-09-14 07:47:28
September 14 2010 07:46 GMT
#39
Are the glaive bounces each 1/3 of the previous stage's damage vs. unarmored, or the damage it actually dealt in practice?

If a 9-3-1 mutalisk fires at a 100 armor target and it bounces to a 0 armor target, does the secondary target take 3 damage or 0.5?
baconbits
Profile Joined April 2010
United States419 Posts
September 14 2010 07:49 GMT
#40
On September 14 2010 16:46 EggPuppet wrote:
Are the glaive bounces each 1/3 of the previous stage's damage vs. unarmored, or the damage it actually dealt in practice?

If a 9-3-1 mutalisk fires at a 100 armor target and it bounces to a 0 armor target, does the secondary target take 3 damage or 0.5?


3
Alsn
Profile Joined February 2008
Sweden995 Posts
September 14 2010 21:28 GMT
#41
On September 14 2010 14:35 Xapti wrote:And why are people suggesting it upgrades at +1 +.66 and +.33? fail at math, or another reason?
It should be +1 +.33 +.11 if it follows the attack..
You are correct, of course. No idea why I thought it would be 2/3 and 1/3 for the second and third attack. Just didn't think it through I suppose. >.<
Machina improba! Vel mihi ede potum vel mihi redde nummos meos!
Uhh Negative
Profile Joined May 2010
United States1090 Posts
September 14 2010 21:47 GMT
#42
Sweet, will be getting attack upgrade for my mutas always now. Essentially +3 damage is very worth it.
Fergzlol
Profile Joined June 2010
United States9 Posts
September 14 2010 22:36 GMT
#43
That Youtube video is from the beginning of the Beta. 1 Ultra cannot kill that many Zerglings anymore. Not even close I believe.
Diamond Zerg
Weasel-
Profile Joined June 2009
Canada1556 Posts
September 14 2010 22:40 GMT
#44
On September 14 2010 11:13 ghettohobbit2 wrote:
Show nested quote +
I always thought it would do fractional damage. You could do half a damage and it wouldn't go down by 1 until it was hit


You actually may be right about this... I'm going to do additional testing and edit my OP if it proves that way.

That was how it worked in bw, if something was going to do 0 damage because of armor, it would just do half a damage point instead.
Excalibur_Z
Profile Joined October 2002
United States12240 Posts
September 15 2010 01:55 GMT
#45
On September 14 2010 14:50 figq wrote:
Show nested quote +
On September 14 2010 14:42 Barrin wrote:
I'm not sure exactly how the extra armor is calculated in SC2, but in SC1 it was more complicated than just rounded up to the nearest whole number. If a unit had 255 armor and a unit attacking it only did 1 damage, then that unit attacking it would have to hit it several times before 1 damage was dealt. I am 100% sure on this btw.
I know, that's why I did those tests, to confirm or disprove that this works similarly in SC2 - and in SC2 it is with fractional internal HP instead. I read people claiming every second ling attack deals 1 whole damage - that is not true in SC2.

My guess about BW is that they optimized the engine by using integers, so they used a formula to solve any rational number equation and deal 1 whole damage on every n hits (with some incrementor). In SC2 they don't care about such petty optimizations anymore so it lags like hell even in official casts. The main positive of upgrading to true fractional is that it makes balancing and tweaking a lot easier, and especially for such large set of single player campaigns/missions.


I'm surprised lololol hasn't appeared in this thread yet, this is totally his department. BW calculated damage down to the 1/256. I believe he said that the minimum damage was 127/256 (or very very shy of 0.5). Wouldn't surprise me in the least if it were the same in SC2.
Moderator
Normal
Please log in or register to reply.
Live Events Refresh
OSC
16:00
OSC Elite Rising Star #17
ForJumy vs MindelVKLIVE!
Shameless vs Percival
SteadfastSC154
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
mouzHeroMarine 582
SteadfastSC 154
ProTech122
MindelVK 48
StarCraft: Brood War
Britney 20070
Calm 3105
Shuttle 727
Larva 495
Rush 237
firebathero 148
Dewaltoss 122
BeSt 112
yabsab 47
HiyA 21
[ Show more ]
Aegong 20
soO 19
scan(afreeca) 14
NaDa 8
SilentControl 6
JulyZerg 4
Dota 2
Gorgc6691
Dendi1202
420jenkins330
XcaliburYe240
League of Legends
C9.Mang066
Counter-Strike
fl0m5538
zeus652
chrisJcsgo43
minikerr26
Heroes of the Storm
Khaldor180
Other Games
Grubby2549
Beastyqt606
ArmadaUGS131
Livibee76
KnowMe75
Mew2King72
Sick62
Trikslyr61
QueenE56
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 16 non-featured ]
StarCraft 2
• Reevou 14
• intothetv
• AfreecaTV YouTube
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• FirePhoenix8
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• C_a_k_e 2443
• WagamamaTV543
Other Games
• imaqtpie433
• Shiphtur202
Upcoming Events
Replay Cast
5h 32m
Korean StarCraft League
1d 8h
CranKy Ducklings
1d 15h
WardiTV 2025
1d 17h
SC Evo League
1d 18h
BSL 21
2 days
Sziky vs OyAji
Gypsy vs eOnzErG
OSC
2 days
Solar vs Creator
ByuN vs Gerald
Percival vs Babymarine
Moja vs Krystianer
EnDerr vs ForJumy
sebesdes vs Nicoract
Sparkling Tuna Cup
2 days
WardiTV 2025
2 days
OSC
2 days
[ Show More ]
BSL 21
3 days
Bonyth vs StRyKeR
Tarson vs Dandy
Replay Cast
3 days
Wardi Open
3 days
StarCraft2.fi
3 days
Monday Night Weeklies
3 days
Replay Cast
4 days
WardiTV 2025
4 days
StarCraft2.fi
4 days
PiGosaur Monday
5 days
StarCraft2.fi
5 days
Tenacious Turtle Tussle
6 days
The PondCast
6 days
WardiTV 2025
6 days
StarCraft2.fi
6 days
Liquipedia Results

Completed

Proleague 2025-11-30
RSL Revival: Season 3
Light HT

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
YSL S2
BSL Season 21
CSCL: Masked Kings S3
Slon Tour Season 2
Acropolis #4 - TS3
META Madness #9
SL Budapest Major 2025
ESL Impact League Season 8
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2

Upcoming

BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
RSL Offline Finals
WardiTV 2025
Kuram Kup
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
eXTREMESLAND 2025
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.