• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 17:39
CET 23:39
KST 07:39
  • 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 Revival - 2025 Season Finals Preview8RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12
Community News
ComeBackTV's documentary on Byun's Career !6Weekly Cups (Dec 8-14): MaxPax, Clem, Cure win4Weekly Cups (Dec 1-7): Clem doubles, Solar gets over the hump1Weekly Cups (Nov 24-30): MaxPax, Clem, herO win2BGE Stara Zagora 2026 announced15
StarCraft 2
General
ComeBackTV's documentary on Byun's Career ! When will we find out if there are more tournament Weekly Cups (Dec 8-14): MaxPax, Clem, Cure win Did they add GM to 2v2? RSL Revival - 2025 Season Finals Preview
Tourneys
RSL Offline Finals Info - Dec 13 and 14! Master Swan Open (Global Bronze-Master 2) Winter Warp Gate Amateur Showdown #1: Sparkling Tuna Cup - Weekly Open Tournament $5,000+ WardiTV 2025 Championship
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 504 Retribution Mutation # 503 Fowl Play Mutation # 502 Negative Reinforcement Mutation # 501 Price of Progress
Brood War
General
FlaSh on: Biggest Problem With SnOw's Playstyle How Rain Became ProGamer in Just 3 Months BGH Auto Balance -> http://bghmmr.eu/ [BSL21] RO8 Bracket & Prediction Contest BW General Discussion
Tourneys
[Megathread] Daily Proleagues [BSL21] WB SEMIFINALS - Saturday 21:00 CET [BSL21] RO8 - Day 2 - Sunday 21:00 CET [ASL20] Grand Finals
Strategy
Game Theory for Starcraft Current Meta Simple Questions, Simple Answers Fighting Spirit mining rates
Other Games
General Games
Path of Exile Stormgate/Frost Giant Megathread Nintendo Switch Thread General RTS Discussion Thread Dawn of War IV
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 Survivor II: The Amazon Sengoku Mafia TL Mafia Community Thread
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine The Games Industry And ATVI Russo-Ukrainian War Thread YouTube Thread
Fan Clubs
White-Ra Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece Movie Discussion!
Sports
2024 - 2026 Football Thread Formula 1 Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
TL+ Announced Where to ask questions and add stream?
Blogs
The (Hidden) Drug Problem in…
TrAiDoS
I decided to write a webnov…
DjKniteX
James Bond movies ranking - pa…
Topin
Thanks for the RSL
Hildegard
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2076 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 States16109 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 12h 21m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
mouzHeroMarine 602
PiGStarcraft113
JuggernautJason97
CosmosSc2 29
StarCraft: Brood War
Calm 1819
EffOrt 174
actioN 100
Mini 56
Hyun 44
ggaemo 25
NaDa 8
Mong 4
Dota 2
syndereN234
League of Legends
JimRising 317
Counter-Strike
Foxcn161
adren_tv69
minikerr19
Heroes of the Storm
Liquid`Hasu509
Other Games
FrodaN1493
RotterdaM361
C9.Mang0138
Trikslyr51
Mew2King42
nookyyy 40
ViBE34
Liquid`Ken3
Organizations
Other Games
BasetradeTV53
StarCraft 2
angryscii 26
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 21 non-featured ]
StarCraft 2
• Hupsaiya 62
• musti20045 24
• sitaska20
• RyuSc2 4
• IndyKCrew
• sooper7s
• AfreecaTV YouTube
• intothetv
• Kozan
• LaughNgamezSOOP
• Migwel
StarCraft: Brood War
• Michael_bg 32
• Pr0nogo 1
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• masondota22094
League of Legends
• Doublelift1358
Other Games
• imaqtpie1629
• Scarra686
• Shiphtur196
Upcoming Events
WardiTV 2025
12h 21m
ByuN vs Creator
Clem vs Rogue
Scarlett vs Spirit
ShoWTimE vs Cure
OSC
15h 21m
Big Brain Bouts
18h 21m
YoungYakov vs Jumy
TriGGeR vs Spirit
CranKy Ducklings
1d 11h
WardiTV 2025
1d 12h
Reynor vs MaxPax
SHIN vs TBD
Solar vs herO
Classic vs TBD
SC Evo League
1d 13h
Ladder Legends
1d 20h
BSL 21
1d 21h
Sziky vs Dewalt
eOnzErG vs Cross
Sparkling Tuna Cup
2 days
Ladder Legends
2 days
[ Show More ]
BSL 21
2 days
StRyKeR vs TBD
Bonyth vs TBD
Replay Cast
3 days
Wardi Open
3 days
Monday Night Weeklies
3 days
WardiTV Invitational
5 days
Replay Cast
6 days
WardiTV Invitational
6 days
ByuN vs Solar
Clem vs Classic
Cure vs herO
Reynor vs MaxPax
Liquipedia Results

Completed

Acropolis #4 - TS3
RSL Offline Finals
Kuram Kup

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
YSL S2
BSL Season 21
Slon Tour Season 2
CSL Season 19: Qualifier 1
WardiTV 2025
META Madness #9
eXTREMESLAND 2025
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

Upcoming

CSL Season 19: Qualifier 2
CSL 2025 WINTER (S19)
BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
Big Gabe Cup #3
OSC Championship Season 13
ESL Pro League Season 23
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
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.