• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 08:38
CEST 14:38
KST 21:38
  • 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
Serral wins EWC 202543Tournament Spotlight: FEL Cracow 202510Power Rank - Esports World Cup 202580RSL Season 1 - Final Week9[ASL19] Finals Recap: Standing Tall15
Community News
Weekly Cups (Jul 28-Aug 3): herO doubles up6LiuLi Cup - August 2025 Tournaments4[BSL 2025] H2 - Team Wars, Weeklies & SB Ladder10EWC 2025 - Replay Pack4Google Play ASL (Season 20) Announced62
StarCraft 2
General
RSL Revival patreon money discussion thread Official Ladder Map Pool Update (April 28, 2025) The GOAT ranking of GOAT rankings Weekly Cups (Jul 28-Aug 3): herO doubles up Clem Interview: "PvT is a bit insane right now"
Tourneys
LiuLi Cup - August 2025 Tournaments WardiTV Mondays RSL Season 2 Qualifier Links and Dates StarCraft Evolution League (SC Evo Biweekly) Global Tourney for College Students in September
Strategy
Custom Maps
External Content
Mutation # 485 Death from Below Mutation # 484 Magnetic Pull Mutation #239 Bad Weather Mutation # 483 Kill Bot Wars
Brood War
General
BGH Auto Balance -> http://bghmmr.eu/ StarCraft player reflex TE scores BW General Discussion StarCon Philadelphia Where is technical support?
Tourneys
[ASL20] Online Qualifiers Day 2 [CSLPRO] It's CSLAN Season! - Last Chance [Megathread] Daily Proleagues Cosmonarchy Pro Showmatches
Strategy
Fighting Spirit mining rates [G] Mineral Boosting Simple Questions, Simple Answers Muta micro map competition
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread Total Annihilation Server - TAForever Beyond All Reason [MMORPG] Tree of Savior (Successor of Ragnarok)
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
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 The Games Industry And ATVI European Politico-economics QA Mega-thread
Fan Clubs
INnoVation Fan Club SKT1 Classic Fan Club!
Media & Entertainment
Movie Discussion! [Manga] One Piece Anime Discussion Thread [\m/] Heavy Metal Thread Korean Music Discussion
Sports
2024 - 2025 Football Thread Formula 1 Discussion TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
Gtx660 graphics card replacement Installation of Windows 10 suck at "just a moment" Computer Build, Upgrade & Buying Resource Thread
TL Community
TeamLiquid Team Shirt On Sale The Automated Ban List
Blogs
[Girl blog} My fema…
artosisisthebest
Sharpening the Filtration…
frozenclaw
ASL S20 English Commentary…
namkraft
The Link Between Fitness and…
TrAiDoS
momentary artworks from des…
tankgirl
from making sc maps to makin…
Husyelt
Customize Sidebar...

Website Feedback

Closed Threads



Active: 617 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 States42694 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 States42694 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
WardiTV Summer Champion…
11:00
Open Qualifier #4
WardiTV608
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Harstem 271
Lowko258
MaxPax 103
ProTech38
StarCraft: Brood War
Sea 2732
Bisu 1605
Flash 1487
Jaedong 1425
firebathero 1120
Larva 1009
EffOrt 884
actioN 426
Soma 350
Stork 322
[ Show more ]
Mini 272
ggaemo 250
Killer 196
Last 181
Snow 148
Hyuk 118
Mind 105
sSak 98
ZerO 90
Sacsri 79
ToSsGirL 60
Backho 59
scan(afreeca) 54
Noble 53
Movie 27
Sexy 27
Sharp 27
sorry 23
JulyZerg 22
[sc1f]eonzerg 21
ajuk12(nOOB) 19
Icarus 17
Yoon 13
NaDa 13
IntoTheRainbow 11
Terrorterran 8
ivOry 3
soO 3
Stormgate
NightEnD27
Dota 2
qojqva2250
XcaliburYe313
Counter-Strike
zeus327
kRYSTAL_27
Other Games
singsing1735
B2W.Neo1478
DeMusliM370
crisheroes357
Fuzer 274
RotterdaM163
Mew2King102
ArmadaUGS26
ZerO(Twitch)19
Organizations
StarCraft: Brood War
Kim Chul Min (afreeca) 732
lovetv 13
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 16 non-featured ]
StarCraft 2
• StrangeGG 28
• LUISG 11
• davetesta6
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• WagamamaTV431
League of Legends
• Nemesis1255
• Jankos565
Upcoming Events
Replay Cast
11h 22m
LiuLi Cup
22h 22m
uThermal 2v2 Circuit
1d 2h
RSL Revival
1d 13h
RSL Revival
1d 21h
SC Evo League
1d 23h
uThermal 2v2 Circuit
2 days
CSO Cup
2 days
Sparkling Tuna Cup
2 days
uThermal 2v2 Circuit
3 days
[ Show More ]
Wardi Open
3 days
RotterdaM Event
4 days
RSL Revival
5 days
The PondCast
6 days
Liquipedia Results

Completed

ASL Season 20: Qualifier #2
FEL Cracow 2025
CC Div. A S7

Ongoing

Copa Latinoamericana 4
Jiahua Invitational
BSL 20 Team Wars
KCM Race Survival 2025 Season 3
BSL 21 Qualifiers
HCC Europe
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025

Upcoming

ASL Season 20
CSLPRO Chat StarLAN 3
BSL Season 21
BSL 21 Team A
RSL Revival: Season 2
Maestros of the Game
SEL Season 2 Championship
WardiTV Summer 2025
uThermal 2v2 Main Event
Thunderpick World Champ.
MESA Nomadic Masters Fall
CS Asia Championships 2025
Roobet Cup 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
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.