瀏覽代碼

Lotto Box Item Grouping (bugreport:5608)

Akkarinage 11 年之前
父節點
當前提交
f35599ef64
共有 4 個文件被更改,包括 61 次插入10 次删除
  1. 5 0
      db/const.txt
  2. 5 5
      db/re/item_db.txt
  3. 46 0
      db/re/item_package.txt
  4. 5 5
      sql-files/item_db.sql

+ 5 - 0
db/const.txt

@@ -1129,6 +1129,11 @@ IG_Support_Package	393
 IG_Support_Package10	394
 IG_Event_Almighty_Box	395
 IG_Event_Almighty_Box10	396
+IG_LottoBox1	397
+IG_LottoBox2	398
+IG_LottoBox3	399
+IG_LottoBox4	400
+IG_LottoBox5	401
 
 SC_ALL	-1
 SC_STONE	0

+ 5 - 5
db/re/item_db.txt

@@ -5736,11 +5736,11 @@
 12032,Box_Of_Storm,Box of Storms,11,1000,,200,,,,,0xFFFFFFFF,63,2,,,,,,{ itemskill "ITEM_ENCHANTARMS",2; },{},{}
 12033,Box_Of_Sunlight,Box of Sunlight,2,1000,,200,,,,,0xFFFFFFFF,63,2,,,,,,{ sc_start SC_Intravision,30000,0; },{},{}
 12034,Painting_Box,Box of Panting,2,1000,,200,,,,,0xFFFFFFFF,63,2,,,,,,{ percentheal 0,9; sc_start SC_Silence,30000,0,3000,0; },{},{}
-12035,Lotto_Box01,Lotto Box 01,2,0,,20,,,,,0xFFFFFFFF,63,2,,,,,,{ getitem rand(7361,7370),1; },{},{}
-12036,Lotto_Box02,Lotto Box 02,2,0,,20,,,,,0xFFFFFFFF,63,2,,,,,,{ getitem rand(7371,7380),1; },{},{}
-12037,Lotto_Box03,Lotto Box 03,2,0,,20,,,,,0xFFFFFFFF,63,2,,,,,,{ getitem rand(7381,7390),1; },{},{}
-12038,Lotto_Box04,Lotto Box 04,2,0,,20,,,,,0xFFFFFFFF,63,2,,,,,,{ getrandgroupitem(IG_LottoBox),1; },{},{}
-12039,Lotto_Box05,Lotto Box 05,2,0,,20,,,,,0xFFFFFFFF,63,2,,,,,,{ getitem rand(7542,7546),1; },{},{}
+12035,Lotto_Box01,Lotto Box 01,2,0,,20,,,,,0xFFFFFFFF,63,2,,,,,,{ getrandgroupitem(IG_LottoBox1),1; },{},{}
+12036,Lotto_Box02,Lotto Box 02,2,0,,20,,,,,0xFFFFFFFF,63,2,,,,,,{ getrandgroupitem(IG_LottoBox2),1; },{},{}
+12037,Lotto_Box03,Lotto Box 03,2,0,,20,,,,,0xFFFFFFFF,63,2,,,,,,{ getrandgroupitem(IG_LottoBox3),1; },{},{}
+12038,Lotto_Box04,Lotto Box 04,2,0,,20,,,,,0xFFFFFFFF,63,2,,,,,,{ getrandgroupitem(IG_LottoBox4),1; },{},{}
+12039,Lotto_Box05,Lotto Box 05,2,0,,20,,,,,0xFFFFFFFF,63,2,,,,,,{ getrandgroupitem(IG_LottoBox5),1; },{},{}
 12040,Stone_Of_Intelligence_,Stone of Sage,2,100000,,300,,,,,0xFFFFFFFF,63,2,,,,,,{ homevolution; },{},{}
 12041,Str_Dish01,Fried Grasshopper Legs,0,2000,,60,,,,,0xFFFFFFFF,63,2,,,,,,{ sc_start SC_STRFOOD,1200000,1; percentheal 5,0; },{},{}
 12042,Str_Dish02,Seasoned Sticky Webfoot,0,4000,,500,,,,,0xFFFFFFFF,63,2,,,,,,{ sc_start SC_STRFOOD,1200000,2; percentheal 5,0; },{},{}

+ 46 - 0
db/re/item_package.txt

@@ -3181,3 +3181,49 @@ IG_Event_Almighty_Box,Sealed_Kiel-D-01_Scroll,1,1,1
 //TODO: Confirm the items & rates
 IG_Event_Almighty_Box10,Almighty,1,100,1
 IG_Event_Almighty_Box10,Sealed_Kiel-D-01_Scroll,1,11,1
+
+IG_LottoBox1,Lotto01,1,1,1
+IG_LottoBox1,Lotto02,1,1,1
+IG_LottoBox1,Lotto03,1,1,1
+IG_LottoBox1,Lotto04,1,1,1
+IG_LottoBox1,Lotto05,1,1,1
+IG_LottoBox1,Lotto06,1,1,1
+IG_LottoBox1,Lotto07,1,1,1
+IG_LottoBox1,Lotto08,1,1,1
+IG_LottoBox1,Lotto09,1,1,1
+IG_LottoBox1,Lotto10,1,1,1
+IG_LottoBox2,Lotto11,1,1,1 
+IG_LottoBox2,Lotto12,1,1,1
+IG_LottoBox2,Lotto13,1,1,1
+IG_LottoBox2,Lotto14,1,1,1
+IG_LottoBox2,Lotto15,1,1,1
+IG_LottoBox2,Lotto16,1,1,1
+IG_LottoBox2,Lotto17,1,1,1
+IG_LottoBox2,Lotto18,1,1,1
+IG_LottoBox2,Lotto19,1,1,1
+IG_LottoBox2,Lotto20,1,1,1
+IG_LottoBox3,Lotto21,1,1,1 
+IG_LottoBox3,Lotto22,1,1,1
+IG_LottoBox3,Lotto23,1,1,1
+IG_LottoBox3,Lotto24,1,1,1
+IG_LottoBox3,Lotto25,1,1,1
+IG_LottoBox3,Lotto26,1,1,1
+IG_LottoBox3,Lotto27,1,1,1
+IG_LottoBox3,Lotto28,1,1,1
+IG_LottoBox3,Lotto29,1,1,1
+IG_LottoBox3,Lotto30,1,1,1
+IG_LottoBox4,Lotto31,1,1,1 
+IG_LottoBox4,Lotto32,1,1,1
+IG_LottoBox4,Lotto33,1,1,1
+IG_LottoBox4,Lotto34,1,1,1
+IG_LottoBox4,Lotto35,1,1,1
+IG_LottoBox4,Lotto36,1,1,1
+IG_LottoBox4,Lotto37,1,1,1
+IG_LottoBox4,Lotto38,1,1,1
+IG_LottoBox4,Lotto39,1,1,1
+IG_LottoBox4,Lotto40,1,1,1
+IG_LottoBox5,Lotto41,1,1,1 
+IG_LottoBox5,Lotto42,1,1,1
+IG_LottoBox5,Lotto43,1,1,1
+IG_LottoBox5,Lotto44,1,1,1
+IG_LottoBox5,Lotto45,1,1,1

+ 5 - 5
sql-files/item_db.sql

@@ -4614,11 +4614,11 @@ REPLACE INTO `item_db` VALUES (12031,'Sleepy_Box','Box of Drowsiness',2,1000,NUL
 REPLACE INTO `item_db` VALUES (12032,'Box_Of_Storm','Box of Storms',11,1000,NULL,200,NULL,NULL,NULL,NULL,0xFFFFFFFF,7,2,NULL,NULL,NULL,NULL,NULL,'itemskill "ITEM_ENCHANTARMS",2;',NULL,NULL);
 REPLACE INTO `item_db` VALUES (12033,'Box_Of_Sunlight','Box of Sunlight',2,1000,NULL,200,NULL,NULL,NULL,NULL,0xFFFFFFFF,7,2,NULL,NULL,NULL,NULL,NULL,'sc_start SC_Intravision,30000,0;',NULL,NULL);
 REPLACE INTO `item_db` VALUES (12034,'Painting_Box','Box of Panting',2,1000,NULL,200,NULL,NULL,NULL,NULL,0xFFFFFFFF,7,2,NULL,NULL,NULL,NULL,NULL,'percentheal 0,9; sc_start SC_Silence,30000,0,3000,0;',NULL,NULL);
-REPLACE INTO `item_db` VALUES (12035,'Lotto_Box01','Lotto Box 01',2,0,NULL,20,NULL,NULL,NULL,NULL,0xFFFFFFFF,7,2,NULL,NULL,NULL,NULL,NULL,'getitem rand(7361,7370),1;',NULL,NULL);
-REPLACE INTO `item_db` VALUES (12036,'Lotto_Box02','Lotto Box 02',2,0,NULL,20,NULL,NULL,NULL,NULL,0xFFFFFFFF,7,2,NULL,NULL,NULL,NULL,NULL,'getitem rand(7371,7380),1;',NULL,NULL);
-REPLACE INTO `item_db` VALUES (12037,'Lotto_Box03','Lotto Box 03',2,0,NULL,20,NULL,NULL,NULL,NULL,0xFFFFFFFF,7,2,NULL,NULL,NULL,NULL,NULL,'getitem rand(7381,7390),1;',NULL,NULL);
-REPLACE INTO `item_db` VALUES (12038,'Lotto_Box04','Lotto Box 04',2,0,NULL,20,NULL,NULL,NULL,NULL,0xFFFFFFFF,7,2,NULL,NULL,NULL,NULL,NULL,'getrandgroupitem(IG_LottoBox),1;',NULL,NULL);
-REPLACE INTO `item_db` VALUES (12039,'Lotto_Box05','Lotto Box 05',2,0,NULL,20,NULL,NULL,NULL,NULL,0xFFFFFFFF,7,2,NULL,NULL,NULL,NULL,NULL,'getitem rand(7542,7546),1;',NULL,NULL);
+REPLACE INTO `item_db` VALUES (12035,'Lotto_Box01','Lotto Box 01',2,0,NULL,20,NULL,NULL,NULL,NULL,0xFFFFFFFF,7,2,NULL,NULL,NULL,NULL,NULL,'getrandgroupitem(IG_LottoBox1),1;',NULL,NULL);
+REPLACE INTO `item_db` VALUES (12036,'Lotto_Box02','Lotto Box 02',2,0,NULL,20,NULL,NULL,NULL,NULL,0xFFFFFFFF,7,2,NULL,NULL,NULL,NULL,NULL,'getrandgroupitem(IG_LottoBox2),1;',NULL,NULL);
+REPLACE INTO `item_db` VALUES (12037,'Lotto_Box03','Lotto Box 03',2,0,NULL,20,NULL,NULL,NULL,NULL,0xFFFFFFFF,7,2,NULL,NULL,NULL,NULL,NULL,'getrandgroupitem(IG_LottoBox3),1;',NULL,NULL);
+REPLACE INTO `item_db` VALUES (12038,'Lotto_Box04','Lotto Box 04',2,0,NULL,20,NULL,NULL,NULL,NULL,0xFFFFFFFF,7,2,NULL,NULL,NULL,NULL,NULL,'getrandgroupitem(IG_LottoBox4),1;',NULL,NULL);
+REPLACE INTO `item_db` VALUES (12039,'Lotto_Box05','Lotto Box 05',2,0,NULL,20,NULL,NULL,NULL,NULL,0xFFFFFFFF,7,2,NULL,NULL,NULL,NULL,NULL,'getrandgroupitem(IG_LottoBox5),1;',NULL,NULL);
 REPLACE INTO `item_db` VALUES (12040,'Stone_Of_Intelligence_','Stone of Sage',2,100000,NULL,300,NULL,NULL,NULL,NULL,0xFFFFFFFF,7,2,NULL,NULL,NULL,NULL,NULL,'homevolution;',NULL,NULL);
 REPLACE INTO `item_db` VALUES (12041,'Str_Dish01','Fried Grasshopper Legs',0,2000,NULL,60,NULL,NULL,NULL,NULL,0xFFFFFFFF,7,2,NULL,NULL,NULL,NULL,NULL,'sc_start SC_STRFOOD,1200000,1; percentheal 5,0;',NULL,NULL);
 REPLACE INTO `item_db` VALUES (12042,'Str_Dish02','Seasoned Sticky Webfoot',0,4000,NULL,500,NULL,NULL,NULL,NULL,0xFFFFFFFF,7,2,NULL,NULL,NULL,NULL,NULL,'sc_start SC_STRFOOD,1200000,2; percentheal 5,0;',NULL,NULL);