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 to increase bonus to ordnance from skills?  (Read 2123 times)

Creepin

  • Commander
  • ***
  • Posts: 108
    • View Profile
How to increase bonus to ordnance from skills?
« on: February 23, 2015, 04:12:04 AM »

Normally both Computer Systems & Mechanical Engineering give 1% to ordnance per level. Say I want to make it 2% per level, what should I do? I checked various files within "campaign" folder, and at my best guess I had to modify ComputerSystemsEffect1.java & MechanicalEngineeringEffect1.java files respectively. Sadly, I had no idea what to change there: if there would be "1" somewhere, I would changed it to "2" believing it's a percent per level and call it a day, but there's no "1"s so I have no idea what to modify.
Any hint? :)
Logged

Tartiflette

  • Admiral
  • *****
  • Posts: 3529
  • MagicLab discord: https://discord.gg/EVQZaD3naU
    • View Profile
Re: How to increase bonus to ordnance from skills?
« Reply #1 on: February 23, 2015, 05:03:25 AM »

starsector/starsector-core/data/characters/skills/scripts/SkillData.java
line 8: public static final float TECHNOLOGY_APTITUDE_OP_BONUS_PERCENTAGE = 1;
line 64: public static final float MECHANICAL_ENGINEERING_SHIP_OP_BONUS_PERCENTAGE = 1f;
Logged
 

Creepin

  • Commander
  • ***
  • Posts: 108
    • View Profile
Re: How to increase bonus to ordnance from skills?
« Reply #2 on: February 23, 2015, 05:41:22 AM »

Tartiflette, thanks a lot! :)
Logged