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); New blog post: Simulator Enhancements (03/13/24)

Author Topic: "Improved" tech mining is *.25 effective, rather than *1.25  (Read 615 times)

Wyvern

  • Admiral
  • *****
  • Posts: 3784
    • View Profile
"Improved" tech mining is *.25 effective, rather than *1.25
« on: April 03, 2021, 12:07:05 PM »

Code
	protected void applyImproveModifiers() {
if (isImproved()) {
market.getStats().getDynamic().getStat(Stats.TECH_MINING_MULT).modifyMult(getModId(1), IMPROVE_FINDS_BONUS);
} else {
market.getStats().getDynamic().getStat(Stats.TECH_MINING_MULT).unmodifyMult(getModId(1));
}
}
And the bonus is 0.25, so when we multiply by that...
Logged
Wyvern is 100% correct about the math.

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 23986
    • View Profile
Re: "Improved" tech mining is *.25 effective, rather than *1.25
« Reply #1 on: April 03, 2021, 12:10:45 PM »

... well.

Thank you, fixed!
Logged