• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 10:15
CET 16:15
KST 00:15
  • 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
Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10[ASL20] Finals Preview: Arrival13TL.net Map Contest #21: Voting10[ASL20] Ro4 Preview: Descent11Team TLMC #5: Winners Announced!3
Community News
[BSL21] RO32 Group Stage0Weekly Cups (Oct 26-Nov 2): Liquid, Clem, Solar win; LAN in Philly2Weekly Cups (Oct 20-26): MaxPax, Clem, Creator win62025 RSL Offline Finals Dates + Ticket Sales!10BSL21 Open Qualifiers Week & CONFIRM PARTICIPATION3
StarCraft 2
General
RotterdaM "Serral is the GOAT, and it's not close" Weekly Cups (Oct 26-Nov 2): Liquid, Clem, Solar win; LAN in Philly Intel X Team Liquid Seoul event: Showmatches and Meet the Pros Weekly Cups (Oct 20-26): MaxPax, Clem, Creator win Weekly Cups (Oct 13-19): Clem Goes for Four
Tourneys
Sparkling Tuna Cup - Weekly Open Tournament Monday Nights Weeklies SC4ALL $6,000 Open LAN in Philadelphia $3,500 WardiTV Korean Royale S4 Crank Gathers Season 2: SC II Pro Teams
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 498 Wheel of Misfortune|Cradle of Death Mutation # 497 Battle Haredened Mutation # 496 Endless Infection Mutation # 495 Rest In Peace
Brood War
General
SnOw on 'Experimental' Nonstandard Maps in ASL BW General Discussion [BSL21] RO32 Group Stage [ASL20] Ask the mapmakers — Drop your questions Ladder Map Matchup Stats
Tourneys
BSL21 Open Qualifiers Week & CONFIRM PARTICIPATION [ASL20] Grand Finals Small VOD Thread 2.0 The Casual Games of the Week Thread
Strategy
Current Meta How to stay on top of macro? PvZ map balance Soma's 9 hatch build from ASL Game 2
Other Games
General Games
Nintendo Switch Thread Dawn of War IV Stormgate/Frost Giant Megathread ZeroSpace Megathread General RTS Discussion Thread
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
TL Mafia Community Thread SPIRED by.ASL Mafia {211640}
Community
General
US Politics Mega-thread Dating: How's your luck? Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread Canadian Politics Mega-thread
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
[Manga] One Piece Anime Discussion Thread Movie Discussion! Korean Music Discussion Series you have seen recently...
Sports
MLB/Baseball 2023 TeamLiquid Health and Fitness Initiative For 2023 Formula 1 Discussion 2024 - 2026 Football Thread NBA General Discussion
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List Recent Gifted Posts
Blogs
AI is so fuckin funny
Peanutsc
Challenge: Maths isn't all…
Hildegard
Career Paths and Skills for …
TrAiDoS
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1652 users

The Cost of Repairs - Tank vs Planetary Fortress

Blogs > Rannasha
Post a Reply
Rannasha
Profile Blog Joined August 2010
Netherlands2398 Posts
Last Edited: 2012-03-30 13:58:57
March 30 2012 12:29 GMT
#1
The Cost of Repairs - Tank vs Planetary Fortress

In my obsessive hunt for obscure stats and numbers related to Starcraft 2, I decided to look at one of my more recent interests: Repairing stuff. I did some calculations on what it costs to repair something and what effect it has to lay siege to a PF that's being repaired, something that I've seen both in pro-games as well as my own attempts at playing.

I've posted this as a blog rather than on the strategy forum since it's a mostly theoretical analysis with limited in-game applicability. Nevertheless, it satisfies my own needs.

Repairs 101, powered by Liquipedia

First order of business is to check out how much repairs cost. Liquipedia has the answer. I didn't verify the results myself, so I'm putting my faith in the dedicated LP-editors. Treat it well, Liquipedians!

Repairing a mechanical unit or structure has a cost proportional to the health repaired. Repairing something from zero to hero costs 25% of the original cost to build. As an example: A half-health Helion is patched up to mint condition for the mere cost of 12.5 minerals. Orbital Commands and Planetary Fortresses use the combined cost (CC + upgrade) as their cost.

As an intermezzo, this price makes me wonder even more why so many Terran pros don't send a few SCVs with their mech army of doom. Not only does your push have more success if it stays up and running, it's also way cheaper to repair than to replace. A late-game mech Terran won't be mineral-starved, so you can afford to take a few SCVs away from mining duties.

Then there's the time factor. LP says that repairing a unit/building to full health takes the same amount of time as building it, if it starts at 1 health and is repaired by 1 SCV. Time requirements are proportional to health deficit (unit at half health rather than near-death: half the time needed) and inversely proportional to SCV count (twice as many SCVs repairing: half the time needed).

Sieging up the PF

Now we come to our test-case, sieging a Planetary Fortress. The scenario is not that uncommon, you have a composition with tanks and manage to get position on one of your opponents outlying bases. His army is out of position / contained / unable to engage for other reasons and you start shelling the PF. Your opponent wisely puts SCVs on repair duty.

Now a PF costs 550 minerals and 150 gas and takes 160 seconds to build (100 for the CC, 60 for the upgrade). A single sieged tank does 50 damage to a PF per shot, every 3 seconds. Because of armor, the actual damage dealt is 47 per shot or 15.667 damage per second. This is 1.044% of the maximum health of the thing, which means that repairing up a sieged PF costs you 1.44 minerals and 0.392 gas per second when a single tank is firing. This corresponds to the constant harvesting rate of roughly 2.5 SCVs (depending on things like saturation).

Now we compute the time required to repair. 1.044% of the PFs health is reduced per second by a single tank. The repair-rate for 1 SCV is 1/160 = 0.625%. So to keep up with the damage being dealt by the tanks, we need 1.67 SCVs repairing instead of mining

Concluding remarks

A single Siege Tank attacking a Planetary Fortress that is being repaired costs the player income corresponding to around 4.2 SCVs, some to compensate for the repair costs and some to compensate for lost mining time. The costs are directly proportional to the number of tanks: Twice the tanks, twice the costs.

Obviously, mech upgrades increase the repair costs. At +1 attack you're looking at roughly 4.6 SCVs, at +2 it's 5.1 and at +3 it's 5.5 SCVs per tank.

The real-world usefulness of this information is limited, but it does show that sieging up a Planetary Fortress for an extended period can be a non-trivial drain on resources to the point where it may be more beneficial to give up the location and start building a new CC back at home to be flown out once the area has been retaken.

****
Such flammable little insects!
Soleron
Profile Blog Joined September 2010
United Kingdom1324 Posts
March 30 2012 13:56 GMT
#2
Thanks for this! ~5 SCVs is a number that I can keep in mind while watching.
MaV_gGSC
Profile Blog Joined November 2010
Canada1345 Posts
March 30 2012 14:32 GMT
#3
why is this in blogs? It's actually pretty useful
Life's good :D
TheToast
Profile Blog Joined August 2010
United States4808 Posts
March 30 2012 14:34 GMT
#4
Wow, actually an insightful strat post, really gj!

So to keep up with the damage being dealt by the tanks, we need 1.67 SCVs repairing instead of mining


I think the opportunity cost should be calculated in here as well. That is, the amount of minerals per second that these two SCVs could be mining instead. Obviously that's something difficult to calculate, given that it depends on the worker saturation of the expansion, but I think you could make some assumptions here.

Splash damage plays a role here too, doesn't it? So after a few vollies you are actually going to start losing SCVs as well.


but it does show that sieging up a Planetary Fortress for an extended period can be a non-trivial drain on resources to the point where it may be more beneficial to give up the location and start building a new CC back at home


I think I disagree with your conclusion here.

I think there's actually two senarios which should be accounted for here. First, the case you presented in which your army is within striking distance of PF and your opponent is out of position. While you may be able to cause them to expend resources and take SCVs off mining by hitting their PF, if the opponent is out of position it's likely there are much more valuable and softer targets nearby, such as productions structures. Hitting ebays and production structures is going to do far more damage to your opponent. I would argue even hitting the SCVs at the expo is going to do more damage than sieging the PF. So realistically, the longer your opponent is sieging your PF, the better as their are essentially wasting time they should be using to hit higher value targets.

Further, even though you may be losing SCVs by defending the PF, Terran in the mid to late game are going to have abundant MULES, which means any economic damage may be somewhat mitigated as many harvetsters lost repairing the PF can be replaced with speed. Expos however, cannot be replaced easily. Further reasoning to defend the PF instead of giving it up.

There's another instance to consider here as well, dropping siege tanks on a nearby highground to hit the PF. Of course if you were to siege with 3-4 tanks the mineral requiremens should increase proportionally correct? So to repair a PF versus 3 sieged tanks would take the equivalent minerals and gas of 8 mining SCVs? That's a bit more substantial.

But I still think it's minimal, given that unless the sieging player has very good micro, they are probable going to lose those tanks after a while (3 tanks by themselves could easily be cleaned up by a single banshee etc.) Losing even just one of those three tanks would be 150 minerals 125 gas. Three times the cost rate of repairs would be 4.32 minerals and 1.176 gas per second. Not accounting for destroyed SCVs or lost mining time, that would mean your attack would need to last for at least 113 seconds to just break even with mineral costs.

Now consider the cost of a lost SCV, 50 minerals to replace + the opportunity cost of lost mining income while the replacment SCV is built. Easily 50+20 (rough estimate, obviously again this all depends on saturation). Kill one SCV and that could easily cost your opponent between 70-80 minerals. Clearly this is still the better target than the PF. So again, if your opponent is targeting the PF I would argue it's better to keep it alive for longer less they shift their attention to higher value targets.

So realistically, unless your opponent has only one mining expo or you are trying to reduce their map control, killing PFs over other targets really makes no sense IMO.
I like the way the walls go out. Gives you an open feeling. Firefly's a good design. People don't appreciate the substance of things. Objects in space. People miss out on what's solid.
Rannasha
Profile Blog Joined August 2010
Netherlands2398 Posts
March 30 2012 14:59 GMT
#5
On March 30 2012 23:34 TheToast wrote:
Wow, actually an insightful strat post, really gj!

Show nested quote +
So to keep up with the damage being dealt by the tanks, we need 1.67 SCVs repairing instead of mining


I think the opportunity cost should be calculated in here as well. That is, the amount of minerals per second that these two SCVs could be mining instead. Obviously that's something difficult to calculate, given that it depends on the worker saturation of the expansion, but I think you could make some assumptions here.


I've calculated the cost of repairing in terms of "keeping X SCVs occupied". This cost comes from 2 components, the resource cost of repairing and the time cost. The translation from resource cost into number of SCVs depends on saturation, the time cost, when expressed in SCVs is precise.

I could do it the other way around, express the total cost in terms of resources lost. This would make the contribution from the resource-component fully accurate but would introduce uncertainty in the cost of the time-component.


Splash damage plays a role here too, doesn't it? So after a few vollies you are actually going to start losing SCVs as well.


I'm not sure actually. A PF is rather big. Certainly, if you have SCVs on the opposite side of the PF compared to the tank, you won't get them splashed. I don't know if the point-of-impact of the tank shell is the center of the PF or the point on the building closest to the tank. This matters for splash when you do a full surround. Of course, an attentive player will focus-fire SCV clumps with his tanks when possible.


Show nested quote +

but it does show that sieging up a Planetary Fortress for an extended period can be a non-trivial drain on resources to the point where it may be more beneficial to give up the location and start building a new CC back at home


I think I disagree with your conclusion here.

I think there's actually two senarios which should be accounted for here. First, the case you presented in which your army is within striking distance of PF and your opponent is out of position. While you may be able to cause them to expend resources and take SCVs off mining by hitting their PF, if the opponent is out of position it's likely there are much more valuable and softer targets nearby, such as productions structures. Hitting ebays and production structures is going to do far more damage to your opponent. I would argue even hitting the SCVs at the expo is going to do more damage than sieging the PF. So realistically, the longer your opponent is sieging your PF, the better as their are essentially wasting time they should be using to hit higher value targets.


Depends on the map and situation. Just to make an example, Korhal Compound. The opponent has his main army at his natural choke or at the Xel'naga and you circle around and siege up his fourth. In this case there are no softer targets available (as these are in the main / natural) and you may be able to get into position in such a way that you cut off access to the fourth for your opponent.

Further, even though you may be losing SCVs by defending the PF, Terran in the mid to late game are going to have abundant MULES, which means any economic damage may be somewhat mitigated as many harvetsters lost repairing the PF can be replaced with speed. Expos however, cannot be replaced easily. Further reasoning to defend the PF instead of giving it up.


So that depends on the situation. If you know that it may take some time before you can break his siege on your PF, it may be more efficient to start building a new CC in your base and fly it over once you've broken the siege rather than continuing to repair your PF.

There's another instance to consider here as well, dropping siege tanks on a nearby highground to hit the PF. Of course if you were to siege with 3-4 tanks the mineral requiremens should increase proportionally correct? So to repair a PF versus 3 sieged tanks would take the equivalent minerals and gas of 8 mining SCVs? That's a bit more substantial.


The resource cost is around 2.5 SCVs of mining per Siege Tank at +0 attack upgrade, not counting the fact that you lose resources by pulling SCVs from the mineral line to repair. The total cost would rise to around 4.2 SCVs per tank. So for 3 tanks you'll suffer a cost of 7.5 SCVs worth of harvesting and around 5 SCVs need to continuously repair.

But I still think it's minimal, given that unless the sieging player has very good micro, they are probable going to lose those tanks after a while (3 tanks by themselves could easily be cleaned up by a single banshee etc.) Losing even just one of those three tanks would be 150 minerals 125 gas. Three times the cost rate of repairs would be 4.32 minerals and 1.176 gas per second. Not accounting for destroyed SCVs or lost mining time, that would mean your attack would need to last for at least 113 seconds to just break even with mineral costs.

Now consider the cost of a lost SCV, 50 minerals to replace + the opportunity cost of lost mining income while the replacment SCV is built. Easily 50+20 (rough estimate, obviously again this all depends on saturation). Kill one SCV and that could easily cost your opponent between 70-80 minerals. Clearly this is still the better target than the PF. So again, if your opponent is targeting the PF I would argue it's better to keep it alive for longer less they shift their attention to higher value targets.

So realistically, unless your opponent has only one mining expo or you are trying to reduce their map control, killing PFs over other targets really makes no sense IMO.


Yeah, you're right. There's a reason why I posted this in Blogs rather than in Strategy, because the practical value of the results is very limited. Usually you don't want to sit stationary outside a PF just shelling it. However, it does happen sometimes and it is a very easy way to constantly damage your opponent as you require 0 APM once the siege is setup, allowing you to micro on other fronts.

The main reason why I posted this was because I saw a PF being shelled and repaired and started wondering how much of a resource-drain it actually was.
Such flammable little insects!
Vindicare605
Profile Blog Joined August 2011
United States16095 Posts
March 30 2012 15:37 GMT
#6
Just answering your question of why more Terrans don't send SCVs with their mech army.

Simple answer really. Splash damage, both friendly and not friendly.

SCVs are notorious for finding their way in front of your mech units because they simply move faster than tanks or thors.

No matter what race you're against, if you're using mech there's going to be splash damage.

SCVs are not half as meaty as your mech army is, and they die VERY fast to splash making their usefuleness as in combat repair squads very limited. There are exceptions to this obviously and most of those revolve around heavy Thor compositions.

Also, repairing mechanical units that originally cost gas to build also cost gas to repair so it isn't as cheap as you're making it sound.
aka: KTVindicare the Geeky Bartender
OmniEulogy
Profile Blog Joined July 2010
Canada6593 Posts
March 30 2012 16:11 GMT
#7
This is actually really cool information. Well done figuring everything out ^^
LiquidDota Staff
Soleron
Profile Blog Joined September 2010
United Kingdom1324 Posts
March 30 2012 16:44 GMT
#8
On March 31 2012 00:37 Vindicare605 wrote:
Just answering your question of why more Terrans don't send SCVs with their mech army.

Simple answer really. Splash damage, both friendly and not friendly.

SCVs are notorious for finding their way in front of your mech units because they simply move faster than tanks or thors.

No matter what race you're against, if you're using mech there's going to be splash damage.

SCVs are not half as meaty as your mech army is, and they die VERY fast to splash making their usefuleness as in combat repair squads very limited. There are exceptions to this obviously and most of those revolve around heavy Thor compositions.

Also, repairing mechanical units that originally cost gas to build also cost gas to repair so it isn't as cheap as you're making it sound.


But that is what APM should be spent on then! The rest of SC2 is mechanically easier so that you can micro, for example where SCVs are standing at all times. A higher skill player should be able to keep their SCVs in the right spot to repair giving him an advantage.
Rannasha
Profile Blog Joined August 2010
Netherlands2398 Posts
March 30 2012 16:47 GMT
#9
On March 31 2012 00:37 Vindicare605 wrote:
Just answering your question of why more Terrans don't send SCVs with their mech army.

Simple answer really. Splash damage, both friendly and not friendly.

SCVs are notorious for finding their way in front of your mech units because they simply move faster than tanks or thors.

No matter what race you're against, if you're using mech there's going to be splash damage.

SCVs are not half as meaty as your mech army is, and they die VERY fast to splash making their usefuleness as in combat repair squads very limited. There are exceptions to this obviously and most of those revolve around heavy Thor compositions.

Also, repairing mechanical units that originally cost gas to build also cost gas to repair so it isn't as cheap as you're making it sound.


I agree to some extent when you're using a sortof mobile mech army (Thor/Helion), but if you're slow-pushing tanks, I like to keep 3-4 SCVs on a separate hotkey in the back to repair up anything that takes damage. It takes a bit of babysitting to keep them alive, especially at my level (diamond), I more often than not forget about them at some point. But I'd think the pros should have the spare APM.

As for repairing and gas-cost. True, it costs gas, but it's still less than what it would cost to rebuild the unit (25% of the build cost for a full repair). So not only is it cheaper than rebuilding, it's also much more beneficial to have that Thor or Tank up there with your push at full HP because of repair than it is to have it rolling out of the factory back home.
Such flammable little insects!
docvoc
Profile Blog Joined July 2011
United States5491 Posts
April 01 2012 18:05 GMT
#10
I am toss, and what is this .
Seriously though, this is something i will be looking out for in the future when i watch pro terrans. I really don't know why more pros use this advantage given to terran to combat the issue of replacing a mech army.
User was warned for too many mimes.
Please log in or register to reply.
Live Events Refresh
Next event in 2h 45m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Codebar 51
BRAT_OK 44
SpeCial 19
StarCraft: Brood War
Hyuk 1491
Shuttle 711
firebathero 373
Killer 272
ToSsGirL 166
Mong 88
Sea.KH 78
Aegong 63
Terrorterran 19
eros_byul 2
Dota 2
qojqva3376
Dendi652
BananaSlamJamma271
syndereN194
XcaliburYe166
Counter-Strike
edward194
oskar113
Other Games
singsing2306
B2W.Neo1984
hiko580
DeMusliM463
crisheroes431
Lowko395
Hui .284
Fuzer 225
Sick208
mouzHeroMarine94
ArmadaUGS78
QueenE45
Organizations
StarCraft 2
WardiTV797
Counter-Strike
PGL383
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• StrangeGG 82
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Jankos2417
• TFBlade401
Other Games
• WagamamaTV252
Upcoming Events
LAN Event
2h 45m
PiGosaur Monday
9h 45m
Replay Cast
17h 45m
WardiTV Korean Royale
20h 45m
LAN Event
23h 45m
OSC
1d 7h
The PondCast
1d 18h
LAN Event
1d 23h
Replay Cast
2 days
LAN Event
2 days
[ Show More ]
Korean StarCraft League
3 days
CranKy Ducklings
3 days
WardiTV Korean Royale
3 days
LAN Event
3 days
IPSL
4 days
dxtr13 vs OldBoy
Napoleon vs Doodle
Replay Cast
4 days
Sparkling Tuna Cup
4 days
WardiTV Korean Royale
4 days
LAN Event
4 days
IPSL
5 days
JDConan vs WIZARD
WolFix vs Cross
Replay Cast
5 days
Wardi Open
5 days
WardiTV Korean Royale
6 days
Liquipedia Results

Completed

BSL 21 Points
SC4ALL: StarCraft II
Eternal Conflict S1

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
SOOP Univ League 2025
YSL S2
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025

Upcoming

BSL Season 21
SLON Tour Season 2
BSL 21 Non-Korean Championship
Acropolis #4
HSC XXVIII
RSL Offline Finals
WardiTV 2025
RSL Revival: Season 3
Stellar Fest
META Madness #9
LHT Stage 1
BLAST Bounty Winter 2026: Closed Qualifier
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals 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.