Monday, April 4, 2011

Skill Ups

Mostly odds and ends taken care of today. I did finally add the code to give ship crew members a chance to gain skills upon completion of actions. So far I've added it to Planet Square Scans and Asteroid Scans.

Here's a screenshot of a report after a successful scan that shows the Science Officer increasing his skill.

I'm currently using the following formula to determine if you get a skillup:

ran(1,200) < (10.1 - Current Skill)*10 = + 0.1 skill increase

For example, if your skill is 0.1, then you have a 100 base chance to get a skill up. The system then gets a random number between 1 and 200. If it comes up less than 100, your skill goes up. I may make some skills harder than this, and will likely make it so that some skill can only go past 5.0 by participating in combat.

Using this method, it will take an average of roughly 800 to 1000 attempts to reach max skill level. This should translate into literally years of real time before a character maxes out the skill, especially with some actions that take a long time like Jumping to a new star system, which is the only way to raise the Astrogation skill.

No comments:

Post a Comment