Jump to content

Drop level difference


Go to solution Solved by VegaS™,

Recommended Posts

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

KH.jpg

Nicks: Nazox™ Krone™ Nagato™ Yahiko™ Yakiro™
Proyecto: Trabajando en el.
Compañeros & firma: DreamHQ  - 2009-2015 [Nostalgia]

Link to comment
https://metin2.dev/topic/24970-drop-level-difference/#findComment-133515
Share on other sites

  • Forum Moderator
  • Solution

Here're the references to understand how it's working step-by-step:

  • char.cpp

This is the hidden content, please

  • 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 by VegaS™
  • Metin2 Dev 49
  • Eyes 1
  • Dislove 1
  • Confused 1
  • Good 12
  • Love 1
  • Love 39
Link to comment
https://metin2.dev/topic/24970-drop-level-difference/#findComment-133625
Share on other sites

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.