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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...