Jump to content
  • 0

PK Drop Specific Item % - Also Standard Item Drop %


epiks

Question

Hi guys,

 

I need a way that once you pk someone there is a lets say 10% chance of a custom item spawning in the pkers inventory. NOT from the dead guys inventory!

 

Lets say I PK someone I should have a 10% chance of spawning item: "Certificate of PK" into pkers inventory. Is there a way possible to do this?

 

Also-- Is there a way to change specific drop rate % for certain mobs? Lets say I wanted to add vespar items to valakas. But I only want the vespar item to have 1% drop rate. How would I do that?

 

Thanks ahead of time guys!

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

About the first,

if (Rnd.get(100) < 10)
{
         addItem("pk reward", ITEMID, COUNT, this, true);
}

 

About the second one, this can be done on the mob's droplist(shift+click on mob).

Link to comment
Share on other sites

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
Answer this question...

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

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock