Jump to content

Skill Normal to G script not working


Recommended Posts

Hello there. I wanted to make my skills to get from Normal to G1 (instead of M1) when reaching 15 skill points, and I have followed the following topic: 

 

Unfortunately it is not working. I'm currently using 40k and the skills are still mastered to M1 instead of G1, despite of following the suggestions in the topic. 

Here's my current script:

			case SKILL_NORMAL:
				// ¹ø¼·Àº ½ºÅ³ ¾÷±×·¹À̵å 17~20 »çÀÌ ·£´ý ¸¶½ºÅÍ ¼ö·Ã
				if (GetSkillLevel(pkSk->dwVnum) >= 17)
				{
					SetSkillLevel(pkSk->dwVnum, 40);
				}
				break;

			case SKILL_MASTER:
				if (GetSkillLevel(pkSk->dwVnum) >= 30)
				{
					if (number(1, 31 - MIN(30, GetSkillLevel(pkSk->dwVnum))) == 1)
						SetSkillLevel(pkSk->dwVnum, 30);
				}
				break;

			case SKILL_GRAND_MASTER:
				if (GetSkillLevel(pkSk->dwVnum) >= 40)
				{
					SetSkillLevel(pkSk->dwVnum, 40);
				}
				break;
		}

And yes, I have tried both values for SetSkillLevel to 30 and 40, none of them worked. 

Can someone help me please? I would be grateful 

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • 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.