Jump to content
  • 0
Sign in to follow this  
mrlongshen

Kill specific mobs, drop item

Question

Mimic card.

 

bonus2 bAddMonsterDropItem,603,10;

 

How to make when player kill specific monster,

chance to get dead branch 10% ?

Share this post


Link to post
Share on other sites

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

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