Fractal Softworks Forum

Please login or register.

Login with username, password and session length

Author Topic: No cap on CR and related stats  (Read 494 times)

Jaghaimo

  • Admiral
  • *****
  • Posts: 661
    • View Profile
No cap on CR and related stats
« on: October 19, 2020, 06:49:28 AM »

Might be a feature, might be a bug.
You can set CR above 1 (100%) and end up with ridiculous speed or negative flux/damage shield.
« Last Edit: October 19, 2020, 07:11:26 AM by Jaghaimo »
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 24111
    • View Profile
Re: No cap on CR and related stats
« Reply #1 on: October 19, 2020, 09:00:11 AM »

Hmm - member.getStats().getMaxCombatReadiness() is capped to 1, and if something sets CR directly to an undesired value, then imo that's a bug in that code.
Logged

Jaghaimo

  • Admiral
  • *****
  • Posts: 661
    • View Profile
Re: No cap on CR and related stats
« Reply #2 on: October 20, 2020, 02:41:58 AM »

And now I can't reproduce this, even with the same code.

Is CR somehow hardcoded for mothballed ships? I wanted to display "neutral" performance, but both my pickers and markets (when buying) show 0% CR and the "CR degraded" performance instead...

Edit: never mind, seems like CR IS hardcoded and Korikaze is a special case (all other ships show 0%)...
« Last Edit: October 20, 2020, 02:48:27 AM by Jaghaimo »
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 24111
    • View Profile
Re: No cap on CR and related stats
« Reply #3 on: October 20, 2020, 11:15:55 AM »

FWIW, the stats for mothballed ships are now shown without penalties; likewise for recoverable ships etc. (It's possible I missed a case somewhere, but at least most of them should be covered.)
Logged