Jump to content
×
×
  • Create New...
  • 0

[Question] point_skill


CZEboy

Question

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

5 answers to this question

Recommended Posts

  • 0

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

  • 0
  • 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

  • 0

 

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

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


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.