Skip to content
Permalink
Browse files
* Follow up 7cd82d0
-- Changed itemdb_array (array) to itemdb (DBMap)
-- Removed itemdb_other (DBMap)
-- Changed MAX_ITEMDB to MAX_ITEMID, by default limit is USHRT_MAX (65,535)
-- Changed item_drop_ratio_db (array) to mob_item_drop_ratio (DBMap)
-- Now all item datas stored in itemdb (DBMap) and mob item ratio datas in mob_item_drop_ratio (DBMap)

PS: I just realized that db/import/mob_item_ratio.txt doesn't work, because it loaded after mob_db.txt (another thing to do)
Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
  • Loading branch information
cydh committed Jun 20, 2014
1 parent 0fca530 commit 6c5d4a730f82afa9367ec0b29d8509ec95e420c5
Showing with 129 additions and 212 deletions.
  1. +1 −1 conf/msg_conf/map_msg.conf
  2. +1 −1 conf/msg_conf/map_msg_idn.conf
  3. +1 −2 db/import-tmpl/mob_item_ratio.txt
  4. +1 −1 db/mob_item_ratio.txt
  5. +88 −170 src/map/itemdb.c
  6. +2 −3 src/map/itemdb.h
  7. +1 −1 src/map/log.c
  8. +34 −33 src/map/mob.c
@@ -92,7 +92,7 @@
75: War of Emperium is currently not in progress.
76: All skills have been added to your skill tree.
77: The reference result of '%s' (name: id):
78: %s: %d
78: - %s: %d
79: It is %d affair above.
80: Give the display name or monster name/id please.
81: Your GM level doesn't authorize you to perform this action on the specified player.
@@ -92,7 +92,7 @@
75: War of Emperium saat ini tidak sedang berjalan.
76: Semua skill telah ditambahkan ke skill tree.
77: Hasil referensi dari '%s' (nama: id):
78: %s: %d
78: - %s: %d
79: Terdapat %d hal di atas.
80: Harap berikan nama tampilan atau nama/id monster.
81: Level GM kamu tidak diizinkan untuk untuk melakukan aksi ini pada pemain tertentu.
@@ -2,7 +2,7 @@
// Overrides for global item_rate* values from conf/battle/drops.conf
//
// Structure of Database:
// ItemID,Ratio{,MonsterID}
// ItemID,Ratio{,MonsterID1,...,MonsterID10}
//
// Result:
// ItemID base drop rates defined in mob_db will not get multiplied
@@ -28,4 +28,3 @@
// for different monsters, override drop rate with Ratio=100 and edit
// base drop rates in mob_db.
// - This file is reloaded by @reloadmobdb.

@@ -2,7 +2,7 @@
// Overrides for global item_rate* values from conf/battle/drops.conf
//
// Structure of Database:
// ItemID,Ratio{,MonsterID}
// ItemID,Ratio{,MonsterID1,...,MonsterID10}
//
// Result:
// ItemID base drop rates defined in mob_db will not get multiplied

0 comments on commit 6c5d4a7

Please sign in to comment.