Jump to content

[HowTo] Success prob when training grandmaster skills

Recommended Posts

Hi guys. I had too much free time today so I thought I would check how does Grandmaster training look like in Source. It calculated training count and compared to required training count, so I changed it to % chance of training. I will try to explain how does my algorithm work. I generate number between 1 and 100, and then I compare it with success prob in the table.



Here's my algorithm. I deleted stuff which was designed for Ymir locale as nobody uses it, so my script works for all locale.


How to edit success % chance of training?

It is simple as 2+2. You have to edit aiGrandMasterSkillBookSuccessProb table. As the comment says, each number is success prob for grandmaster skill level. As You can see, it is 95 for G1->G2, 85 for G2->G3 etc.


Oh, I'd forgot. This function is invoked by pc.learn_grand_master_skill() quest function.


Any questions? Feel free to ask, I will try to answer as I'm not so skilled in C++.


Copying to other boards without my permission is prohibited.

  • Love 2

Share this post

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.