morion 59 Posted September 23, 2015 Share Posted September 23, 2015 HelloI'm looking for ways to bring the status point in a level 3 to 1 that is given when you reach the level, does anyone know how to modify the source to get this thing? thanks Link to comment Share on other sites More sharing options...
Great 16 Posted September 23, 2015 Share Posted September 23, 2015 char.cpp function void CHARACTER::PointChange case POINT_LEVEL: [..] if (iLevStep >= 4) { sys_err("%s LEVEL_STEP bigger than 4! (%d)", GetName(), iLevStep); iLevStep = 4; } if (exp >= next_exp && iLevStep < 4) { for (int i = 0; i < 4 - iLevStep; ++i) PointChange(POINT_LEVEL_STEP, 1, false, true); } else if (exp >= q * 3 && iLevStep < 3) { for (int i = 0; i < 3 - iLevStep; ++i) PointChange(POINT_LEVEL_STEP, 1, false, true); } else if (exp >= q * 2 && iLevStep < 2) { for (int i = 0; i < 2 - iLevStep; ++i) PointChange(POINT_LEVEL_STEP, 1, false, true); } else if (exp >= q && iLevStep < 1) PointChange(POINT_LEVEL_STEP, 1); if (iExpBalance) { PointChange(POINT_EXP, iExpBalance); } and case POINT_LEVEL_STEP: 1 Link to comment Share on other sites More sharing options...
morion 59 Posted September 23, 2015 Author Share Posted September 23, 2015 char.cpp function void CHARACTER::PointChange case POINT_LEVEL: [..] if (iLevStep >= 4) { sys_err("%s LEVEL_STEP bigger than 4! (%d)", GetName(), iLevStep); iLevStep = 4; } if (exp >= next_exp && iLevStep < 4) { for (int i = 0; i < 4 - iLevStep; ++i) PointChange(POINT_LEVEL_STEP, 1, false, true); } else if (exp >= q * 3 && iLevStep < 3) { for (int i = 0; i < 3 - iLevStep; ++i) PointChange(POINT_LEVEL_STEP, 1, false, true); } else if (exp >= q * 2 && iLevStep < 2) { for (int i = 0; i < 2 - iLevStep; ++i) PointChange(POINT_LEVEL_STEP, 1, false, true); } else if (exp >= q && iLevStep < 1) PointChange(POINT_LEVEL_STEP, 1); if (iExpBalance) { PointChange(POINT_EXP, iExpBalance); } and case POINT_LEVEL_STEP: mm ok i have same idea but i have tried 2 hours without result..... Link to comment Share on other sites More sharing options...
morion 59 Posted September 24, 2015 Author Share Posted September 24, 2015 Solved close 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