Jump to content
  • 0

How to add an item drop to every MVP monster?


Question

1 answer to this question

Recommended Posts

Posted

You can use this

//-[TAB]script[TAB]item[TAB]-1,{
-       script  jellopy    -1,{

OnNPCKillEvent:
        if ( getmonsterinfo(killedrid,22) ){ // si da experiencia de MOB_MVPEXP, es un MVP. // If exp = MOB_MVPEXP then is an MVP
                if ( rand(100) < 15 ){ // 15% probabilidad de dropeo.// Drop rate
                        getitem 909 ,1;// ID de item que quieres que drope y cantidad // ID item you want the MVP drop
                }
        }
end;
}

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...