Jump to content

[Question] point_skill


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
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
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
Share on other sites

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.