Fractal Softworks Forum
March 28, 2024, 08:27:04 AM
Welcome,
Guest
Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Starsector 0.97a is out!
(02/02/24); New blog post:
Simulator Enhancements
(03/13/24)
Home
Help
Search
Login
Register
Fractal Softworks Forum
>
Starsector
>
Mods
>
Modding
>
Modding skills
« previous
next »
Pages: [
1
]
Print
Author
Topic: Modding skills (Read 273 times)
Wecth
Ensign
Posts: 1
Modding skills
«
on:
October 23, 2023, 10:14:07 AM »
For my first time modding the game I wanted to increase the officer skill cap increase given by the [Officer Training] skill from +1 to +3. I came across this text in the file skillschangeofficereffect.java, however I am not sure how to increase the value.
public int getMaxLevel(MutableCharacterStatsAPI stats) {
int bonus = (int) stats.getDynamic().getMod(Stats.OFFICER_MAX_LEVEL_MOD).computeEffective(0);
return (int) Global.getSettings().getFloat("officerMaxLevel") + bonus;
}
Logged
Print
Pages: [
1
]
« previous
next »
Fractal Softworks Forum
>
Starsector
>
Mods
>
Modding
>
Modding skills