summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-17 17:20:24 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-17 17:20:24 +0000
commite04fbae4b6ba46529790c663ab2d570ecb32427a (patch)
tree78aae1c80c8c5cf40c642710fa51a054403b5a60
parentb6fff46c2804138176cb9f1d1c25dbab795764fa (diff)
downloadhercules-e04fbae4b6ba46529790c663ab2d570ecb32427a.tar.gz
hercules-e04fbae4b6ba46529790c663ab2d570ecb32427a.tar.bz2
hercules-e04fbae4b6ba46529790c663ab2d570ecb32427a.tar.xz
hercules-e04fbae4b6ba46529790c663ab2d570ecb32427a.zip
- Implemented correct script for "12038,Lotto_Box_04"
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7228 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--db/item_db.txt2
-rw-r--r--db/item_misc.txt11
-rw-r--r--sql-files/item_db.sql2
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)