Jump to content
  • 0

Loot for all monster


Muffin

Question


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  5
  • Reputation:   0
  • Joined:  09/19/12
  • Last Seen:  

It's possible to have a script who, for ALL monster of RO, drop an Item XXX ? (0.50% for example)

Don't tell me to add for each mob in mobdb.txt pls xD.

Thanks uuuuuuuuuuuuuuuuuuuuu <3

Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10018
  • Reputation:   2369
  • Joined:  10/28/11
  • Last Seen:  

OnPCKillEvent:
if( killedrid == <monsterID> && rand(10000) < 50 )
   getitem 512,1;
end;

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  5
  • Reputation:   0
  • Joined:  09/19/12
  • Last Seen:  

<monsterID> means for an unique mob, no? (Like 1002 for Poring)

I want for all monster of RO q__q (1001 to 2370~), please !

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10018
  • Reputation:   2369
  • Joined:  10/28/11
  • Last Seen:  

just remove it if you dont need it...

if( rand(10000) < 50 )
   getitem 512,1;

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  5
  • Reputation:   0
  • Joined:  09/19/12
  • Last Seen:  

Oh, so simply xD.

Thanks u Dear !

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  5
  • Reputation:   0
  • Joined:  09/19/12
  • Last Seen:  

Just a little error !

It's OnNPCKillEvent: :P

But thx again !

Edited by Muffin
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...