Browse Source

- Added IG_LottoBox for that tricky Lotto Box item.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7227 54d463be-8e91-2dee-dedb-b68131a5f0ec
skotlex 19 years ago
parent
commit
7e10a0586c
3 changed files with 8 additions and 5 deletions
  1. 1 0
      db/const.txt
  2. 6 5
      src/map/itemdb.c
  3. 1 0
      src/map/itemdb.h

+ 1 - 0
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

+ 6 - 5
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);

+ 1 - 0
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;