• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 03:50
CEST 09:50
KST 16:50
  • 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 1 - Final Week6[ASL19] Finals Recap: Standing Tall12HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0
Community News
Esports World Cup 2025 - Brackets Revealed12Weekly Cups (July 7-13): Classic continues to roll4Team TLMC #5 - Submission extension3Firefly given lifetime ban by ESIC following match-fixing investigation17$25,000 Streamerzone StarCraft Pro Series announced7
StarCraft 2
General
RSL Revival patreon money discussion thread Esports World Cup 2025 - Brackets Revealed Who will win EWC 2025? The GOAT ranking of GOAT rankings Weekly Cups (July 7-13): Classic continues to roll
Tourneys
FEL Cracov 2025 (July 27) - $8000 live event RSL: Revival, a new crowdfunded tournament series $5,100+ SEL Season 2 Championship (SC: Evo) WardiTV Mondays Sparkling Tuna Cup - Weekly Open Tournament
Strategy
How did i lose this ZvP, whats the proper response Simple Questions Simple Answers
Custom Maps
External Content
Mutation # 482 Wheel of Misfortune Mutation # 481 Fear and Lava Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome
Brood War
General
BW General Discussion Flash Announces (and Retracts) Hiatus From ASL BGH Auto Balance -> http://bghmmr.eu/ Starcraft in widescreen A cwal.gg Extension - Easily keep track of anyone
Tourneys
[Megathread] Daily Proleagues Cosmonarchy Pro Showmatches CSL Xiamen International Invitational [BSL20] Non-Korean Championship 4x BSL + 4x China
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread Path of Exile CCLP - Command & Conquer League Project The PlayStation 5
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
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Stop Killing Games - European Citizens Initiative Summer Games Done Quick 2025! Things Aren’t Peaceful in Palestine
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
[Manga] One Piece Movie Discussion! Anime Discussion Thread [\m/] Heavy Metal Thread
Sports
Formula 1 Discussion TeamLiquid Health and Fitness Initiative For 2023 2024 - 2025 Football Thread NBA General Discussion NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
Men Take Risks, Women Win Ga…
TrAiDoS
momentary artworks from des…
tankgirl
from making sc maps to makin…
Husyelt
StarCraft improvement
iopq
Trip to the Zoo
micronesia
Customize Sidebar...

Website Feedback

Closed Threads



Active: 681 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
Germany1764 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
Argentina3022 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 8h 10m
[ Submit Event ]
Live Streams
Refresh
StarCraft: Brood War
Britney 43936
GuemChi 521
PianO 225
Larva 187
zelot 124
Sharp 63
NaDa 42
Sacsri 36
JulyZerg 22
Shine 12
[ Show more ]
Bale 8
Hm[arnc] 8
Dota 2
XcaliburYe360
ODPixel347
NeuroSwarm98
Counter-Strike
Stewie2K1359
shoxiejesuss422
Super Smash Bros
Mew2King170
Other Games
summit1g10713
SortOf97
Trikslyr26
Organizations
Other Games
gamesdonequick3027
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• Berry_CruncH410
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• iopq 3
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• lizZardDota2177
League of Legends
• Stunt462
Upcoming Events
uThermal 2v2 Circuit
8h 10m
Replay Cast
16h 10m
The PondCast
1d 2h
OSC
1d 5h
WardiTV European League
1d 8h
Replay Cast
1d 16h
Epic.LAN
2 days
CranKy Ducklings
3 days
Epic.LAN
3 days
CSO Contender
3 days
[ Show More ]
BSL20 Non-Korean Champi…
3 days
Bonyth vs Sziky
Dewalt vs Hawk
Hawk vs QiaoGege
Sziky vs Dewalt
Mihu vs Bonyth
Zhanhun vs QiaoGege
QiaoGege vs Fengzi
Sparkling Tuna Cup
4 days
Online Event
4 days
BSL20 Non-Korean Champi…
4 days
Bonyth vs Zhanhun
Dewalt vs Mihu
Hawk vs Sziky
Sziky vs QiaoGege
Mihu vs Hawk
Zhanhun vs Dewalt
Fengzi vs Bonyth
Esports World Cup
6 days
ByuN vs Astrea
Lambo vs HeRoMaRinE
Clem vs TBD
Solar vs Zoun
SHIN vs Reynor
Maru vs TriGGeR
herO vs Lancer
Cure vs ShoWTimE
Liquipedia Results

Completed

CSL 17: 2025 SUMMER
RSL Revival: Season 1
Murky Cup #2

Ongoing

JPL Season 2
BSL 2v2 Season 3
Copa Latinoamericana 4
Jiahua Invitational
BSL20 Non-Korean Championship
Championship of Russia 2025
FISSURE Playground #1
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
BLAST Rivals Spring 2025
MESA Nomadic Masters

Upcoming

CSL Xiamen Invitational
CSL Xiamen Invitational: ShowMatche
2025 ACS Season 2
CSLPRO Last Chance 2025
CSLPRO Chat StarLAN 3
BSL Season 21
K-Championship
RSL Revival: Season 2
SEL Season 2 Championship
uThermal 2v2 Main Event
FEL Cracov 2025
Esports World Cup 2025
Underdog Cup #2
ESL Pro League S22
StarSeries Fall 2025
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
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.