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: How does the math of captain skills + Hullmods work ?  (Read 398 times)

hydremajor

  • Captain
  • ****
  • Posts: 461
    • View Profile
How does the math of captain skills + Hullmods work ?
« on: September 02, 2021, 12:42:24 AM »

Wich is added first and how are they added ?
my current assumption is that the captain skill effects are added additively
For example Capital ITU on a 1000 range does +50% = 1500 range

Capital ITU + captain skill (30%) goes: 50% + 30% = 80% + 1000 = 1800

or do captain skills get added MULTIPLICATIVELY ?
So that second calculation goes something like:

hullmods first
50% + 1000 = 1500 + 30% = 2 000 1950 ?
(edit nvm its 1 950, eh got close enough by head)

or if we go skills first then its
30% + 1000 = 1300 + 50% = 1 950 ?

Looking at what I'm typing I'm not even sure what I say makes sense
« Last Edit: September 02, 2021, 12:50:26 AM by hydremajor »
Logged

Vanshilar

  • Admiral
  • *****
  • Posts: 585
    • View Profile
Re: How does the math of captain skills + Hullmods work ?
« Reply #1 on: September 02, 2021, 01:41:12 AM »

Generally speaking, stuff that increases will be additive (percentage based on the base value), while stuff that decreases will be multiplicative.

So for example, for weapon range, it's just the ITU bonus then add the gunnery implants bonus (I assume that's what you're referring to), both of them being based on the base value. So the 60% bonus from ITU for capital ships simply adds with the 15% bonus from gunnery implants, so you get a total of a +75% bonus.

But something like unstable injector multiples that whole thing by 0.85, so you wind up with 1.75 * 0.85 = 1.4875 or 48.75% bonus if you have ITU, gunnery implants, and UI.
Logged

Timid

  • Admiral
  • *****
  • Posts: 640
  • Personal Text
    • View Profile
Re: How does the math of captain skills + Hullmods work ?
« Reply #2 on: September 02, 2021, 07:03:59 AM »

The flat modifiers to (a base value or a percentage value) like a heavy armor or ITU are additively and will stack the same regardless of how captains and hullmods are ordered.

The multiplier modifier to (everything) like XIV Package boosting 5% of flux capacity and flux vents stack on-top of the modified numbers rather than the base numbers.
Quote from: Dark.Revenant
ASSUME BASE NUMBER IS 1.

MODIFY FLAT:
MODIFY FLAT 2 + MODIFY FLAT 2
= 1 + 2 + 2 = 5

MODIFY PERCENT:
MODIFY FLAT 2 + MODIFY FLAT 2 + MODIFY PERCENT 200 + MODIFY PERCENT 200
= (1 x (1 + (200/100) + (200/100))) + 2 + 2 = 9

MODIFY MULT:
MODIFY FLAT 2 + MODIFY FLAT 2 + MODIFY PERCENT 200 + MODIFY PERCENT 200 + MODIFY MULT 2 + MODIFY MULT 2
= ((1 x (1 + (200/100) + (200/100))) + 2 + 2) x 2 x 2 = 36