From 0d9b33c1abf7e6c09c3e993e050f69383654a29b Mon Sep 17 00:00:00 2001
From: Jedzkie <jedzkie13@rocketmail.com>
Date: Wed, 18 Nov 2015 22:22:04 +0800
Subject: ItemDB Updates:  - Update Flame Stone, Ice Stone, Wind Stone, and
 Shadow Orb selling price base on kRO.  - Update 'Mother_Heart' item effect.
 (Ref: http://www.divine-pride.net/database/item/2885)  - Update
 'Fools_Day_Box' and 'Fools_Day_Box2' based on Aegis.  - Update some item
 scripts based on Aegis.  - Changed some ItemID into Constants, Partial commit
 of my ItemID to Constant assignment.  - Added New items and its effect and
 trade restrictions:     • Mercenary_Casting_ (ID# 12807) (Ref:
 http://www.divine-pride.net/database/item/12807)     • Mother_Love_Box (ID#
 12808) (Ref: http://www.divine-pride.net/database/item/12808)     •
 Level_Up_Box (ID# 12809) (Ref:
 http://www.divine-pride.net/database/item/12809)     • Zherlthsh_Tck_Box_
 (ID# 12819) (Ref: http://www.divine-pride.net/database/item/12819)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 db/pre-re/item_db.conf | 78 ++++++++++++++++++++++++++++++++------------------
 1 file changed, 50 insertions(+), 28 deletions(-)

(limited to 'db/pre-re')

diff --git a/db/pre-re/item_db.conf b/db/pre-re/item_db.conf
index c777aa28f..fb30cbd17 100644
--- a/db/pre-re/item_db.conf
+++ b/db/pre-re/item_db.conf
@@ -67027,16 +67027,16 @@ item_db: (
 		sitting: true
 	}
 	Script: <"
-		if(rand(1,10)==1) itemskill AL_TELEPORT,1;
-		else if(rand(1,10)==2) itemskill AL_TELEPORT,3;
-		else if(rand(1,10)==3) percentheal 50,0;
-		else if(rand(1,10)==4) percentheal 0,50;
-		else if(rand(1,10)==5) end;
-		else if(rand(1,10)==6) getitem 512,1;
-		else if(rand(1,10)==7) itemskill ALL_REVERSEORCISH,1;
-		else if(rand(1,10)==8) specialeffect2 247;
-		else if(rand(1,10)==9) specialeffect2 338;
-		else specialeffect2 10;
+		if (rand(1,10) == 1) itemskill AL_TELEPORT,1;
+		else if (rand(1,10) == 2) itemskill AL_TELEPORT,3;
+		else if (rand(1,10) == 3) percentheal 50,0;
+		else if (rand(1,10) == 4) percentheal 0,50;
+		else if (rand(1,10) == 5) percentheal 50,50;
+		else if (rand(1,10) == 6) getitem Apple,1;
+		else if (rand(1,10) == 7) itemskill ALL_REVERSEORCISH,1;
+		else if (rand(1,10) == 8) specialeffect2 EF_MAPPILLAR2;
+		else if (rand(1,10) == 9) specialeffect2 EF_ANGEL2;
+		else specialeffect2 EF_COIN;
 	">
 },
 {
@@ -67055,16 +67055,16 @@ item_db: (
 		sitting: true
 	}
 	Script: <"
-		if(rand(1,10)==1) itemskill TF_DETOXIFY,1;
-		else if(rand(1,10)==2) itemskill TF_PICKSTONE,1;
-		else if(rand(1,10)==3) itemskill BA_FROSTJOKER,1;
-		else if(rand(1,10)==4) itemskill DC_SCREAM,1;
-		else if(rand(1,10)==5) end;
-		else if(rand(1,10)==6) getitem 909,1;
-		else if(rand(1,10)==7) itemskill AL_RUWACH,1;
-		else if(rand(1,10)==8) specialeffect2 328;
-		else if(rand(1,10)==9) specialeffect2 68;
-		else specialeffect2 196;
+		if (rand(1,10) == 1) itemskill TF_DETOXIFY,1;
+		else if (rand(1,10) == 2) itemskill TF_PICKSTONE,1;
+		else if (rand(1,10) == 3) itemskill BA_FROSTJOKER,1;
+		else if (rand(1,10) == 4) itemskill DC_SCREAM,1;
+		else if (rand(1,10) == 5) percentheal 50,50;
+		else if (rand(1,10) == 6) getitem Jellopy,1;
+		else if (rand(1,10) == 7) itemskill AL_RUWACH,1;
+		else if (rand(1,10) == 8) specialeffect2 EF_BEGINASURA;
+		else if (rand(1,10) == 9) specialeffect2 EF_MVP;
+		else specialeffect2 EF_CURSEATTACK;
 	">
 },
 {
@@ -68413,6 +68413,7 @@ item_db: (
 		nomail: true
 		noauction: true
 	}
+	Script: <" getitem White_Potion,100; ">
 },
 {
 	Id: 12532
@@ -68429,6 +68430,7 @@ item_db: (
 		nomail: true
 		noauction: true
 	}
+	Script: <" getitem Royal_Jelly,100; ">
 },
 {
 	Id: 12533
@@ -68445,6 +68447,7 @@ item_db: (
 		nomail: true
 		noauction: true
 	}
+	Script: <" getitem Blue_Herb,100; ">
 },
 {
 	Id: 12534
@@ -68461,6 +68464,7 @@ item_db: (
 		nomail: true
 		noauction: true
 	}
+	Script: <" getitem Seed_Of_Yggdrasil,30; ">
 },
 // unknown type, not in database
 /*
@@ -68480,6 +68484,7 @@ item_db: (
 	Buy: 20
 	Weight: 100
 	BuyingStore: true
+	Script: <" percentheal 20,20; ">
 },
 {
 	Id: 12537
@@ -68603,6 +68608,7 @@ item_db: (
 	Type: 2
 	Buy: 100
 	Weight: 50
+	Script: <" sc_start SC_POISON,12000,0; ">
 },
 {
 	Id: 12547
@@ -68636,6 +68642,7 @@ item_db: (
 		nomail: true
 		noauction: true
 	}
+	Script: <" getitem White_Slim_Potion,200; ">
 },
 {
 	Id: 12550
@@ -68652,6 +68659,7 @@ item_db: (
 		nomail: true
 		noauction: true
 	}
+	Script: <" getitem Poison_Bottle,30; ">
 },
 {
 	Id: 12551
@@ -68855,6 +68863,7 @@ item_db: (
 	Buy: 500
 	Weight: 250
 	BuyingStore: true
+	Script: <" getitem Arrow_Of_Elf,500; ">
 },
 {
 	Id: 12576
@@ -68864,6 +68873,7 @@ item_db: (
 	Buy: 500
 	Weight: 250
 	BuyingStore: true
+	Script: <" getitem Hunting_Arrow,500; ">
 },
 {
 	Id: 12577
@@ -68941,8 +68951,8 @@ item_db: (
 	Buy: 0
 	Weight: 200
 	Script: <"
-		getrandgroupitem 12702,1;
-		getrandgroupitem 12702,1;
+		getrandgroupitem Old_Bleu_Box,1;
+		getrandgroupitem Old_Bleu_Box,1;
 	">
 },
 {
@@ -69060,6 +69070,7 @@ item_db: (
 	Type: 2
 	Buy: 2
 	Weight: 100
+	Script: <" percentheal 0,50; ">
 },
 {
 	Id: 12713
@@ -69472,6 +69483,7 @@ item_db: (
 	Type: 2
 	Buy: 0
 	Weight: 10
+	Script: <" percentheal 10,10; ">
 },
 {
 	Id: 12740
@@ -69503,6 +69515,7 @@ item_db: (
 	Name: "Valentine Gift Box"
 	Type: 2
 	Buy: 0
+	Script: <" getitem Valentine_Gold_Ring,1; ">
 },
 {
 	Id: 12743
@@ -69510,6 +69523,7 @@ item_db: (
 	Name: "Valentine Gift Box"
 	Type: 2
 	Buy: 0
+	Script: <" getitem Valentine_Silver_Ring,1; ">
 },
 {
 	Id: 12744
@@ -69517,6 +69531,7 @@ item_db: (
 	Name: "Chocolate Box"
 	Type: 2
 	Buy: 0
+	Script: <" getitem Chocolate,1; ">
 },
 {
 	Id: 12745
@@ -69649,6 +69664,7 @@ item_db: (
 		nomail: true
 		noauction: true
 	}
+	Script: <" percentheal 50,50; ">
 },
 {
 	Id: 12755
@@ -69666,6 +69682,11 @@ item_db: (
 		nomail: true
 		noauction: true
 	}
+	Script: <"
+		specialeffect2 EF_POK_JAP;
+		itemskill MO_CALLSPIRITS,3;
+		itemskill MO_FINGEROFFENSIV,5;
+	">
 },
 {
 	Id: 12756
@@ -69769,6 +69790,7 @@ item_db: (
 		nomail: true
 		noauction: true
 	}
+	Script: <" sc_start SC_CASH_PLUSONLYJOBEXP,1800000,25; ">
 },
 {
 	Id: 12767
@@ -69913,10 +69935,10 @@ item_db: (
 		noauction: true
 	}
 	Script: <"
-		getitem 545,100;
-		getitem 546,100;
-		getitem 547,100;
-		getitem 505,100;
+		getitem Red_Slim_Potion,100;
+		getitem Yellow_Slim_Potion,100;
+		getitem White_Slim_Potion,100;
+		getitem Blue_Potion,100;
 	">
 },
 {
@@ -69928,8 +69950,8 @@ item_db: (
 	Weight: 10
 	Script: <"
 		if(getskilllv(HT_FALCON)) {
-			if(checkoption(Option_Wug)||checkoption(Option_Wugrider)) end;
-			if(checkfalcon()==1) {
+			if(checkoption(Option_Wug) || checkoption(Option_Wugrider)) end;
+			if(checkfalcon() == 1) {
 				setfalcon 0;
 			}
 			else {
-- 
cgit v1.2.3-70-g09d2