Jump to content

Recommended Posts

Hello guys,

 

I would like to disable automatic skill point add after levelup. Am I right if change 

if (GetSkillGroup())
{
        if (GetLevel() >= 5)
	     PointChange(POINT_SKILL, 1);

	if (GetLevel() >= 9)
	     PointChange(POINT_SUB_SKILL, 1);
							}

to 

if (GetSkillGroup())
{
if (GetLevel() >= 9)
	PointChange(POINT_SUB_SKILL, 1);
							}

this is in function PointChange and in case POINT_LEVEL_STEP

 

I also would like to know difference between POINT_SUB:SKILL nad POINT_SKILL.

 

Will this modification do what i want ? :)

 

Thanks for reply

 

Kind regards

Link to comment
https://metin2.dev/topic/6421-question-point_skill/
Share on other sites

Yes, it's ok I guess.

I have just tried it, I had commented 

//if (GetLevel() >= 5)
         //PointChange(POINT_SKILL, 1);

However, I can't find what has been changed. When i get levelup i still get skill points :'(

 

P.S. However thank you for reply.

Link to comment
https://metin2.dev/topic/6421-question-point_skill/#findComment-40789
Share on other sites

  • Premium

i just did this 4d ago xD

 

delete thos

 

char.cpp

 

 
SetRealPoint(POINT_SKILL, GetLevel()-1);
SetPoint(POINT_SKILL, GetRealPoint(POINT_SKILL));
PointChange(POINT_SKILL, 0);
 
----
 
case POINT_SKILL:
case POINT_SUB_SKILL:
 
---
 
if (GetSkillGroup())
                            {
                                if (GetLevel() >= 5)
                                    PointChange(POINT_SKILL, 1);

                                if (GetLevel() >= 9)
                                    PointChange(POINT_SUB_SKILL, 1);
                            }
 
  • Love 1

If you're going to do something, then do it right.

Link to comment
https://metin2.dev/topic/6421-question-point_skill/#findComment-40806
Share on other sites

 

i just did this 4d ago xD

 

delete thos

 

char.cpp

 
SetRealPoint(POINT_SKILL, GetLevel()-1);
SetPoint(POINT_SKILL, GetRealPoint(POINT_SKILL));
PointChange(POINT_SKILL, 0);
 
----
 
case POINT_SKILL:
case POINT_SUB_SKILL:
 
---
 
if (GetSkillGroup())
                            {
                                if (GetLevel() >= 5)
                                    PointChange(POINT_SKILL, 1);

                                if (GetLevel() >= 9)
                                    PointChange(POINT_SUB_SKILL, 1);
                            }
 

OK thank you very much !!! I'll try it soon :)

 

Can you say differences between POINT_SUB_SKILL and POINT_SKILL to me? :)

 

What does POINT_SUB_SKILL do ? O.o

Link to comment
https://metin2.dev/topic/6421-question-point_skill/#findComment-40814
Share on other sites

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • 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.