Page 1 of 1

exp/sp

Posted: Fri Jan 07, 2011 11:40 pm
by broukes
If you want to receive support we need this info to help you properly.
ยป Find Revision
L2J Revision Number:
L2JDP Revision Number:

This might be a stupid question but I've searched forum and I cant for the life of me find this

How would I change the xp on a specific mob?

Im running the lastest freya updates ...

Greatly appreciated

Re: exp/sp

Posted: Fri Jan 07, 2011 11:51 pm
by Sleek
If you want to change exp reward of specific mob I suggest you open npc.sql and change the collumn that says exp in there to whatever base exp you want it to give. Keep in mind this is BASE exp. Rates will later be applied to this

So if base is 10k and you have 5x exp it will be 50k.

Re: exp/sp

Posted: Mon Jan 10, 2011 7:34 pm
by TomDavidson
As Sleek said it's updating the base xp. You can do it on the database rather than the db creation scripts if you already have your db installed and running using the SQL command:

UDPATE npc SET exp=12345, sp=9876 WHERE id=56789;

Change 12345 to the XP you want to give
Change 9876 to the SP you want to give
Change 56789 to the id of the NPC

You could double the XP and SP by doing something like this:
UDPATE npc SET exp=exp*2, sp=sp*2 WHERE id=56789;