diff options
-rw-r--r-- | db/item_db.txt | 2 | ||||
-rw-r--r-- | db/item_misc.txt | 11 | ||||
-rw-r--r-- | sql-files/item_db.sql | 2 |
3 files changed, 13 insertions, 2 deletions
diff --git a/db/item_db.txt b/db/item_db.txt index 82ca770ba..ab25d509e 100644 --- a/db/item_db.txt +++ b/db/item_db.txt @@ -2286,7 +2286,7 @@ 12035,Lotto_Box_01,Lotto Box 01,2,,10,20,,,,,0xFFFFFFFF,7,2,,,,,,{ getitem rand(7361,7368),1; },{},{}
12036,Lotto_Box_02,Lotto Box 02,2,,10,20,,,,,0xFFFFFFFF,7,2,,,,,,{ getitem rand(7369,7376),1; },{},{}
12037,Lotto_Box_03,Lotto Box 03,2,,10,20,,,,,0xFFFFFFFF,7,2,,,,,,{ getitem rand(7377,7384),1; },{},{}
-12038,Lotto_Box_04,Lotto Box 04,2,,10,20,,,,,0xFFFFFFFF,7,2,,,,,,{ getitem rand(7385,7392),1; },{},{}
+12038,Lotto_Box_04,Lotto Box 04,2,,10,20,,,,,0xFFFFFFFF,7,2,,,,,,{ getitem groupranditem(IG_LottoBox),1; },{},{}
12039,Lotto_Box_05,Lotto Box 05,2,,10,20,,,,,0xFFFFFFFF,7,2,,,,,,{ getitem rand(7393,7398),1; },{},{}
12040,Philosopher's_Stone,Philosopher's Stone,2,,50000,300,,,,,0xFFFFFFFF,7,2,,,,,,{},{},{}
// Mixed Foods (+1 to +5)
diff --git a/db/item_misc.txt b/db/item_misc.txt index d96ad31a1..282428e47 100644 --- a/db/item_misc.txt +++ b/db/item_misc.txt @@ -606,3 +606,14 @@ 33,2234,2 //Tiara
33,5042,5 //Bao Bao
33,5066,1 //Succubus Horn
+// Lotto Box
+35,7391
+35,7392
+35,7393
+35,7394
+35,7395
+35,7396
+35,7397
+35,7398
+35,7540
+35,7541
diff --git a/sql-files/item_db.sql b/sql-files/item_db.sql index 4625058af..ace5dcd57 100644 --- a/sql-files/item_db.sql +++ b/sql-files/item_db.sql @@ -2314,7 +2314,7 @@ REPLACE INTO `item_db` VALUES (12034,'Box_of_Panting','Box of Panting',2,NULL,50 REPLACE INTO `item_db` VALUES (12035,'Lotto_Box_01','Lotto Box 01',2,NULL,10,20,NULL,NULL,NULL,NULL,0xFFFFFFFF,7,2,NULL,NULL,NULL,NULL,NULL,' getitem rand(7361,7368),1; ',NULL,NULL); REPLACE INTO `item_db` VALUES (12036,'Lotto_Box_02','Lotto Box 02',2,NULL,10,20,NULL,NULL,NULL,NULL,0xFFFFFFFF,7,2,NULL,NULL,NULL,NULL,NULL,' getitem rand(7369,7376),1; ',NULL,NULL); REPLACE INTO `item_db` VALUES (12037,'Lotto_Box_03','Lotto Box 03',2,NULL,10,20,NULL,NULL,NULL,NULL,0xFFFFFFFF,7,2,NULL,NULL,NULL,NULL,NULL,' getitem rand(7377,7384),1; ',NULL,NULL); -REPLACE INTO `item_db` VALUES (12038,'Lotto_Box_04','Lotto Box 04',2,NULL,10,20,NULL,NULL,NULL,NULL,0xFFFFFFFF,7,2,NULL,NULL,NULL,NULL,NULL,' getitem rand(7385,7392),1; ',NULL,NULL); +REPLACE INTO `item_db` VALUES (12038,'Lotto_Box_04','Lotto Box 04',2,NULL,10,20,NULL,NULL,NULL,NULL,0xFFFFFFFF,7,2,NULL,NULL,NULL,NULL,NULL,' getitem groupranditem(IG_LottoBox),1; ',NULL,NULL); REPLACE INTO `item_db` VALUES (12039,'Lotto_Box_05','Lotto Box 05',2,NULL,10,20,NULL,NULL,NULL,NULL,0xFFFFFFFF,7,2,NULL,NULL,NULL,NULL,NULL,' getitem rand(7393,7398),1; ',NULL,NULL); REPLACE INTO `item_db` VALUES (12040,'Philosopher\'s_Stone','Philosopher\'s Stone',2,NULL,50000,300,NULL,NULL,NULL,NULL,0xFFFFFFFF,7,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL); # // Mixed Foods (+1 to +5) |