Page 1 of 1

Spoil

Posted: Fri Dec 20, 2013 5:46 pm
by kornom
If you want to receive support we need this info to help you properly.
ยป Find Revision
L2J Revision Number:Last
L2JDP Revision Number:Last

How do I add spoil data in to mobs DROP list? Used to be -1 for category but i cannot put - in there, just one..
So how I modify it from ingame?

Re: Spoil

Posted: Sat Dec 21, 2013 3:24 pm
by Hyrelius
What branch are you on? Stable or Unstable? I am not sure, but I think perhaps it changed?

In stable branch it looks like you could use "addDropData(L2DropData, Integer)" in "L2NpcTemplate" to add drop data to npc templates. This method is called in "loadNpcsDrop(...)"-method in NpcTable-class where it parses contents from relevant SQL drop-list-tables.
Since it seems the lists stay mutable, I suppose a script could easily get the NpcTemplate and add drops there - programmatically.

Re: Spoil

Posted: Sat Dec 21, 2013 9:03 pm
by kornom
Unstable

Re: Spoil

Posted: Sat Dec 21, 2013 9:07 pm
by kornom
so what category spoi belongs to? maybe 2?

Re: Spoil

Posted: Sat Dec 21, 2013 10:57 pm
by Cresceus
It seems to be still -1.

Re: Spoil

Posted: Sun Dec 22, 2013 1:02 am
by kornom
Do how do I put in - symbol in unstable in order to add/modify spoil?