• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 15:24
CET 21:24
KST 05:24
  • 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 !3Weekly Cups (Dec 8-14): MaxPax, Clem, Cure win2Weekly 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 ! Weekly Cups (Dec 8-14): MaxPax, Clem, Cure win Did they add GM to 2v2? RSL Revival - 2025 Season Finals Preview Weekly Cups (Dec 1-7): Clem doubles, Solar gets over the hump
Tourneys
Master Swan Open (Global Bronze-Master 2) Winter Warp Gate Amateur Showdown #1: Sparkling Tuna Cup - Weekly Open Tournament $5,000+ WardiTV 2025 Championship StarCraft2.fi 15th Anniversary Cup
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
How Rain Became ProGamer in Just 3 Months FlaSh on: Biggest Problem With SnOw's Playstyle BGH Auto Balance -> http://bghmmr.eu/ [BSL21] RO8 Bracket & Prediction Contest BW General Discussion
Tourneys
[Megathread] Daily Proleagues [BSL21] RO8 - Day 2 - Sunday 21:00 CET [ASL20] Grand Finals [BSL21] RO8 - Day 1 - Saturday 21:00 CET
Strategy
Game Theory for Starcraft Simple Questions, Simple Answers Current Meta Fighting Spirit mining rates
Other Games
General Games
General RTS Discussion Thread Stormgate/Frost Giant Megathread Dawn of War IV Nintendo Switch Thread PC Games Sales 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
Mafia Game Mode Feedback/Ideas Survivor II: The Amazon Sengoku Mafia TL Mafia Community Thread
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine YouTube Thread European Politico-economics QA Mega-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
How Sleep Deprivation Affect…
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: 1786 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 States43345 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 States43345 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
OSC
17:00
OSC Elite Rising Star #17
Percival vs YoungYakovLIVE!
Shameless vs TBD
SteadfastSC365
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
SteadfastSC 365
ProTech143
NeuroSwarm 1
StarCraft: Brood War
Britney 14567
Calm 1545
EffOrt 373
Dewaltoss 152
ggaemo 98
Mong 30
Movie 21
yabsab 17
Dota 2
Dendi1570
Counter-Strike
Foxcn453
minikerr33
Heroes of the Storm
Liquid`Hasu348
Other Games
Grubby3279
FrodaN1390
Beastyqt616
B2W.Neo520
Fuzer 409
ArmadaUGS176
XaKoH 104
C9.Mang0102
QueenE77
Trikslyr54
Chillindude14
ZombieGrub12
Organizations
Other Games
BasetradeTV12
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 17 non-featured ]
StarCraft 2
• Reevou 16
• Kozan
• LaughNgamezSOOP
• sooper7s
• AfreecaTV YouTube
• intothetv
• Migwel
• IndyKCrew
StarCraft: Brood War
• Pr0nogo 3
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• WagamamaTV834
League of Legends
• Nemesis2594
• TFBlade1174
Other Games
• imaqtpie1510
• Shiphtur195
Upcoming Events
The PondCast
13h 37m
WardiTV 2025
16h 37m
Cure vs Creator
TBD vs Solar
WardiTV 2025
1d 14h
OSC
1d 17h
CranKy Ducklings
2 days
SC Evo League
2 days
Ladder Legends
2 days
BSL 21
2 days
Sparkling Tuna Cup
3 days
Ladder Legends
3 days
[ Show More ]
BSL 21
3 days
Replay Cast
4 days
Monday Night Weeklies
4 days
WardiTV Invitational
6 days
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
WardiTV 2025
META Madness #9
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 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
eXTREMESLAND 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.