Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.97a is out! (02/02/24); In-development patch notes for Starsector 0.98a (2/8/25)

Pages: [1] 2

Author Topic: Why does Damage Control takes more time to repair the weapon then Automated R U?  (Read 1558 times)

Guilty

  • Ensign
  • *
  • Posts: 28
    • View Profile

Hello!

Description says that both of them take 50% of repair time down and when i put it to the test, DC takes a good seconds longer then Automated Repair Unit.
Logged

Princess of Evil

  • Admiral
  • *****
  • Posts: 943
  • Balance is not an endpoint, but a direction.
    • View Profile

Normal DC or elite? Elite also nullifies the weapon repair cooldown on damage, which is not insignificant, it's like eight whole seconds.
Logged
Proof that you don't need to know any languages to translate, you just need to care.

Amoebka

  • Admiral
  • *****
  • Posts: 1425
    • View Profile

Because these are implemented differently, possibly unintentionally.

Automated Repair Unit reduces repair times by 50%:
Code
stats.getCombatWeaponRepairTimeMult().modifyMult(id, 1f - bonus * 0.01f);

Damage Control increases repair speed by 50% instead:
Code
float timeMult = 1f / ((100f + MODULE_REPAIR_BONUS) / 100f);
stats.getCombatWeaponRepairTimeMult().modifyMult(id, timeMult);
Which translates to 33% repair time reduction.
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 25074
    • View Profile

Good job spotting this just from observation :) This is actually correct and the descriptions of the effects are different.

ARU: "Reduces the time required to repair disabled weapons and engines (in combat) by 50%" -> reduces the total time to repair by half, i.e. repairs are twice as fast, equivalent to 100% faster repair rate.

DC: "50% faster in-combat weapon and engine repairs" -> the repair rate is only 50% faster, this is equivalent to reducing the total repair time by 33%.

(Edit: ninja'ed)
Logged

Guilty

  • Ensign
  • *
  • Posts: 28
    • View Profile

So Automated RU is better then Damage Control regarding time needed to repair.

What about DC Elite version and build in ARU ??

Is there anywhere a list of explenations like these ones, beacuse they are prety confusing imo.
Logged

Amoebka

  • Admiral
  • *****
  • Posts: 1425
    • View Profile

S-modded ARU is 75% repair time reduction, so 4 times faster than normal.

Elite DC doesn't increase repair speed, but it allows the repairs to start faster. Normally you only start repairing modules after they've stopped taking damage, elite DC removes that requirement.

Usually s-modded ARU leads to much faster repairs, but if you are continuously taking damage (ion beam pointing at you, etc), elite DC will result in more weapon uptime overall.
Logged

Guilty

  • Ensign
  • *
  • Posts: 28
    • View Profile

Good job spotting this just from observation :) This is actually correct and the descriptions of the effects are different.

ARU: "Reduces the time required to repair disabled weapons and engines (in combat) by 50%" -> reduces the total time to repair by half, i.e. repairs are twice as fast, equivalent to 100% faster repair rate.

DC: "50% faster in-combat weapon and engine repairs" -> the repair rate is only 50% faster, this is equivalent to reducing the total repair time by 33%.

(Edit: ninja'ed)

Was about to write how did you get 33% faster repair time, but then i saw its the REPAIR RATE that gets boosted by 50% and depending on how fast that rate is results in time spend repairing .

Hmm...
Logged

Guilty

  • Ensign
  • *
  • Posts: 28
    • View Profile

S-modded ARU is 75% repair time reduction, so 4 times faster than normal.

Elite DC doesn't increase repair speed, but it allows the repairs to start faster. Normally you only start repairing modules after they've stopped taking damage, elite DC removes that requirement.

Usually s-modded ARU leads to much faster repairs, but if you are continuously taking damage (ion beam pointing at you, etc), elite DC will result in more weapon uptime overall.

In that case having both of them would be insane. Does that also include EMP-ed weapons?
Logged

Amoebka

  • Admiral
  • *****
  • Posts: 1425
    • View Profile

In that case having both of them would be insane. Does that also include EMP-ed weapons?
Yes, it's pretty damn good. If you've fought the Guardian, you have seen it yourself (normal ARU + elite DC). EMP damage is similar to any other, except it isn't reduced by armor.
Logged

Princess of Evil

  • Admiral
  • *****
  • Posts: 943
  • Balance is not an endpoint, but a direction.
    • View Profile

Add Armored Weapons for weapons that are literally impossible to knock out.
Logged
Proof that you don't need to know any languages to translate, you just need to care.

Killer of Fate

  • Admiral
  • *****
  • Posts: 2504
    • View Profile

how does increasing repair rate by 50% increases it by 33% instead?

Legit curious
Logged
https://fractalsoftworks.com/forum/index.php?topic=31537.0
starsector vanilla overhaul, play it while it's hot. Or before 0.98 patch comes out, I guess

Princess of Evil

  • Admiral
  • *****
  • Posts: 943
  • Balance is not an endpoint, but a direction.
    • View Profile

how does increasing repair rate by 50% increases it by 33% instead?

Legit curious

It increases repair *rate* by 50%, which means the repair time becomes 67%, reducing repair time by 33%.
Logged
Proof that you don't need to know any languages to translate, you just need to care.

Doctorhealsgood

  • Admiral
  • *****
  • Posts: 972
    • View Profile
Logged
Quote from: Doctorhealsgood
Sometimes i feel like my brain has been hit by salamanders not gonna lie.

Guilty

  • Ensign
  • *
  • Posts: 28
    • View Profile

how does increasing repair rate by 50% increases it by 33% instead?

Legit curious

i was also confused and then i went and calculated it... makes sense. Somehow... dont ask me why it makes sense, but it does.
Logged

Phenir

  • Admiral
  • *****
  • Posts: 1115
    • View Profile

You conflating repair rate and repair time. Let's say a weapon has 6 hp and normally you repair 1 hp per second so it takes 6 seconds to repair the weapon. ARU makes you repair 2 hp per second, so it takes only 3 seconds, a 50% decrease in time taken to repair or, put another way, 100% faster repairs. DC however makes you repair 1.5 hp per second, so it takes 4 seconds to repair, a 33% decrease in time taken to repair (1/3rd or 33%, of 6 is 2) but a 50% increase in repair speed.
Admittedly this is a very common problem in a lot of games that don't make double sure of their text's meaning so it might be habit of a lot of people to just gloss over the text here even though it works as stated.
« Last Edit: June 04, 2024, 01:26:16 PM by Phenir »
Logged
Pages: [1] 2