diff options
author | gepard1984 <gepard1984@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-01-26 15:55:42 +0000 |
---|---|---|
committer | gepard1984 <gepard1984@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-01-26 15:55:42 +0000 |
commit | 9442d178d287050bf9f3c42a520a5d85d6081e3e (patch) | |
tree | 78ad933e81c1a2c3a94d6e81b1f4ac9f4b5b0638 /db | |
parent | 35712069f3401965c6e26233d01a1a893e0ca326 (diff) | |
download | hercules-9442d178d287050bf9f3c42a520a5d85d6081e3e.tar.gz hercules-9442d178d287050bf9f3c42a520a5d85d6081e3e.tar.bz2 hercules-9442d178d287050bf9f3c42a520a5d85d6081e3e.tar.xz hercules-9442d178d287050bf9f3c42a520a5d85d6081e3e.zip |
* Modified drop system to allow overriding global item drop rates on per-item basis. For detailed explanation read source:trunk/db/mob_item_ratio.txt (topic:56118).
* Added missing update to `logs.sql` (follow-up to r15519).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15521 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'db')
-rw-r--r-- | db/mob_item_ratio.txt | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/db/mob_item_ratio.txt b/db/mob_item_ratio.txt new file mode 100644 index 000000000..f21edb347 --- /dev/null +++ b/db/mob_item_ratio.txt @@ -0,0 +1,29 @@ +// Overrides for global item_rate* values from conf/battle/drops.conf + +// Database format: +// ItemID,Ratio{,MonsterID} + +// 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.c 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. |