XiozZe / XioScript

XioScript
11 stars 16 forks source link

Salary: take Training in account #47

Open XiozZe opened 8 years ago

XiozZe commented 8 years ago

Look for a way to decrease the skill to perfectly match the additional training skill.

TeaMike commented 7 years ago

you mean to decrease the worker skill so that after the update, when the next training has been made, the skill is exactly where it should be and not exceeding the top. That requires to calculate the actual amount of skill increase due to training, save the data during the training period. It seems kinda tricky because the decrease amount of salary will be a bit different each time the workers have been trained.

XiozZe commented 7 years ago

Very tricky indeed. But it should be possible to discover the formula for training increase based on current salary. For that I need to know the relation between the training increase and the current amount of already trained (the training parameter). I am already able to extract the training parameter from the current salary, so I guess with enough time and data I should be able to figure out the rest.