• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 21:37
CEST 03:37
KST 10:37
  • 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 Tournaments3[BSL 2025] H2 - Team Wars, Weeklies & SB Ladder10EWC 2025 - Replay Pack4Google Play ASL (Season 20) Announced62
StarCraft 2
General
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" Serral wins EWC 2025
Tourneys
Global Tourney for College Students in September Sparkling Tuna Cup - Weekly Open Tournament WardiTV Mondays $5,000 WardiTV Summer Championship 2025 LiuLi Cup - August 2025 Tournaments
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
BW General Discussion StarCon Philadelphia Where is technical support? BGH Auto Balance -> http://bghmmr.eu/ Google Play ASL (Season 20) Announced
Tourneys
[CSLPRO] It's CSLAN Season! - Last Chance [Megathread] Daily Proleagues [ASL20] Online Qualifiers Day 2 Cosmonarchy Pro Showmatches
Strategy
[G] Mineral Boosting Simple Questions, Simple Answers Muta micro map competition Does 1 second matter in StarCraft?
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 European Politico-economics QA Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread Bitcoin discussion 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: 570 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
DaveTesta Events
00:00
Kirktown Co-op 1v1 Bash
davetesta72
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
PiGStarcraft284
Nina 94
RuFF_SC2 8
StarCraft: Brood War
Artosis 812
ggaemo 103
Larva 68
NaDa 53
Aegong 32
Icarus 6
HiyA 2
Stormgate
WinterStarcraft673
Dota 2
monkeys_forever703
LuMiX1
Counter-Strike
taco 596
Stewie2K203
Super Smash Bros
hungrybox700
Mew2King29
Other Games
summit1g13872
tarik_tv8613
Day[9].tv1349
shahzam915
JimRising 328
ViBE210
C9.Mang0197
Maynarde110
Livibee31
Organizations
Other Games
gamesdonequick1664
BasetradeTV93
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 15 non-featured ]
StarCraft 2
• intothetv
• AfreecaTV YouTube
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• Azhi_Dahaki21
• HerbMon 21
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Doublelift6018
Other Games
• Day9tv1349
• Scarra939
Upcoming Events
The PondCast
8h 24m
WardiTV Summer Champion…
9h 24m
Replay Cast
22h 24m
LiuLi Cup
1d 9h
uThermal 2v2 Circuit
1d 13h
RSL Revival
2 days
RSL Revival
2 days
uThermal 2v2 Circuit
2 days
CSO Cup
2 days
Sparkling Tuna Cup
3 days
[ Show More ]
uThermal 2v2 Circuit
3 days
Wardi Open
4 days
RotterdaM Event
4 days
RSL Revival
5 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.