Jump to content
  • 0

how to create a custom drop rate?


sasuke

Question


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  17
  • Reputation:   0
  • Joined:  01/28/12
  • Last Seen:  

how to create a custom drop rate? I've already fixed the card drop rate of mvp and normal monster. I need to know how to custom drop rate of a specific card. For example lhz cards droprate is 1%

Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  134
  • Reputation:   35
  • Joined:  02/27/12
  • Last Seen:  

IMO, simplest way is changing the drop rate directly into database(maybe it'd be easiest coding it to the source, but it could generate maintenance and you have to know programming in c or have someone for doing it to you).

You'll change value of drops from those cards you want looking in the fields:

DropCardid

DropCardper

These fields are in mob_db table.

Change in the config files the chance back to default, that would make cards as 0.01% drop chance, so in the database, change all the cards "DropCardper" except those you want a low value to the rate you want, if you want 100% so the value will be 10000, then you change the values of cards you want to 1%(100 is 1%).

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