diff --git a/db/const.txt b/db/const.txt index adc6ff0d45..9f3b2e900e 100644 --- a/db/const.txt +++ b/db/const.txt @@ -388,6 +388,7 @@ IG_GiftBox_4 31 IG_EggBoy 32 IG_EggGirl 33 IG_GiftBoxChina 34 +IG_LottoBox 35 SC_STONE 0 SC_FREEZE 1 diff --git a/src/map/itemdb.c b/src/map/itemdb.c index 86c79f52f3..dfc59416d5 100644 --- a/src/map/itemdb.c +++ b/src/map/itemdb.c @@ -484,13 +484,14 @@ static void itemdb_read_itemgroup(void) "Masks", "Accesory", "Jewels", - "Gift Box", - "Gift Box", - "Gift Box", - "Gift Box", + "Gift Box 1", + "Gift Box 2", + "Gift Box 3", + "Gift Box 4", "Egg Boy", "Egg Girl", - "Gift Box" + "Gift Box China", + "Lotto Box", }; memset(&itemgroup_db, 0, sizeof(itemgroup_db)); snprintf(path, 255, "%s/item_group_db.txt", db_path); diff --git a/src/map/itemdb.h b/src/map/itemdb.h index b2ffae352a..5c7ef4240f 100644 --- a/src/map/itemdb.h +++ b/src/map/itemdb.h @@ -94,6 +94,7 @@ enum { IG_EGGBOY, //32 IG_EGGGIRL, //33 IG_GIFTBOXCHINA, //34 + IG_LOTTOBOX, //35 MAX_ITEMGROUP, } item_group_list;