Jump to content
  • 0
Sign in to follow this  
mrlongshen

Kill specific mobs, drop item

Question

7 answers to this question

Recommended Posts

  • 0

Use NPC script:

-    script    OnKillMonsterDoDropItem    -1,{    OnNPCKillEvent:    switch(killedrid) {        case 1002: // Poring            if(rand(10000) < 500) { // < 100 = 1% drop chance                getitem 7539, 1; // Poring Coin                break;            } else break;                default: // All other monsters            break;    }}

Share this post


Link to post
Share on other sites
  • 0

bonus3 bAddClassDropItem,item id,mid,n; Adds a n/100% chance of dropping item id when killing monster mid

Edited by Angelmelody

Share this post


Link to post
Share on other sites
  • 0

@@Angelmelody mid ? means ? 

 

for example  I want to get 100% on dead branch on killing scorpion. Like this :?

bonus3 bAddClassDropItem,604,1001,100;

 

@@Oxxy No sir, I wanto to make a item based script. on equip. hehe. like mimic card, but on specific card.

Share this post


Link to post
Share on other sites
  • 0

@@Angelmelody mid ? means ? 

 

for example  I want to get 100% on dead branch on killing scorpion. Like this :?

bonus3 bAddClassDropItem,604,1001,100;

 

@@Oxxy No sir, I wanto to make a item based script. on equip. hehe. like mimic card, but on specific card.

mid = monster id

n/100% chance --> n/10000

100% ===> n = 10000

Share this post


Link to post
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.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.