• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 10:53
CEST 16:53
KST 23:53
  • 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
Team TLMC #5 - Finalists & Open Tournaments0[ASL20] Ro16 Preview Pt2: Turbulence2Classic Games #3: Rogue vs Serral at BlizzCon9[ASL20] Ro16 Preview Pt1: Ascent10Maestros of the Game: Week 1/Play-in Preview12
Community News
Weekly Cups (Sept 8-14): herO & MaxPax split cups2WardiTV TL Team Map Contest #5 Tournaments1SC4ALL $6,000 Open LAN in Philadelphia7Weekly Cups (Sept 1-7): MaxPax rebounds & Clem saga continues29LiuLi Cup - September 2025 Tournaments3
StarCraft 2
General
Weekly Cups (Sept 8-14): herO & MaxPax split cups SpeCial on The Tasteless Podcast Team TLMC #5 - Finalists & Open Tournaments Weekly Cups (Sept 1-7): MaxPax rebounds & Clem saga continues #1: Maru - Greatest Players of All Time
Tourneys
WardiTV TL Team Map Contest #5 Tournaments Maestros of The Game—$20k event w/ live finals in Paris RSL: Revival, a new crowdfunded tournament series Sparkling Tuna Cup - Weekly Open Tournament SC4ALL $6,000 Open LAN in Philadelphia
Strategy
Custom Maps
External Content
Mutation # 491 Night Drive Mutation # 490 Masters of Midnight Mutation # 489 Bannable Offense Mutation # 488 What Goes Around
Brood War
General
BGH Auto Balance -> http://bghmmr.eu/ ASL20 General Discussion Playing StarCraft as 2 people on the same network [ASL20] Ro16 Preview Pt2: Turbulence Pros React To: SoulKey's 5-Peat Challenge
Tourneys
[ASL20] Ro16 Group C [ASL20] Ro16 Group B [IPSL] ISPL Season 1 Winter Qualis and Info! Is there English video for group selection for ASL
Strategy
Simple Questions, Simple Answers Muta micro map competition Fighting Spirit mining rates [G] Mineral Boosting
Other Games
General Games
General RTS Discussion Thread Stormgate/Frost Giant Megathread Nintendo Switch Thread Borderlands 3 Path of Exile
Dota 2
Official 'what is Dota anymore' discussion LiquidDota to reintegrate into TL.net
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread
Community
General
Things Aren’t Peaceful in Palestine US Politics Mega-thread Canadian Politics Mega-thread Russo-Ukrainian War Thread The Big Programming Thread
Fan Clubs
The Happy Fan Club!
Media & Entertainment
Movie Discussion! [Manga] One Piece Anime Discussion Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion MLB/Baseball 2023
World Cup 2022
Tech Support
Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread High temperatures on bridge(s)
TL Community
BarCraft in Tokyo Japan for ASL Season5 Final The Automated Ban List
Blogs
The Personality of a Spender…
TrAiDoS
A very expensive lesson on ma…
Garnet
hello world
radishsoup
Lemme tell you a thing o…
JoinTheRain
RTS Design in Hypercoven
a11
Evil Gacha Games and the…
ffswowsucks
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1527 users

Valkyrie dmg formula?

Forum Index > Brood War Strategy
Post a Reply
1 2 3 4 Next All
MeSaber
Profile Joined December 2009
Sweden1235 Posts
Last Edited: 2020-12-27 10:58:47
December 26 2020 22:25 GMT
#1
Someone know the dmg formula of Valkyrie?

I guess its a balance thing why its doing diminishing returns but im curious what the formula actually is.

My own test:

Amount of stacked Wraiths and their leftover HP after one Valkyrie volley (8x6 dmg).

1 - 72/120 = 48 of 48 dmg (0% diminishing returns)

2 - 2x 84/120 = 72 of 96 dmg (25%)

3 - 96/120, 86/120, 84/120 = 94 of 144 dmg (35%)

3 - 102/120, 96/120, 66/120 = 96 of 144 dmg (33%)

4 - 4x 90/120 = 120 of 192 dmg (37%)

4 - 96/120, 2x 90/120, 84/120 = 120 of 192 dmg (37%)

5 - 2x 98/120, 2x 90/120, 84/120 = 140 of 240 dmg (42%)

6 - 102/120, 2x 96/120, 90/120, 2x 84/120 = 168 of 288 dmg (42%)

11 - 7x 96/120, 92/120, 3x 90/120 = 286 of 528 dmg (46%)
-.-
LML
Profile Blog Joined March 2007
Germany1768 Posts
December 26 2020 23:40 GMT
#2
(Wiki)Valkyrie
Isn't the "Advanced Mechanics" section explaining what you're looking for? All the rocket placements, etc.
LML
MeSaber
Profile Joined December 2009
Sweden1235 Posts
December 27 2020 10:54 GMT
#3
Well no, there seem to be a specific formula for it. It doesnt seem to matter how many times i try, i get the same results every time.

As you can see on my test this doesnt count for one Wraith where it always is 100% no matter where the missiles land.

I even tried stacked vs non-stacked where it yielded the same result. This one i tested above is stacked.

I will post my test of the non-stacked dmg also. If they wind out to be the same as stacked, there has to be a diminishing returns formula involved as it doesnt matter where the targets are.

Look at my second 3 Wraith test. One got 66/120 HP left, which should seem impossible ye? It seems calculate how many targets are in the area and what dmg should be dished out in total, no matter to whom it gets which is why it got down to 66/120 instead of 72/120 which would be the max dmg possible from a single volley vs one single target.

If the image of the missiles landing spots are true, i would be able to place a Wraith at every those locations and have no diminishing returns. Each wraith should end up with 72/120 or even more (splash), which im pretty sure wont be the case but ill try it anyway :D
-.-
StRyKeR
Profile Blog Joined January 2006
United States1739 Posts
Last Edited: 2020-12-28 16:33:39
December 28 2020 16:30 GMT
#4
Just tested it myself and you are right. This is kinda crazy. It confirms my intuitive understanding that mutas seem to survive a lot longer against valks than I expect them to. The diminishing returns seem even bigger versus mutas than wraiths actually (maybe cuz of the hitbox). With more than 3 clumped together, I see the originally targetted muta taking 10, 11 damage as opposed to 24 (48/2 since explosive damage is halved versus small units), which is a loss of almost 60%.

There definitely seems to be some algorithm that governs how to spread out the damage of a valk missile for every unit in its splash radius, an algorithm different from all other kinds of splash damage. Maybe someone who knows the source code (bwapi?) can explain it.
Ars longa, vita brevis, principia aeturna.
StRyKeR
Profile Blog Joined January 2006
United States1739 Posts
Last Edited: 2020-12-28 17:03:30
December 28 2020 17:00 GMT
#5
Are you sure about the 66/120? I've never been able to recreate that and it does seem impossible.

My second theory is that when there's only one unit, there's a special algorithm to deal 100% of the damage.
When there's more than one, the default splash algorithm kicks in. Per liquipedia, 36% of the missiles hit the target, dealing 100%, and 64% miss, dealing between 25% and 50% (so let's say 37.5% average). So the expected damage is 100%*36% + 37.5%*64% = 60%, meaning that you would expect to lose 40% of the damage to the target. However, this only applies to the direct target; other targets slightly off center will be missed more. For example, if a unit is at the corner of the missile box then it will be missed completely by a few missiles. Therefore, you would expect to lose more than 40% of the damage, maybe 50% or more. This calculation then explains the findings you are seeing, without having to invent a new splash algorithm. This calculation also explains why mutas take even less damage (smaller hit boxes leading to less splash dealt).

EDIT: According to (Wiki)List of Unit and Building Sizes , mutas have larger sizes than wraiths, but this table might not refer to hit boxes.
Ars longa, vita brevis, principia aeturna.
LG)Sabbath
Profile Blog Joined July 2005
Argentina3024 Posts
December 28 2020 18:51 GMT
#6
Would you say that cloning the valks to separate muta would increase the damage done by them?
https://www.twitch.tv/argsabbath/
StRyKeR
Profile Blog Joined January 2006
United States1739 Posts
December 28 2020 19:00 GMT
#7
No, because as long as there is more than one muta in the splash radius, I believe the standard splash algorithm applies.
Ars longa, vita brevis, principia aeturna.
Freakling
Profile Joined October 2012
Germany1529 Posts
January 01 2021 09:49 GMT
#8
I don't think there is any explicit diminished return formula for Valks. Unfortunately you don't give any description of your testing method, which makes it hard to zero in on likely candidates for an explanation.
How did you stack the target Wraiths?
Were they holding position or moving while being hit?
Did you keep track of which one was the primary target and whether that received the full damage?
How many repeats did you run for each number?
Did you get the exact same distribution of remaining HP each time? And can you keep tests running without ever getting a differing result?
Which known factors did you already control for (if any) and how?
MeSaber
Profile Joined December 2009
Sweden1235 Posts
Last Edited: 2021-01-01 12:29:13
January 01 2021 12:16 GMT
#9
Well no its not an empirical test by any means. I did just as many tests of stacked as listed here. I will upload the replays:

https://ufile.io/d94yz9dm

https://ufile.io/ekln4qe4
-.-
MeSaber
Profile Joined December 2009
Sweden1235 Posts
January 01 2021 12:32 GMT
#10
On December 29 2020 02:00 StRyKeR wrote:
Are you sure about the 66/120? I've never been able to recreate that and it does seem impossible.

My second theory is that when there's only one unit, there's a special algorithm to deal 100% of the damage.
When there's more than one, the default splash algorithm kicks in. Per liquipedia, 36% of the missiles hit the target, dealing 100%, and 64% miss, dealing between 25% and 50% (so let's say 37.5% average). So the expected damage is 100%*36% + 37.5%*64% = 60%, meaning that you would expect to lose 40% of the damage to the target. However, this only applies to the direct target; other targets slightly off center will be missed more. For example, if a unit is at the corner of the missile box then it will be missed completely by a few missiles. Therefore, you would expect to lose more than 40% of the damage, maybe 50% or more. This calculation then explains the findings you are seeing, without having to invent a new splash algorithm. This calculation also explains why mutas take even less damage (smaller hit boxes leading to less splash dealt).

EDIT: According to (Wiki)List of Unit and Building Sizes , mutas have larger sizes than wraiths, but this table might not refer to hit boxes.


To be fair, if Valkyrie did 100% at all times they would be way way OP :D

Having a splash algo seems just fair, however it would be nice to know it just for fun

Maybe should test where it maxes out, how many targets it can hit until it stops diminishing dmg per target. This might be at 50%
-.-
Freakling
Profile Joined October 2012
Germany1529 Posts
Last Edited: 2021-01-01 21:48:48
January 01 2021 21:47 GMT
#11
You guys are massively overthinking this. Air unit repulsion is the simple answer to this problem: A perfect stack is just not possible, the more air units you stack, the more and faster they will drift apart, This (in conjunction with any other unit movement) means that the relative position of each stacked unit relative to the rocket explosions is slightly different and that the more target units there are, the more spread out they will be and the more the primary target will be relatively off-centre of the stack, meaning that statistically the they will be less likely to be hit by all the explosions.
If you want to estimate this effect in one single mathematical formula, you'll have to build a fairly sophisticated statistical model first, I am afraid.
StRyKeR
Profile Blog Joined January 2006
United States1739 Posts
January 03 2021 17:53 GMT
#12
I'm leaning towards Freakling's take as well. I think it isn't anything specific to the valkyrie (except the single target taking 100% damage, which is the only exception).
Ars longa, vita brevis, principia aeturna.
Freakling
Profile Joined October 2012
Germany1529 Posts
Last Edited: 2021-01-04 21:35:33
January 04 2021 21:31 GMT
#13
On January 04 2021 02:53 StRyKeR wrote:
I'm leaning towards Freakling's take as well. I think it isn't anything specific to the valkyrie (except the single target taking 100% damage, which is the only exception).

It is also worth noting this seemingly rather strange fact: Due to the exact spread pattern of the missiles, a Valkyrie's primary target is consistently the one target in a stack that receives the least damage.

In fact, I'd challenge the OP on the claim that a single targeted Wraith received 100% missile damage. This is not very reproduceable, at least not with a stationary Wraith. A moving Wraith with a lucky spread pattern might work, though, but that would be a statistical outlier.
StRyKeR
Profile Blog Joined January 2006
United States1739 Posts
Last Edited: 2021-01-05 20:34:58
January 04 2021 22:49 GMT
#14
On January 05 2021 06:31 Freakling wrote:
Show nested quote +
On January 04 2021 02:53 StRyKeR wrote:
I'm leaning towards Freakling's take as well. I think it isn't anything specific to the valkyrie (except the single target taking 100% damage, which is the only exception).

It is also worth noting this seemingly rather strange fact: Due to the exact spread pattern of the missiles, a Valkyrie's primary target is consistently the one target in a stack that receives the least damage.

In fact, I'd challenge the OP on the claim that a single targeted Wraith received 100% missile damage. This is not very reproduceable, at least not with a stationary Wraith. A moving Wraith with a lucky spread pattern might work, though, but that would be a statistical outlier.


OP is correct on this one. This is the first thing I recreated. For single targets, the damage is 100% every single time.
Ars longa, vita brevis, principia aeturna.
StRyKeR
Profile Blog Joined January 2006
United States1739 Posts
January 04 2021 22:59 GMT
#15
I just checked out the replay. WOW the 3 wraith version (second one) actually DOES go down to 66 hp after one volley! That's crazy. It's not clear if the general splash algo does this or something specific to the valkyrie. Anyone from BWAPI wanna chime in here? Sonko?
Ars longa, vita brevis, principia aeturna.
StRyKeR
Profile Blog Joined January 2006
United States1739 Posts
Last Edited: 2021-01-05 19:05:51
January 05 2021 18:37 GMT
#16
I have an explanation for the single target case.
Given what we know about the spaghetti code, my bet is that Blizzard wanted you to be able to attack allies / your own units. But the issue is that valks (like reavers) cannot splash damage your own units. So if only the default splash algorithm is used for the valk, attacking yourself would cause 0 damage since they're splash only, even the intended target. They didn't want that, so they made every missile hit with 100% damage to the target unit regardless of miss. But if they do this with multiple units, valks would nonsensically do 100% to every unit even if miss. So once there's more than one target in the splash zone, they apply regular damage. Sloppy code imo, but consistent with their other sloppy coding.

Doesn't explain the > 100% damage though.
Ars longa, vita brevis, principia aeturna.
StRyKeR
Profile Blog Joined January 2006
United States1739 Posts
Last Edited: 2021-01-05 19:30:41
January 05 2021 19:29 GMT
#17
Okay guys.

So I believe the behavior versus a single target is indeed SPECIFIC to air units in general. Here are the tests.

Unit - 100% damage rate to single target

Valkyrie - YES
Reaver - NO
Lurker - NO
Firebat - NO (tested vs vulture with speed)
Siege Tank - NO
Archon - NO (tested vs vulture with speed)
Corsair - YES (tested vs interceptors and always did full damage)
Infested Terran - NO (tested vs torrasque)
Ars longa, vita brevis, principia aeturna.
StRyKeR
Profile Blog Joined January 2006
United States1739 Posts
Last Edited: 2021-01-05 20:23:26
January 05 2021 20:04 GMT
#18
Got some more data.

In the longer replay MeSaber attached, I isolated the moment 02:17 when things go awry.

https://imgur.com/a/tpmDA2n

There are three wraiths stacked in this image.
This is after the first two missiles of the volley. It did 9 and then 9 damage to one of the wraiths, which should be impossible.

But interestingly enough, one of the other two wraiths took 0 damage and has 120/120 hp left.

So it would seem that the unlucky wraith took additional damage intended for the lucky one, and it has to do with the fact that they're exactly overlapped.

I can't imagine what kind of terrible code would result in this.
Ars longa, vita brevis, principia aeturna.
MeSaber
Profile Joined December 2009
Sweden1235 Posts
January 05 2021 21:03 GMT
#19
Stryker nice research man! Gotta hand it to ya! =)

I will give this "issue" another shot today by looking at where the missiles actually hit according to liquipedia.
-.-
MeSaber
Profile Joined December 2009
Sweden1235 Posts
Last Edited: 2021-01-05 21:54:12
January 05 2021 21:28 GMT
#20
I got a treat for you Stryker! https://ufile.io/hchdrvq4

[image loading]

If we go by this image as a reference, the top left should take one hit, bottom right 2 hits, center 5 hits at the most per each, this is however not the case as the replay shows.

The map has the test layouts copied so they should act quite the same per each 'site test' but it does not. Top left takes just as much damage as center and bottom right in most cases. Center rarely takes the most damage even though it should.

The damage imo seems to be equalized over how many targets are in the area.

https://ufile.io/n1r8b3mj

Replay of the next test of expanding the ring until only the center target takes damage.

A big conclusion from this test is that the AOE of valkyrie missiles are insanely large, and my guesses would be that wherever the missile lands it will split the damage to all units that are hit (liquipedia states 3x3 matrix). When its one unit (the target) it will always hit inside a 3x3 matrix of the unit, which means it can never miss a single volley versus its target.

This means also that it may be possible for missiles to land in the same spot many times, seems highly likely after looking at the damage from first replay. And thats why a unit who should be taking less damage (according to image above) gets more damage than the others.

Anything to add Stryker? :D
-.-
1 2 3 4 Next All
Please log in or register to reply.
Live Events Refresh
Next event in 1h 7m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Harstem 455
mouzHeroMarine 88
StarCraft: Brood War
Calm 8450
Rain 4048
Sea 1904
EffOrt 1142
Snow 992
firebathero 802
Shuttle 758
actioN 418
BeSt 368
Stork 360
[ Show more ]
ggaemo 177
Rush 172
Zeus 137
Hyuk 123
Sharp 116
hero 74
Mind 71
Mong 63
Sea.KH 56
JYJ54
zelot 41
Noble 35
yabsab 33
Aegong 24
Sacsri 18
Movie 17
soO 15
Terrorterran 15
Shine 14
sas.Sziky 14
Rock 12
sSak 9
SilentControl 8
Bale 7
Hm[arnc] 5
Dota 2
singsing4240
Dendi1615
Fuzer 309
LuMiX1
Counter-Strike
flusha114
edward110
markeloff86
Other Games
tarik_tv15340
gofns15168
B2W.Neo788
hiko624
crisheroes350
Lowko277
XaKoH 196
Happy152
OGKoka 128
Liquid`VortiX115
oskar83
QueenE80
Mew2King49
NeuroSwarm35
KnowMe22
Trikslyr19
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• Ler94
League of Legends
• Nemesis2571
• Jankos1152
Other Games
• Shiphtur248
Upcoming Events
Monday Night Weeklies
1h 7m
OSC
9h 7m
Sparkling Tuna Cup
19h 7m
Afreeca Starleague
19h 7m
Light vs Speed
Larva vs Soma
2v2
20h 7m
PiGosaur Monday
1d 9h
LiuLi Cup
1d 20h
RSL Revival
2 days
Maru vs Reynor
Cure vs TriGGeR
The PondCast
2 days
RSL Revival
3 days
Zoun vs Classic
[ Show More ]
Korean StarCraft League
4 days
RSL Revival
4 days
[BSL 2025] Weekly
5 days
BSL Team Wars
5 days
RSL Revival
5 days
Online Event
6 days
Wardi Open
6 days
Liquipedia Results

Completed

BSL 20 Team Wars
Chzzk MurlocKing SC1 vs SC2 Cup #2
HCC Europe

Ongoing

KCM Race Survival 2025 Season 3
BSL 21 Points
ASL Season 20
CSL 2025 AUTUMN (S18)
LASL Season 20
RSL Revival: Season 2
Maestros of the Game
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1

Upcoming

2025 Chongqing Offline CUP
BSL Polish World Championship 2025
IPSL Winter 2025-26
BSL Season 21
SC4ALL: Brood War
BSL 21 Team A
Stellar Fest
SC4ALL: StarCraft II
EC S1
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
MESA Nomadic Masters Fall
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 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.