Jump to content
  • 0

PK Drop Specific Item % - Also Standard Item Drop %


Question

Posted

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!

5 answers to this question

Recommended Posts

  • 0
Posted

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

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

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