Jump to content

Recommended Posts

Posted

Hi Guys,

 

Just a quick topic, I've been trying to add a spoil item to all NPCs with out having to manually add the item to all "L2Monster, etc." NPCs XMLs.

I have tried customizing a feanor script that I found to add drops to all NPCs [whichs works perfectly]:

Quote

<Event ID="EventX" Active="01 Jan 1970-31 Dec 2100"> 
   <Droplist>
      <AllDrop Items="X" Count="X,X" Chance="X%" />
      <AllDrop Items="X" Count="X,X" Chance="X%" /> 
      <AllDrop Items="X" Count="X,X" Chance="X%" /> 
      <AllDrop Items="X" Count="X,X" Chance="X%" />
   </Droplist> 
</Event>
 

I have tried a few different syntax options that I thought could work, which obviously doesn't work, examples of some types:

Quote

trying npc param in event below <Droplist>:

 <death>
<corpse>

 

also tried:

<AllSpoil Items="X" Count="X,X" Chance="X%" />

 

 

Not sure if its even possible to have spoil option in an event?

Let me know if someone could possibly point me in the right direction or let me know if I need a Java Dev to do this?

Thanks GB

  • 3 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and 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..