Jump to content
  • 0

Drop level difference


Rommel
Go to solution Solved by VegaS™,

Question

4 answers to this question

Recommended Posts

  • 0
  • Moderator
  • Solution

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

  • char.cpp

Hidden Content

    Give reaction to this post to see the hidden content.

  • 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™
  • Love 13
Link to post
  • 0

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 post
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.