Jump to content
  • 0

specific drop's card rate


kilow

Question


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.01
  • Content Count:  41
  • Reputation:   0
  • Joined:  05/18/20
  • Last Seen:  

Hi,

I didn't found / understand how specific drop's card rate works, aspecially if i need to set a value smaller than global value.
For example :
item_rate_card: 100000  //10%
item_rate_card_boss: 10000    // 1%
item_rate_card_mvp: 5000 // 0.50%
item_drop_card_min: 100
item_drop_card_max: 100000

For GTB, not 0.50 % but 0.25%


      - Item: Golden_Bug_Card
        Rate: 1 -- no change ( > 0.5% according to item_rate_card_mvp)

        Rate: 100 gives GTB card at 25%

but how to set a smaller value?

because writing this :

      - Item: Golden_Bug_Card
        Rate: 0.5 or 0,5 -- make error


 

I alsow tried to write
4128, 2500 in item_db.yml ( db/pre re and db/)
4128, 10 in item_db.yml ( db/pre re and db/) ( to test )


Thank you


 

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  12
  • Reputation:   4
  • Joined:  05/06/18
  • Last Seen:  

@kilow if you want specific adjustment edit  https://github.com/rathena/rathena/blob/master/db/mob_item_ratio.txt

// Specific Item Drop Ratio Database
// Overrides for global item_rate* values from conf/battle/drops.conf
//
// Structure of Database:
// ItemID,Ratio{,MonsterID1,...,MonsterID10}
//
// Result:
// ItemID base drop rates defined in mob_db will not get multiplied
//  by global item_rate* values (aka drop rates) from
//  conf/battle/drops.conf. Instead Ratio will be used (100 = 1x).
// If no MonsterID is specified, all monsters will be affected,
//  otherwise only listed ones.
//
// Examples:
// 909,100 // Jellopies from monsters will drop with 1x drop rate regardless of global drop rate
// 909,1000 // Jellopies from monsters will drop with 10x drop rate regardless of global drop rate
// 909,100,1002 // Jellopies from Porings will drop with 1x drop rate. Other monsters that drop Jellopies are unaffected (use global drop rate).
//
// Notes:
// - By default you can list up to 10 MonsterIDs per ItemID.
//   It can be changed in src/map/mob.cpp by adjusting MAX_ITEMRATIO_MOBS.
// - Only ItemIDs up to MAX_ITEMDB are supported (default: 32768).
// - Does not override item_drop_*_min/max settings.
// - Does not affect card/item-granted drops. To adjust card/item-granted
//   drops, edit them in item_db.
// - Does affect MVP prizes and Treasure Boxes.
// - You can add only ONE line per ItemID. If you need various ratios
//   for different monsters, override drop rate with Ratio=100 and edit
//   base drop rates in mob_db.
// - This file is reloaded by @reloadmobdb.

//Add here
//Example

4128,500 // golden thief bug card drop at 5x drop rate or 0.05%

  • Like 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  924
  • Reputation:   167
  • Joined:  04/05/13
  • Last Seen:  

Rate 1 is smallest value that can be put on db.

Try set all drop rate in conf to normal value (100) and type

@mi 1086

In game, it will show exact drop rate 0.01% for sure. Then adjust drop rate at your wish and check with mi again.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.01
  • Content Count:  41
  • Reputation:   0
  • Joined:  05/18/20
  • Last Seen:  

i am not sure what you say exactly but i  would like all mvp to 0.5 ( so i set 5000 as i write in the first post ), except few mvp to 0.25 ( 2500). That is why i did like that, and adjust those few mvp after seting to 0.5 commons mvp.
If i understand you, i can only do that with adjustement mvp by mvp? ( make the card to 0.5% and 0.25 one by one?

ok
Thank you 

Ok, this works, thank you.

*
 i tried this line in a wrong file because it was written :

// - Does not affect card/item-granted drops. To adjust card/item-granted
//   drops, edit them in item_db.


English is not my native language so i believed that this comment said that for card it can't be possible to writte directly on the file.

 

Edited by kilow
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  924
  • Reputation:   167
  • Joined:  04/05/13
  • Last Seen:  

Yes one by one.

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