Rommel 2 Posted November 27, 2020 Share Posted November 27, 2020 Where do i find in the source the level difference check of the drop? I mean the "+-15" levels https://imerr.github.io/m2dropcalc/ Link to comment Share on other sites More sharing options...
Active Member nazox 213 Posted November 27, 2020 Active Member Share Posted November 27, 2020 I think you need edit mob_drop_item.txt Change kill_drop with { Type limit Mob 2315 level_limit 80 1 11299 1 } You need lv80 for recibe this ítem Nicks: Nazox™ Krone™ Nagato™ Yahiko™ Yakiro™ Proyecto: Trabajando en el. Compañeros & firma: DreamHQ - 2009-2015 [Nostalgia] Link to comment Share on other sites More sharing options...
Rommel 2 Posted November 27, 2020 Author Share Posted November 27, 2020 No, this function ignores the gloves, and other item bonus effects. Link to comment Share on other sites More sharing options...
Forum Moderator Solution VegaS™ 10267 Posted November 30, 2020 Forum Moderator Solution Share Posted November 30, 2020 (edited) Here're the references to understand how it's working step-by-step: char.cpp This is the hidden content, please Sign In or Sign Up constants.cpp #define MAX_EXP_DELTA_OF_LEV 31 #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)] constants.cpp const int aiPercentByDeltaLevForBoss_euckr[MAX_EXP_DELTA_OF_LEV] = { 1, // -15 0 [...] 180 // 15 30 }; const int aiPercentByDeltaLev_euckr[MAX_EXP_DELTA_OF_LEV] = { 1, // -15 0 [...] 180 // 15 30 }; locale_service.cpp if (!aiPercentByDeltaLevForBoss) aiPercentByDeltaLevForBoss = aiPercentByDeltaLevForBoss_euckr; if (!aiPercentByDeltaLev) aiPercentByDeltaLev = aiPercentByDeltaLev_euckr; Edited December 3, 2020 by VegaS™ 32 1 1 11 1 26 Check my GitHub Profile Click to find all the threads started by me [TOOL] Text file loader + JSON Link to comment Share on other sites More sharing options...
Rommel 2 Posted November 30, 2020 Author Share Posted November 30, 2020 Yes, the constants.cpp part was what i searched. Thank you, @VegaS™ Link to comment Share on other sites More sharing options...
Recommended Posts