summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--db/const.txt1
-rw-r--r--src/map/itemdb.c11
-rw-r--r--src/map/itemdb.h1
3 files changed, 8 insertions, 5 deletions
diff --git a/db/const.txt b/db/const.txt
index adc6ff0d4..9f3b2e900 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 86c79f52f..dfc59416d 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 b2ffae352..5c7ef4240 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;