Jump to content
  • 0

How to add an item drop to every MVP monster?


ZAGALiC

Question


  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.01
  • Content Count:  125
  • Reputation:   0
  • Joined:  06/07/13
  • Last Seen:  

How to add an item drop to any MVP monsters?

For example, when I kill a mvp it will drop jellopy.

Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  118
  • Reputation:   6
  • Joined:  12/20/12
  • Last Seen:  

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

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