• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 02:31
CEST 08:31
KST 15:31
  • 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
TL.net Map Contest #21: Voting10[ASL20] Ro4 Preview: Descent11Team TLMC #5: Winners Announced!3[ASL20] Ro8 Preview Pt2: Holding On9Maestros of the Game: Live Finals Preview (RO4)5
Community News
Chinese SC2 server to reopen; live all-star event in Hangzhou3Weekly Cups (Oct 13-19): Clem Goes for Four0BSL Team A vs Koreans - Sat-Sun 16:00 CET6Weekly Cups (Oct 6-12): Four star herO85.0.15 Patch Balance Hotfix (2025-10-8)80
StarCraft 2
General
Chinese SC2 server to reopen; live all-star event in Hangzhou The New Patch Killed Mech! Team Liquid Map Contest #21 - Presented by Monster Energy herO joins T1 Weekly Cups (Oct 13-19): Clem Goes for Four
Tourneys
SC2's Safe House 2 - October 18 & 19 INu's Battles #13 - ByuN vs Zoun Tenacious Turtle Tussle Sparkling Tuna Cup - Weekly Open Tournament $1,200 WardiTV October (Oct 21st-31st)
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 496 Endless Infection Mutation # 495 Rest In Peace Mutation # 494 Unstable Environment Mutation # 493 Quick Killers
Brood War
General
OGN to release AI-upscaled StarLeague from Feb 24 Is there anyway to get a private coach? BW caster Sayle BSL Season 21 BW General Discussion
Tourneys
[ASL20] Semifinal B [Megathread] Daily Proleagues SC4ALL $1,500 Open Bracket LAN Azhi's Colosseum - Anonymous Tournament
Strategy
[I] TvP Strategies and Build [I] TvZ Strategies and Builds Roaring Currents ASL final Current Meta
Other Games
General Games
Stormgate/Frost Giant Megathread Path of Exile Nintendo Switch Thread Dawn of War IV ZeroSpace Megathread
Dota 2
Official 'what is Dota anymore' discussion LiquidDota to reintegrate into TL.net
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread SPIRED by.ASL Mafia {211640}
Community
General
The Chess Thread US Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread Men's Fashion Thread
Fan Clubs
The herO Fan Club!
Media & Entertainment
Series you have seen recently... Anime Discussion Thread [Manga] One Piece Movie Discussion!
Sports
2024 - 2026 Football Thread Formula 1 Discussion MLB/Baseball 2023 NBA General Discussion TeamLiquid Health and Fitness Initiative For 2023
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
The Heroism of Pepe the Fro…
Peanutsc
Rocket League: Traits, Abili…
TrAiDoS
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1186 users

[Q] Cost to repair?

Forum Index > Brood War Strategy
Post a Reply
1 2 3 4 5 Next All
seppolevne
Profile Blog Joined February 2009
Canada1681 Posts
Last Edited: 2009-04-25 18:19:52
April 23 2009 23:07 GMT
#1
I was just wondering if the cost to repair a damaged building/unit follows a specific formula. Obviously more expensive things will cost more to repair, but would something that costs 200min/100gas cost say 100min/50gas to repair from 1 hp?

Update: Unit repair info:
+ Show Spoiler +

Siege tank: 1-150hp
Minerals/Gas: 33/33
%of new: 22/33

SCV: 1-60hp
Minerals: 17
%of new: 34

Goliath: 1-125
Minerals/Gas: 34/17
%of new: 34/34

Vulture: 1-80hp
Minerals: 25
%of new: 33

Valkyrie: 1-200hp
Minerals/Gas: 84/42
%of new: 34/34

Wraith: 1-120hp
Minerals/Gas: 33/33
%of new: 22/33

Science Vessel: 1-200hp
Minerals/Gas: 33/66
%of new: 33/29

Dropship: 1-150hp
Minerals/Gas: 33/33
%of new: 33/33

Battlecruiser: 1-500hp
Minerals/Gas: 96/96
%of new: 24/32


Update: Building repair info:
+ Show Spoiler +

CC: 1-1500hp
Minerals: 128
%of new: 31,25

Supply Depot: 1-500hp
Minerals: 28
%of new: 35,7

Bunker: 1-350hp
Minerals: 24
%of new: 41,6

Turret: 1-200hp
Minerals: 26
%of new: 28,8

Barracks: 1-1000hp
Minerals: 50
%of new: 30

Refinery: 1-750hp
Minerals: 32
%of new: 31,25

Engineering Bay: 1-850hp
Minerals: 42
%of new: 29,76

academy: 1-600hp
Minerals: 50
%of new: 30

Factory: 1-1250hp
Minerals/Gas: 68/34
%of new: 29,41/29,41

Armory: 1-750hp
Minerals/Gas: 36/18
%of new: 27,7/27,7

Starport:1-1300hp
Minerals/Gas: 34/34
%of new: 44,1/29,4

Science Facility: 1-850hp
Minerals/Gas: 34/34
%of new: 29,4/44,1

Thanks to Jiiks for the repair info
Thanks to everyone for their theorycrafting/two cents
J- Pirate Udyr WW T- Pirate Riven Galio M- Galio Annie S- Sona Lux -- Always farm, never carry.
arb
Profile Blog Joined April 2008
Noobville17921 Posts
April 23 2009 23:10 GMT
#2
i think its 1 min /1 gas for 2hp..though im not sure
Artillery spawned from the forges of Hell
MuR)Ernu
Profile Joined September 2008
Finland768 Posts
April 23 2009 23:11 GMT
#3
i think its only like something like 2 minerals per HP or something. Havent tested it but it isn't anything big i assume
Azrael1111
Profile Joined July 2008
United States550 Posts
April 23 2009 23:12 GMT
#4
I know it takes no gas, and its probably like 5 hp per mineral
peidongyang
Profile Joined January 2009
Canada2084 Posts
April 23 2009 23:15 GMT
#5
Sry, tried googling noone knows the exact cost lol

people just keep saying, the more it cost, the more to repair, basically useless stuff like that.
the throws never bothered me anyway
KwarK
Profile Blog Joined July 2006
United States43168 Posts
April 23 2009 23:19 GMT
#6
I often wonder this too when I'm just setting fire to stuff aimlessly early game in PvT. I think it'd be really interesting if a unit cost significantly more to repair from 1 hp than to replace because it'd mean that repair should only be used when unit production is limited and a boost in unit count is essential, such as a timing push or a desperate defence. Whether to repair or not would become a great benefit/cost question which players would have to deal with in split second decisions.
I expect it's cheaper to repair though.
ModeratorThe angels have the phone box
seppolevne
Profile Blog Joined February 2009
Canada1681 Posts
April 23 2009 23:27 GMT
#7
On April 24 2009 08:19 Kwark wrote:
I often wonder this too when I'm just setting fire to stuff aimlessly early game in PvT. I think it'd be really interesting if a unit cost significantly more to repair from 1 hp than to replace because it'd mean that repair should only be used when unit production is limited and a boost in unit count is essential, such as a timing push or a desperate defence. Whether to repair or not would become a great benefit/cost question which players would have to deal with in split second decisions.
I expect it's cheaper to repair though.


Or choosing which base to attack at the wall-in to make the biggest (albeit small) economic impact.
J- Pirate Udyr WW T- Pirate Riven Galio M- Galio Annie S- Sona Lux -- Always farm, never carry.
LosingID8
Profile Blog Joined December 2006
CA10828 Posts
April 23 2009 23:28 GMT
#8
On April 24 2009 08:12 Azrael1111 wrote:
I know it takes no gas, and its probably like 5 hp per mineral

i don't think that's right.

buildings that only cost minerals will not cost any gas to repair. however advanced structures that cost gas to build will use gas to repair. i think it's the same with units as well.
ModeratorResident K-POP Elitist
Clasic
Profile Blog Joined January 2009
Bosnia-Herzegovina1437 Posts
April 23 2009 23:30 GMT
#9
On April 24 2009 08:28 LosingID8 wrote:
Show nested quote +
On April 24 2009 08:12 Azrael1111 wrote:
I know it takes no gas, and its probably like 5 hp per mineral

i don't think that's right.

buildings that only cost minerals will not cost any gas to repair. however advanced structures that cost gas to build will use gas to repair. i think it's the same with units as well.


So wait, tanks cost gas to repair? Funny, thought it was only minerals.
No no no no its not mine!
Grobyc
Profile Blog Joined June 2008
Canada18410 Posts
April 23 2009 23:32 GMT
#10
On April 24 2009 08:11 MuR)Ernu wrote:
i think its only like something like 2 minerals per HP or something. Havent tested it but it isn't anything big i assume

That would be a lot... A battlecruiser has 500HP. If it had 1 life and you repaired it to 500 according to your answer that would be just about 1000$ to repair. This obviously isn't the case, I would think it's maybe something like 1 mineral/gas per 2 or 3 HP like mentioned before.

Also, note: Buildings repair faster than units; I don't know if that has anything to do with it but yeahhhhh. Different units/buildings repair faster than others.

I'm pretty sure the cost and repair rate are unit specific though. Repairing 100HP of a battlecruiser costs more than 100HP of a siege tank, even though they both cost minerals + cast.

Someone want to test this?
If you watch Godzilla backwards it's about a benevolent lizard who helps rebuild a city and then moonwalks into the ocean.
Michaelj
Profile Joined February 2008
United States186 Posts
Last Edited: 2009-04-23 23:41:30
April 23 2009 23:35 GMT
#11
Some empirical testing..

supply depot from 20 hp to 500 hp - 33 mineral
barrack from 20 hp to 1000 hp - 51 mineral
factory from 10 hp to 1250 hp - 68 min, 34 gas


It generally seems to cost 1/3 of the minerals/gas it costs to build, in order to repair something from scratch. It also seems to be a linear function of how much hp you repar
---
deathgod6
Profile Blog Joined January 2008
United States5064 Posts
April 23 2009 23:36 GMT
#12
If it costs gas to build it, you need gas to repair it.
4.0 GPA = A rank 5.0 GPA = Olympic --------- Bisu, Best, Fantasy. i ♥ oov. They can get in my BoxeR anyday.
Grobyc
Profile Blog Joined June 2008
Canada18410 Posts
April 23 2009 23:38 GMT
#13
On April 24 2009 08:30 Clasic wrote:
Show nested quote +
On April 24 2009 08:28 LosingID8 wrote:
On April 24 2009 08:12 Azrael1111 wrote:
I know it takes no gas, and its probably like 5 hp per mineral

i don't think that's right.

buildings that only cost minerals will not cost any gas to repair. however advanced structures that cost gas to build will use gas to repair. i think it's the same with units as well.


So wait, tanks cost gas to repair? Funny, thought it was only minerals.

Nope, they cost gas as well. like LID said, primary buildings only cost minerals to repair because none of the primary buildings cost gas, so no gas is used to repair. I'm pretty sure the most expensive buildings cost more minerals+gas to repair than other buildings if you used a ratio.
Ex: factory(200,100) costs 4minerals + 2gas to repair 25 HP.
However science facility(150,200) costs 3minerals + 4gas to repair 25 HP.

The science facility costs more gas to produce, so to repair it it costs more gas than a factory, even though they both require some amount of gas. These are just examples I made, but I assume it works in this fashion.
If you watch Godzilla backwards it's about a benevolent lizard who helps rebuild a city and then moonwalks into the ocean.
Zoler
Profile Blog Joined June 2008
Sweden6339 Posts
April 23 2009 23:40 GMT
#14
I think its 1 mineral for 1 hp.
Lim Yo Hwan forever!
APurpleCow
Profile Blog Joined August 2008
United States1372 Posts
Last Edited: 2009-04-23 23:42:57
April 23 2009 23:42 GMT
#15
Just performed a quick test.

Buildings:
0.043 minerals/HP
0.023 gas/HP

Units:
0.172 minerals/HP
0.517 gas/HP

It only costs gas if the original entity cost gas.
Pawsom
Profile Blog Joined February 2009
United States928 Posts
Last Edited: 2009-04-23 23:49:50
April 23 2009 23:45 GMT
#16
Can you seriously not test this yourself? Do you own starcraft?
I'll do your work for you.

Repairing a siege tank from 1 hp to 150 hp-
Trial 1: 26m 26g
Trial 2: 26m 26g
Trial 3: 26m 26g

HP per Mineral: 5.73
HP per Gas: 5.73

Cost of full repair in terms of % of Unit cost(mineral): 17.3%
Cost of full repair in terms of % of Unit cost(gas): 26%
Cost of full repair in terms of % of Unit cost(Total): 34.6%


Repairing a vulture from 1 hp to 80hp-

Trial 1: 16m 0g
Trial 2: 16m 0g
Trial 3: 16m 0g

HP per Mineral: 4.94
HP per Gas: 0

Cost of full repair in terms of % of Unit cost(mineral): 21.3%
Cost of full repair in terms of % of Unit cost(gas): n/a
Cost of full repair in terms of % of Unit cost(Total): 21.3%

Repairing a goliath from 1hp to 125hp
Trial 1: 28m 14g
Trial 2: 28m 14g
Trial 3: 28m 14g

HP per Mineral: 4.43
HP per Gas: 8.85

Cost of full repair in terms of % of Unit cost(mineral): 28%
Cost of full repair in terms of % of Unit cost(gas): 28%
Cost of full repair in terms of % of Unit cost(Total): 28%

Conclusions


Units that cost only minerals require only minerals to repair. Units that cost both gas and minerals require both resources to repair. Health appears to be restored at a rate of 4-6 units of health per mineral. I am unable to identify the exact algorithm used from quick inspection.

Practical application

In game it's always better to repair. This doesn't have to do with cost analysis or anything, it's just always better to have the unit now than remake it later. The mining time lost is negligible.


**I tested in single player with operation cwal turned on. If this makes a difference in the exact numbers I don't really care, someone else can do it The main point is that units only require the resources required to create them to repair, and it is always significantly cheaper to repair.


Edit: I see a lot of people posted before me while testing. Good work A few things I noticed: people testing on buildings are making a mistake. These buildings are burning at the values you tested off and will cause your answers to be slightly off. Also you guys testing with only one unit need to consider this and try with multiple units. I have already shown that the repair rate appears to be different for different units.
deathgod6
Profile Blog Joined January 2008
United States5064 Posts
April 23 2009 23:46 GMT
#17
On April 24 2009 08:40 Zoler wrote:
I think its 1 mineral for 1 hp.

That's why people repair 1500 hp command centers when they cost 400 minerals to build.
4.0 GPA = A rank 5.0 GPA = Olympic --------- Bisu, Best, Fantasy. i ♥ oov. They can get in my BoxeR anyday.
paper
Profile Blog Joined September 2004
13196 Posts
Last Edited: 2009-04-23 23:51:08
April 23 2009 23:50 GMT
#18
On April 24 2009 08:42 APurpleCow wrote:
Just performed a quick test.

Buildings:
0.043 minerals/HP = 23.25 hp / mineral ~ 25
0.023 gas/HP = 43.47 hp / mineral ~ 45

Units:
0.172 minerals/HP = 5.81 hp / mineral ~ 6
0.517 gas/HP = 1.93 hp / mineral ~ 2

It only costs gas if the original entity cost gas.


>_> better units
Hates Fun🤔
Grobyc
Profile Blog Joined June 2008
Canada18410 Posts
April 23 2009 23:50 GMT
#19
On April 24 2009 08:46 deathgod6 wrote:
Show nested quote +
On April 24 2009 08:40 Zoler wrote:
I think its 1 mineral for 1 hp.

That's why people repair 1500 hp command centers when they cost 400 minerals to build.

obviously ;D
If you watch Godzilla backwards it's about a benevolent lizard who helps rebuild a city and then moonwalks into the ocean.
KwarK
Profile Blog Joined July 2006
United States43168 Posts
April 23 2009 23:52 GMT
#20
If the cost is related to building cost, as suggested, and not to raw hp value then damage done to a supply depot will cost more to repair than the same damage done to a barracks because the hp to cost ratio of a depot is worse. I think that's really pretty interesting.
ModeratorThe angels have the phone box
1 2 3 4 5 Next All
Please log in or register to reply.
Live Events Refresh
Next event in 4h 29m
[ Submit Event ]
Live Streams
Refresh
StarCraft: Brood War
PianO 163
sorry 139
soO 24
HiyA 15
Dota 2
XaKoH 389
Counter-Strike
Stewie2K705
Coldzera 306
Super Smash Bros
Mew2King149
Other Games
summit1g9902
C9.Mang0328
Tasteless230
Trikslyr28
Organizations
Other Games
gamesdonequick811
Counter-Strike
PGL441
Other Games
BasetradeTV103
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• Berry_CruncH161
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Rush1577
• Lourlo1237
• HappyZerGling142
Upcoming Events
Wardi Open
4h 29m
Wardi Open
7h 59m
PiGosaur Monday
17h 29m
Replay Cast
1d 3h
Tenacious Turtle Tussle
1d 16h
The PondCast
2 days
OSC
2 days
WardiTV Invitational
3 days
Online Event
3 days
RSL Revival
3 days
[ Show More ]
RSL Revival
4 days
WardiTV Invitational
4 days
Afreeca Starleague
5 days
Snow vs Soma
Sparkling Tuna Cup
5 days
WardiTV Invitational
5 days
CrankTV Team League
5 days
RSL Revival
5 days
Wardi Open
6 days
CrankTV Team League
6 days
Liquipedia Results

Completed

Acropolis #4 - TS2
WardiTV TLMC #15
HCC Europe

Ongoing

BSL 21 Points
ASL Season 20
CSL 2025 AUTUMN (S18)
C-Race Season 1
IPSL Winter 2025-26
EC S1
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
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual

Upcoming

SC4ALL: Brood War
BSL Season 21
BSL 21 Team A
BSL 21 Non-Korean Championship
RSL Offline Finals
RSL Revival: Season 3
Stellar Fest
SC4ALL: StarCraft II
CranK Gathers Season 2: SC II Pro Teams
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 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.