dexoluss 0 Posted June 24 Share Posted June 24 Hey i would like to change difference to drop items by level.. I found out in my game that i can kill any level with level 1 and get drop but if i kill monster who is smaller level like me i dont get drop. As i found out by googling i can change it in constants.cpp and constants.h ? Would anyone please help me and shove me how to change it to like 30level difference? Thanks constants.cpp Spoiler const int aiPercentByDeltaLevForBoss_euckr[MAX_EXP_DELTA_OF_LEV] = { 1, // -15 0 3, // -14 1 5, // -13 2 7, // -12 3 15, // -11 4 30, // -10 5 60, // -9 6 90, // -8 7 91, // -7 8 92, // -6 9 93, // -5 10 94, // -4 11 95, // -3 12 97, // -2 13 99, // -1 14 100, // 0 15 105, // 1 16 110, // 2 17 115, // 3 18 120, // 4 19 125, // 5 20 130, // 6 21 135, // 7 22 140, // 8 23 145, // 9 24 150, // 10 25 155, // 11 26 160, // 12 27 165, // 13 28 170, // 14 29 180 // 15 30 }; const int aiPercentByDeltaLev_euckr[MAX_EXP_DELTA_OF_LEV] = { 1, // -15 0 5, // -14 1 10, // -13 2 20, // -12 3 30, // -11 4 50, // -10 5 70, // -9 6 80, // -8 7 85, // -7 8 90, // -6 9 92, // -5 10 94, // -4 11 96, // -3 12 98, // -2 13 100, // -1 14 100, // 0 15 105, // 1 16 110, // 2 17 115, // 3 18 120, // 4 19 125, // 5 20 130, // 6 21 135, // 7 22 140, // 8 23 145, // 9 24 150, // 10 25 155, // 11 26 160, // 12 27 165, // 13 28 170, // 14 29 180, // 15 30 }; constants.h i guess here i just change victim + 15 to victim + 30 ? Spoiler #define PERCENT_LVDELTA(me, victim) aiPercentByDeltaLev[MINMAX(0, (victim + 15) - me, MAX_EXP_DELTA_OF_LEV - 1)] #define PERCENT_LVDELTA_BOSS(me, victim) aiPercentByDeltaLevForBoss[MINMAX(0, (victim + 15) - me, MAX_EXP_DELTA_OF_LEV - 1)] Link to comment Share on other sites More sharing options...
dexoluss 0 Posted Friday at 08:38 AM Author Share Posted Friday at 08:38 AM UP ? 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