• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 11:45
CEST 17:45
KST 00:45
  • 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 Hangzhou7Weekly 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
RotterdaM "Serral is the GOAT, and it's not close" DreamHack Open 2013 revealed The New Patch Killed Mech! Chinese SC2 server to reopen; live all-star event in Hangzhou Team Liquid Map Contest #21 - Presented by Monster Energy
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
Is there anyway to get a private coach? The Lose More Card BW General Discussion BSL Season 21 OGN to release AI-upscaled StarLeague from Feb 24
Tourneys
300$ 3D!Community Brood War Super Cup #4 [ASL20] Semifinal B Azhi's Colosseum - Anonymous Tournament [Megathread] Daily Proleagues
Strategy
[I] TvZ Strategies and Builds [I] TvP Strategies and Build Roaring Currents ASL final Current Meta
Other Games
General Games
Nintendo Switch Thread Stormgate/Frost Giant Megathread Path of Exile 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 Things Aren’t Peaceful in Palestine US Politics Mega-thread 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
MLB/Baseball 2023 2024 - 2026 Football Thread Formula 1 Discussion 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
Certified Crazy
Hildegard
The Heroism of Pepe the Fro…
Peanutsc
Rocket League: Traits, Abili…
TrAiDoS
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1182 users

[Q] Cost to repair? - Page 5

Forum Index > Brood War Strategy
Post a Reply
Prev 1 2 3 4 5 All
Archaic
Profile Blog Joined March 2008
United States4024 Posts
April 26 2009 02:33 GMT
#81
This is just a theory, but perhaps the amount of minerals or gas for repair cost is by the hundreds.
For example
Ranges:
0-99 mineral/gas cost, then it has one rate of gas spending.
100-199 mineral/gas cost has a lower rate, etc.

This could explain why a goliath (100/50) has a 1.4:1 mineral/gas repair cost ratio while a tank (100/150) has a 1:1 mineral/gas repair cost ratio.
obesechicken13
Profile Blog Joined July 2008
United States10467 Posts
April 26 2009 02:51 GMT
#82
Does anyone go out into the field with a bunch of scvs though? I mean maybe for building turrets during a push vs a toss. I use them for BCs and vessels, bunkers, burning buildings, that's about it.
I think in our modern age technology has evolved to become more addictive. The things that don't give us pleasure aren't used as much. Work was never meant to be fun, but doing it makes us happier in the long run.
Clasic
Profile Blog Joined January 2009
Bosnia-Herzegovina1437 Posts
April 26 2009 03:05 GMT
#83
On April 26 2009 11:51 obesechicken13 wrote:
Does anyone go out into the field with a bunch of scvs though? I mean maybe for building turrets during a push vs a toss. I use them for BCs and vessels, bunkers, burning buildings, that's about it.


Ugh, people repair their tanks.
No no no no its not mine!
SirNukes
Profile Joined April 2009
18 Posts
Last Edited: 2009-05-07 14:23:21
April 26 2009 03:27 GMT
#84
On April 25 2009 15:19 Grobyc wrote:
It was cheaper. Something like 2/3 or 1/2 of the cost of what it would be without cwal on I think; I'm not too sure though, I didn't save the results. I just know there was a difference.


In a quick test, a 50% CC took 63 minerals to repair normally, but 32 under operation cwal. A 50% rax took 25 normally, 21 under opcwal. I suspect the calculated repair cycle length with operation cwal's build times is getting significantly rounded by whatever framerate Starcraft runs repairs at internally (I know in Diablo 2 uses 25 fps for everything, for instance). For example, if the calculation comes out to 1 mineral for 10 health over half a frame duration (20 health/frame), the duration might get rounded up to 1 frame and 20 health will be repaired (double the health per mineral). D2 is loaded with stuff like that.

From a quick test on a CC with built time set to 1000, it looks like operation cwal divides build time by around 16. A normal CC (no longer talking about the modified build time) repair cycle is around 0.84 seconds, so under the cheat it should be divided by 16 to become ~0.0525 seconds. Since the cheat allows a CC to repair for almost half cost overall and using the logic from my example above, it would suggest Starcraft's handles repairs at ~10 fps. I don't know enough about SC to say anything more about framerates.

On April 25 2009 23:56 Gnojfatelob wrote:
So seeing repair costs are small in sc terms, it seems that the more important questions is:

"How many scv's does it take to repair a tank so it will survive another hit from a dragoon?"

Well, four SCVs can repair a tank slightly faster than a goon can damage it. But I think there might be too many battlefield dynamics to answer the questions you seem to be asking.

On April 26 2009 11:33 Archaic wrote:
This is just a theory, but perhaps the amount of minerals or gas for repair cost is by the hundreds.

That was one of my ideas when I first looked at it, but it isn't how it works. For instance, if you set a unit to cost 50 minerals and 25 gas, repairs will cost twice as many minerals as gas, similar to a Goliath. Really, my earlier post laying out the calculation steps should cover the repair logic pretty well.

It occurs to me I should add some interpretations of the repair logic to make it a little clearer, so I will do that here. The programmers' intent seems to have been to charge 1% of the unit's cost to repair 3% of the unit's health, or thereabouts. Before inefficiencies and rounding, this would mean repairing a full unit would cost around 33.3% of its base cost. However, to get the resource numbers to calculate nice, the lower 1% resource is adjusted to '1' while the higher resource is kept proportional, but rounded down to a whole number. So in general, fully repairing a unit will cost ~33% of its lower resource value and anywhere between 16% and 33% of its higher resource value, before rounding and inefficiencies. A notable inefficiency is that the last repair cycle will not heal a full amount of health since the unit reaches maximum health, lowering the percentages. An apparent notable rounding is that the duration of a repair cycle rounds up to the nearest frame and provides a little extra health, raising the percentages.

On April 25 2009 20:09 Jiiks wrote:
Also here's the repair costs for buildings.

Jiiks, are you sure your building numbers are correct? I saw the bunker had an oddly high percentage cost so I took a closer look: repairing a 1hp bunker to full cost 35 minerals, repairing a 175hp bunker to full cost 17 minerals and extrapolates to 34 for a full bunker (this method avoids burning damage), and even using your number (24) it does not come out a 41.6% cost. The percentages on other buildings seem to be off, though I didn't check their repair costs like I did with the bunker.
Jiiks
Profile Joined January 2009
Finland487 Posts
Last Edited: 2009-04-26 13:45:44
April 26 2009 13:45 GMT
#85
Jiiks, are you sure your building numbers are correct? I saw the bunker had an oddly high percentage cost so I took a closer look: repairing a 1hp bunker to full cost 35 minerals, repairing a 175hp bunker to full cost 17 minerals and extrapolates to 34 for a full bunker (this method avoids burning damage), and even using your number (24) it does not come out a 41.6% cost. The percentages on other buildings seem to be off, though I didn't check their repair costs like I did with the bunker.


Yeah there might be typos i tested bunker again and it took 34minerals/34%, other then that they seem to be right maybe 0,x off.
Prev 1 2 3 4 5 All
Please log in or register to reply.
Live Events Refresh
Wardi Open
14:30
October Qualifier #2
WardiTV1102
IndyStarCraft 210
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
IndyStarCraft 210
LamboSC2 208
Codebar 31
sas.Sziky 17
StarCraft: Brood War
Britney 43232
Calm 4618
Rain 2597
Jaedong 1811
Horang2 1191
Bisu 1094
EffOrt 631
Light 583
firebathero 542
Mini 512
[ Show more ]
Larva 510
Soma 426
Shuttle 388
ZerO 335
Free 255
Stork 252
Snow 243
actioN 228
Pusan 129
Soulkey 113
Hyun 108
PianO 99
Rush 99
TY 83
ggaemo 67
sSak 66
Killer 56
Sea.KH 52
Shine 34
sorry 28
Movie 27
Shinee 20
Terrorterran 19
HiyA 17
scan(afreeca) 16
Sacsri 15
Bale 12
Noble 5
Hm[arnc] 4
Mong 1
Dota 2
Gorgc5964
qojqva4015
Dendi1177
syndereN375
BananaSlamJamma276
Fuzer 244
canceldota12
Counter-Strike
byalli248
markeloff193
FunKaTv 37
edward33
Other Games
singsing2431
hiko826
Lowko361
ceh9228
Sick206
Liquid`VortiX184
FrodaN174
Hui .125
ArmadaUGS112
Skadoodle79
Mew2King62
KnowMe57
QueenE55
Trikslyr36
ZerO(Twitch)14
Organizations
Counter-Strike
PGL399
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 13 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• C_a_k_e 2305
League of Legends
• Jankos3547
• TFBlade831
Upcoming Events
PiGosaur Monday
8h 15m
Replay Cast
18h 15m
OSC
1d
Tenacious Turtle Tussle
1d 7h
The PondCast
1d 18h
OSC
1d 20h
WardiTV Invitational
2 days
Online Event
3 days
RSL Revival
3 days
RSL Revival
3 days
[ Show More ]
WardiTV Invitational
3 days
Afreeca Starleague
4 days
Snow vs Soma
Sparkling Tuna Cup
4 days
WardiTV Invitational
4 days
CrankTV Team League
4 days
RSL Revival
5 days
Wardi Open
5 days
CrankTV Team League
5 days
Replay Cast
6 days
WardiTV Invitational
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.