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?
Spoil
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Posts: 257
- Joined: Thu Dec 16, 2010 5:16 am
Re: Spoil
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.
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.

I don't mind helping - however: I only do so if I want to.
No support for other server packs than L2J.