• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 15:41
CEST 21:41
KST 04:41
  • 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
BGE Stara Zagora 2025: Info & Preview25Code S RO12 Preview: GuMiho, Bunny, SHIN, ByuN3The Memories We Share - Facing the Final(?) GSL46Code S RO12 Preview: Cure, Zoun, Solar, Creator4[ASL19] Finals Preview: Daunting Task30
Community News
[BSL20] ProLeague: Bracket Stage & Dates7GSL Ro4 and Finals moved to Sunday June 15th12Weekly Cups (May 27-June 1): ByuN goes back-to-back0EWC 2025 Regional Qualifier Results26Code S RO12 Results + RO8 Groups (2025 Season 2)3
StarCraft 2
General
Magnus Carlsen and Fabi review Clem's chess game. The SCII GOAT: A statistical Evaluation BGE Stara Zagora 2025: Info & Preview Jim claims he and Firefly were involved in match-fixing GSL Ro4 and Finals moved to Sunday June 15th
Tourneys
Bellum Gens Elite: Stara Zagora 2025 $5,100+ SEL Season 2 Championship (SC: Evo) SOOPer7s Showmatches 2025 Cheeseadelphia 2025 - Open Bracket LAN! $25,000+ WardiTV 2025 Series
Strategy
[G] Darkgrid Layout Simple Questions Simple Answers [G] PvT Cheese: 13 Gate Proxy Robo
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 476 Charnel House Mutation # 475 Hard Target Mutation # 474 Futile Resistance Mutation # 473 Cold is the Void
Brood War
General
I made an ASL quiz BGH auto balance -> http://bghmmr.eu/ [BSL20] ProLeague: Bracket Stage & Dates BW General Discussion Will foreigners ever be able to challenge Koreans?
Tourneys
[Megathread] Daily Proleagues [BSL20] ProLeague Bracket Stage - Day 2 [BSL20] ProLeague Bracket Stage - Day 1 [BSL 2v2] ProLeague Season 3 - Friday 21:00 CET
Strategy
I am doing this better than progamers do. [G] How to get started on ladder as a new Z player
Other Games
General Games
Path of Exile Nintendo Switch Thread Stormgate/Frost Giant Megathread Mechabellum Monster Hunter Wilds
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
LiquidLegends to reintegrate into TL.net
Heroes of the Storm
Heroes of the Storm 2.0 Simple Questions, Simple Answers
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread Vape Nation Thread European Politico-economics QA Mega-thread
Fan Clubs
Maru Fan Club Serral Fan Club
Media & Entertainment
Korean Music Discussion [Manga] One Piece
Sports
2024 - 2025 Football Thread Formula 1 Discussion NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread Cleaning My Mechanical Keyboard
TL Community
The Automated Ban List
Blogs
Cognitive styles x game perf…
TrAiDoS
StarCraft improvement
iopq
Heero Yuy & the Tax…
KrillinFromwales
I was completely wrong ab…
jameswatts
Need Your Help/Advice
Glider
Trip to the Zoo
micronesia
Poker
Nebuchad
Customize Sidebar...

Website Feedback

Closed Threads



Active: 19990 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 States16056 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
Canada6592 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
BSL 2v2 ProLeague
19:00
Day 4
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
mouzHeroMarine 627
BRAT_OK 132
JuggernautJason58
MindelVK 32
ForJumy 19
StarCraft: Brood War
Britney 24206
TY 146
ZZZero.O 146
firebathero 131
Dewaltoss 118
Snow 62
JYJ30
Dota 2
Pyrionflax124
Counter-Strike
fl0m6898
Stewie2K631
Super Smash Bros
C9.Mang0988
Mew2King72
Heroes of the Storm
Grubby2580
Other Games
FrodaN1069
Beastyqt770
B2W.Neo641
Trikslyr77
KnowMe73
ZombieGrub65
mouzStarbuck21
Organizations
Dota 2
PGL Dota 2 - Secondary Stream1433
Other Games
BasetradeTV73
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 20 non-featured ]
StarCraft 2
• kabyraGe 252
• StrangeGG 49
• davetesta27
• Hupsaiya 15
• LaughNgamezSOOP
• AfreecaTV YouTube
• sooper7s
• intothetv
• Kozan
• Migwel
• IndyKCrew
StarCraft: Brood War
• FirePhoenix6
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• masondota21119
• Ler152
League of Legends
• TFBlade1813
• Shiphtur780
Other Games
• imaqtpie1079
Upcoming Events
Replay Cast
4h 20m
CranKy Ducklings
14h 20m
Bellum Gens Elite
14h 20m
SC Evo League
16h 20m
Fire Grow Cup
19h 20m
CSO Contender
21h 20m
BSL: ProLeague
22h 20m
StRyKeR vs MadiNho
Cross vs UltrA
TT1 vs JDConan
Bonyth vs Sziky
ZZZero.O146
Replay Cast
1d 4h
SOOP Global
1d 7h
Creator vs Rogue
Cure vs Classic
SOOP
1d 13h
Classic vs GuMiho
[ Show More ]
Sparkling Tuna Cup
1d 14h
AllThingsProtoss
1d 15h
Fire Grow Cup
1d 19h
BSL: ProLeague
1d 22h
HBO vs Doodle
spx vs Tech
DragOn vs Hawk
Dewalt vs TerrOr
Replay Cast
2 days
Replay Cast
3 days
Replay Cast
3 days
WardiTV Invitational
3 days
WardiTV Invitational
3 days
GSL Code S
4 days
Rogue vs GuMiho
Maru vs Solar
Replay Cast
5 days
GSL Code S
5 days
herO vs TBD
Classic vs TBD
The PondCast
5 days
Replay Cast
6 days
GSL Code S
6 days
WardiTV Invitational
6 days
Liquipedia Results

Completed

CSL Season 17: Qualifier 1
DreamHack Dallas 2025
Heroes 10 EU

Ongoing

JPL Season 2
BSL 2v2 Season 3
BSL Season 20
KCM Race Survival 2025 Season 2
NPSL S3
Rose Open S1
CSL Season 17: Qualifier 2
2025 GSL S2
BGE Stara Zagora 2025
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
ECL Season 49: Europe
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025
YaLLa Compass Qatar 2025
PGL Bucharest 2025
BLAST Open Spring 2025

Upcoming

CSL 17: 2025 SUMMER
Copa Latinoamericana 4
CSLPRO Last Chance 2025
CSLPRO Chat StarLAN 3
K-Championship
SEL Season 2 Championship
Esports World Cup 2025
HSC XXVII
Championship of Russia 2025
Murky Cup #2
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
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.