CZEboy 29 Posted April 10, 2015 Share Posted April 10, 2015 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 More sharing options...
Premium Cataclismo 86 Posted April 10, 2015 Premium Share Posted April 10, 2015 Yes, it's ok I guess. Link to comment Share on other sites More sharing options...
CZEboy 29 Posted April 10, 2015 Author Share Posted April 10, 2015 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 More sharing options...
Premium MrLibya 554 Posted April 10, 2015 Premium Share Posted April 10, 2015 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); } 1 If you're going to do something, then do it right. Link to comment Share on other sites More sharing options...
CZEboy 29 Posted April 10, 2015 Author Share Posted April 10, 2015 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 More sharing options...
CZEboy 29 Posted April 10, 2015 Author Share Posted April 10, 2015 ... Okay, this work great It works perfectly. Now I just have to make quest function which will add skill_points Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now