DerBooy 14 Posted February 21, 2015 Share Posted February 21, 2015 Seach in char_skill.cpp for: if (number(1, 21 - MIN(20, GetSkillLevel(pkSk->dwVnum))) == 1) SetSkillLevel(pkSk->dwVnum, 20); Change it to this: //if (number(1, 21 - MIN(20, GetSkillLevel(pkSk->dwVnum))) == 1) SetSkillLevel(pkSk->dwVnum, 20); 2 10 Link to comment Share on other sites More sharing options...
Premium Hunger 472 Posted August 29, 2015 Premium Share Posted August 29, 2015 Can you make skills to stop at 20 points? Without jumping to m1/g1/P ? Link to comment Share on other sites More sharing options...
Premium Cataclismo 86 Posted August 29, 2015 Premium Share Posted August 29, 2015 Can you make skills to stop at 20 points? Without jumping to m1/g1/P ? Remove skill books and spirit stones from game. Easy. You don't need the source for that... Link to comment Share on other sites More sharing options...
Premium Hunger 472 Posted August 31, 2015 Premium Share Posted August 31, 2015 Stop at 20 points not m1 1 Link to comment Share on other sites More sharing options...
Cunoo 210 Posted July 4, 2018 Share Posted July 4, 2018 Thank you man <33 Link to comment Share on other sites More sharing options...
espinafre18 29 Posted March 28, 2022 Share Posted March 28, 2022 Tanks its work Link to comment Share on other sites More sharing options...
josehdelaro 5 Posted March 24 Share Posted March 24 from marty: To have something cleaner, look in source game char_skill.cpp At the beginning you hit after the last #include #define ENABLE_FORCE2MASTERSKILL then you search: case SKILL_NORMAL: you replace: switch (GetSkillMasterType(pkSk->dwVnum)) { case SKILL_NORMAL: if (GetSkillLevel(pkSk->dwVnum) >= 17) { if (GetQuestFlag("reset_scroll.force_to_master_skill") > 0) { SetSkillLevel(pkSk->dwVnum, 20); SetQuestFlag("reset_scroll.force_to_master_skill", 0); } else { if (number(1, 21 - MIN(20, GetSkillLevel(pkSk->dwVnum))) == 1) SetSkillLevel(pkSk->dwVnum, 20); } } break; For this: switch (GetSkillMasterType(pkSk->dwVnum)) { case SKILL_NORMAL: if (GetSkillLevel(pkSk->dwVnum) >= 17) { #ifdef ENABLE_FORCE2MASTERSKILL SetSkillLevel(pkSk->dwVnum, 20); #else if (GetQuestFlag("reset_scroll.force_to_master_skill") > 0) { SetSkillLevel(pkSk->dwVnum, 20); SetQuestFlag("reset_scroll.force_to_master_skill", 0); } else { if (number(1, 21 - MIN(20, GetSkillLevel(pkSk->dwVnum))) == 1) SetSkillLevel(pkSk->dwVnum, 20); } #endif } break; you compile and that's it, all your skills increase m1 with 17 points If you want the define, put it in your commondefines or service.h to have more control over the changes Link to comment Share on other sites More sharing options...
Recommended Posts