Jump to content

Drop level difference


Go to solution Solved by VegaS™,

Recommended Posts

  • Active Member

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
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 32
  • Dislove 1
  • Confused 1
  • Good 10
  • Love 1
  • Love 25
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

Announcements



×
×
  • 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.