From e511dcf5940cee7a6e43744543a5ca96bc23cf84 Mon Sep 17 00:00:00 2001
From: Jedzkie <jedzkie13@rocketmail.com>
Date: Thu, 19 Nov 2015 16:43:15 +0800
Subject: ItemDB Updates:  - Change the effect of 'Devil Morocc Card' from
 MaxHP to MaxSP (Ref: http://www.divine-pride.net/database/item/4559)  -
 Change the behavior of 'Fools Day Box' and 'Fools Day Box2'. (Thanks to Haru
 and Emistry)  - Added the combo effect script of 'White Knightage Card' and
 'Khalitzburg Knightage Card'. (Ref:
 http://www.divine-pride.net/database/item/4608)  - Fix 'Birdcage Of Paradise'
 where the skill bonus is not working in Ranger Job and seperate its combo
 effect.  - Added 54 New Cards up to the latest kRO Sakray Update (November
 18, 2015)    • Infinite Toad Card (ID#4642) (Ref:
 http://www.divine-pride.net/database/item/4642)    • Infinite Vagabond Card
 (ID#4643) (Ref: http://www.divine-pride.net/database/item/4643)    • Infinite
 Vocal Card (ID#4644) (Ref: http://www.divine-pride.net/database/item/4644)   
 • Infinite Eclipse Card (ID#4645) (Ref:
 http://www.divine-pride.net/database/item/4645)    • Infinite Chimera Card
 (ID#4646) (Ref: http://www.divine-pride.net/database/item/4646)    • Infinite
 Osiris Card (ID#4647) (Ref: http://www.divine-pride.net/database/item/4647)  
  • Infinite Eddga Card (ID#4648) (Ref:
 http://www.divine-pride.net/database/item/4648)    • Infinite Phreeoni Card
 (ID#4649) (Ref: http://www.divine-pride.net/database/item/4649)    • [WIP]
 Infinite Infinite Orc Hero Card (ID#4650) (Ref:
 http://www.divine-pride.net/database/item/4650)    • Infinite Tao Gunka Card
 (ID#4651) (Ref: http://www.divine-pride.net/database/item/4651)    •
 Nightmare Amon Ra Card (ID#4652) (Ref:
 http://www.divine-pride.net/database/item/4652)    • Nightmare Arclouse Card
 (ID#4653) (Ref: http://www.divine-pride.net/database/item/4653)    •
 Nightmare Mimic Card (ID#4654) (Ref:
 http://www.divine-pride.net/database/item/4654)    • Nightmare Minorous Card
 (ID#4655) (Ref: http://www.divine-pride.net/database/item/4655)    • [WIP]
 Nightmare Mummy Card (ID#4656) (Ref:
 http://www.divine-pride.net/database/item/4656)    • [WIP] Nightmare Ancient
 Mummy Card (ID#4657) (Ref: http://www.divine-pride.net/database/item/4657)   
 • Nightmare Verit Card (ID#4658) (Ref:
 http://www.divine-pride.net/database/item/4658)    • Eggring Card (ID#4659)
 (Ref: http://www.divine-pride.net/database/item/4659)    • Scout Basilisk
 Card (ID#4660) (Ref: http://www.divine-pride.net/database/item/4660)    •
 Charge Basilisk Card (ID#4661) (Ref:
 http://www.divine-pride.net/database/item/4661)    • Big Eggring Card
 (ID#4662) (Ref: http://www.divine-pride.net/database/item/4662)    • Leaf
 Lunatic Card (ID#4663) (Ref: http://www.divine-pride.net/database/item/4663) 
   • Grass Fabre Card (ID#4664) (Ref:
 http://www.divine-pride.net/database/item/4664)    • Wild Honet Card
 (ID#4665) (Ref: http://www.divine-pride.net/database/item/4665)    • Sweet
 Roda Frog Card (ID#4666) (Ref:
 http://www.divine-pride.net/database/item/4666)    • Hunter Wolf Card
 (ID#4667) (Ref: http://www.divine-pride.net/database/item/4667)    • Trance
 Spore Card (ID#4668) (Ref: http://www.divine-pride.net/database/item/4668)   
 • Jungle Mandragora Card (ID#4669) (Ref:
 http://www.divine-pride.net/database/item/4669)    • Fruit Pom Spider Card
 (ID#4670) (Ref: http://www.divine-pride.net/database/item/4670)    • Sorcerer
 Celia Card (ID#4671) (Ref: http://www.divine-pride.net/database/item/4671)   
 • Sura Chen Card (ID#4672) (Ref:
 http://www.divine-pride.net/database/item/4672)    • Minstrel Alphoccio Card
 (ID#4673) (Ref: http://www.divine-pride.net/database/item/4673)    •
 Guillotine Cross Eremes Card (ID#4674) (Ref:
 http://www.divine-pride.net/database/item/4674)    • Arch Bishop Magaleta
 Card (ID#4675) (Ref: http://www.divine-pride.net/database/item/4675)    •
 Ranger Cecil Card (ID#4676) (Ref:
 http://www.divine-pride.net/database/item/4676)    • Mechanic Howard Card
 (ID#4677) (Ref: http://www.divine-pride.net/database/item/4677)    • Warlock
 Kathryne Card (ID#4678) (Ref: http://www.divine-pride.net/database/item/4678)
    • Rune Knight Seyren Card (ID#4679) (Ref:
 http://www.divine-pride.net/database/item/4679)    • Royal Guard Randel Card
 (ID#4680) (Ref: http://www.divine-pride.net/database/item/4680)    • Genetic
 Flamel Card (ID#4681) (Ref: http://www.divine-pride.net/database/item/4681)  
  • Shadow Chaser Gertie Card (ID#4682) (Ref:
 http://www.divine-pride.net/database/item/4682)    • Wanderer Trentini Card
 (ID#4683) (Ref: http://www.divine-pride.net/database/item/4683)    • True
 Eremes Guile Card (ID#4684) (Ref:
 http://www.divine-pride.net/database/item/4684)    • True Margaretha Sorin
 Card (ID#4685) (Ref: http://www.divine-pride.net/database/item/4685)    •
 True Kathryne Keyron Card (ID#4686) (Ref:
 http://www.divine-pride.net/database/item/4686)    • True Cecil Damon Card
 (ID#4687) (Ref: http://www.divine-pride.net/database/item/4687)    • True
 Howard Alt-Eisen Card (ID#4688) (Ref:
 http://www.divine-pride.net/database/item/4688)    • True Seyren Windsor Card
 (ID#4689) (Ref: http://www.divine-pride.net/database/item/4689)    • True
 Randel Lawrence Card (ID#4690) (Ref:
 http://www.divine-pride.net/database/item/4690)    • True Flamel Emure Card
 (ID#4691) (Ref: http://www.divine-pride.net/database/item/4691)    • True
 Celia Alde Card (ID#4692) (Ref:
 http://www.divine-pride.net/database/item/4692)    • True Chen Liu Card
 (ID#4693) (Ref: http://www.divine-pride.net/database/item/4693)    • True
 Gertie Card (ID#4694) (Ref: http://www.divine-pride.net/database/item/4694)  
  • True Trentini Card (ID#4695) (Ref:
 http://www.divine-pride.net/database/item/4695)    • True Alphoccio Card
 (ID#4696) (Ref: http://www.divine-pride.net/database/item/4696)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 db/pre-re/item_db.conf  |  38 +--
 db/re/item_combo_db.txt |   9 +
 db/re/item_db.conf      | 819 ++++++++++++++++++++++++++++++++++++++++++++++--
 3 files changed, 821 insertions(+), 45 deletions(-)

(limited to 'db')

diff --git a/db/pre-re/item_db.conf b/db/pre-re/item_db.conf
index 13ba79318..cbd28b8b6 100644
--- a/db/pre-re/item_db.conf
+++ b/db/pre-re/item_db.conf
@@ -67027,15 +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) 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;
+		.@i = rand(1,10);
+		if (.@i == 1) itemskill AL_TELEPORT,1;
+		else if (.@i == 2) itemskill AL_TELEPORT,3;
+		else if (.@i == 3) percentheal 50,0;
+		else if (.@i == 4) percentheal 0,50;
+		else if (.@i == 5) percentheal 50,50;
+		else if (.@i == 6) getitem Apple,1;
+		else if (.@i == 7) itemskill ALL_REVERSEORCISH,1;
+		else if (.@i == 8) specialeffect2 EF_MAPPILLAR2;
+		else if (.@i == 9) specialeffect2 EF_ANGEL2;
 		else specialeffect2 EF_COIN;
 	">
 },
@@ -67055,15 +67056,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) 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;
+		.@i = rand(1,10);
+		if (.@i == 1) itemskill TF_DETOXIFY,1;
+		else if (.@i == 2) itemskill TF_PICKSTONE,1;
+		else if (.@i == 3) itemskill BA_FROSTJOKER,1;
+		else if (.@i == 4) itemskill DC_SCREAM,1;
+		else if (.@i == 5) percentheal 50,50;
+		else if (.@i == 6) getitem Jellopy,1;
+		else if (.@i == 7) itemskill AL_RUWACH,1;
+		else if (.@i == 8) specialeffect2 EF_BEGINASURA;
+		else if (.@i == 9) specialeffect2 EF_MVP;
 		else specialeffect2 EF_CURSEATTACK;
 	">
 },
diff --git a/db/re/item_combo_db.txt b/db/re/item_combo_db.txt
index ab17bba21..26ea5435f 100644
--- a/db/re/item_combo_db.txt
+++ b/db/re/item_combo_db.txt
@@ -258,7 +258,15 @@
 4509:19023,{ bonus2 bSubRace,RC_Insect,10; bonus2 bResEff,Eff_Confusion,10000; }
 4517:5967,{ bonus bInt,1; bonus bCritAtkRate,5; if(BaseClass==Job_Archer) { bonus bCritAtkRate,10; } }
 4606:20778,{ bonus bMaxSPrate,44; bonus bSPGainValue,-(20+(getequiprefinerycnt(EQI_GARMENT)/2)); }
+4608:4609,{ bonus2 bAddSize,Size_Medium,15; bonus2 bAddSize,Size_Large,15; bonus2 bSubSize,Size_Medium,5; bonus2 bSubSize,Size_Large,5; }
 4635:4636,{ bonus2 bResEff,Eff_Burning,10000; }
+4642:4646,{ bonus bAtkRate,10; bonus bMatkRate,10; }
+4643:4646,{ bonus bAtkRate,10; bonus bMatkRate,10; }
+4644:4646,{ bonus bAtkRate,10; bonus bMatkRate,10; }
+4645:4646,{ bonus bAtkRate,10; bonus bMatkRate,10; }
+4653:4654,{ bonus2 bSubRace,RC_Brute,5; bonus2 bSubRace,RC_Undead,5; bonus2 bIgnoreMdefRate,50,RC_Brute; bonus2 bIgnoreMdefRate,50,RC_Undead; }
+4653:4655,{ bonus2 bSubRace,RC_Brute,5; bonus2 bSubRace,RC_Undead,5; bonus2 bIgnoreDefRate,50,RC_Brute; bonus2 bIgnoreDefRate,50,RC_Undead; }
+//4656:4657,{ bonus2 bSubEle,Ele_Neutral,5; /* Increase the probability of causing Sleep to all targets on 11x11 cells. */ }
 5007:18913,{ bonus2 bExpAddRace,RC_NonBoss,5; bonus2 bExpAddRace,RC_Boss,5; }
 5021:18824,{ bonus bMaxHP,100; bonus2 bSubEle,Ele_Neutral,getequiprefinerycnt(EQI_HEAD_TOP); }
 5040:5442,{ bonus bAspdRate,3; bonus bVariableCastrate,3; }
@@ -277,6 +285,7 @@
 5470:5653,{ bonus bDex,1; bonus bLongAtkRate,3; }
 5690:13428,{ bonus2 bAddRace,RC_DemiPlayer,10; bonus bHit,10; }
 5890:28306,{ bonus2 bAddRace,RC_Boss,3; bonus2 bAddRace,RC_NonBoss,3; }
+5932:1737,{ if (Class == Job_Ranger || Class == Job_Ranger_T) skill HT_BLITZBEAT,5*getequiprefinerycnt(EQI_HAND_R); }
 //5967:28321,{ skill HT_BLITZBEAT,-200; }
 13027:15044,{ bonus3 bAddMonsterDropItem,929,RC_Brute,100+(getequiprefinerycnt(EQI_HAND_R)*10); bonus3 bAddMonsterDropItem,929,RC_DemiPlayer,100+(getequiprefinerycnt(EQI_HAND_R)*10); bonus3 bAddMonsterDropItem,970,RC_Brute,20+(getequiprefinerycnt(EQI_HAND_R)*2); bonus3 bAddMonsterDropItem,970,RC_DemiPlayer,20+(getequiprefinerycnt(EQI_HAND_R)*2); }
 13034:13035,{ bonus bMaxSP,20; bonus bMaxHPrate,5; bonus bHit,10; bonus2 bAddSize,Size_Large,30; autobonus "{ bonus bAspdRate,100; }",1,7000,BF_WEAPON,"{ specialeffect2 EF_POTION_BERSERK; }"; }
diff --git a/db/re/item_db.conf b/db/re/item_db.conf
index 934949782..b8e897604 100644
--- a/db/re/item_db.conf
+++ b/db/re/item_db.conf
@@ -40754,7 +40754,7 @@ item_db: (
 	Loc: 64
 	Script: <"
 		bonus bAspd,1;
-		bonus bMaxHPrate,-10;
+		bonus bMaxSPrate,-10;
 	">
 },
 {
@@ -41712,11 +41712,777 @@ item_db: (
 	Weight: 10
 	Loc: 32
 	Script: <"
-		/*bonus bSPrecovRate,-100;*/
+		bonus bSPrecovRate,-100;
 		/*Each time you get a physical attack, recover SP by 1.*/
 	">
 },
-//  Armor Enchant System
+{
+	Id: 4642
+	AegisName: "Infinite_Toad_Card"
+	Name: "Infinite Toad Card"
+	Type: 6
+	Buy: 20
+	Weight: 10
+	Loc: 64
+	Script: <"
+		bonus bFlee2,2;
+		if (getrefine() > 6) bonus bFlee2,2;
+		if (getrefine() > 8) bonus bFlee2,3;
+	">
+},
+{
+	Id: 4643
+	AegisName: "Infinite_Vagabond_Wolf_Card"
+	Name: "Infinite Vagabond Wolf Card"
+	Type: 6
+	Buy: 20
+	Weight: 10
+	Loc: 64
+	Script: <"
+		bonus bAtk,10;
+		if (getrefine() > 6) bonus bAtk,10;
+		if (getrefine() > 8) bonus bAtk,15;
+	">
+},
+{
+	Id: 4644
+	AegisName: "Infinite_Vocal_Card"
+	Name: "Infinite Vocal Card"
+	Type: 6
+	Buy: 20
+	Weight: 10
+	Loc: 64
+	Script: <"
+		bonus bMdef,5;
+		if (getrefine() > 6) bonus bMdef,10;
+		if (getrefine() > 8) bonus bMdef,15;
+	">
+},
+{
+	Id: 4645
+	AegisName: "Infinite_Eclipse_Card"
+	Name: "Infinite Eclipse Card"
+	Type: 6
+	Buy: 20
+	Weight: 10
+	Loc: 64
+	Script: <"
+		bonus bMaxHP,300;
+		if (getrefine() > 6) bonus bMaxHP,300;
+		if (getrefine() > 8) bonus bMaxHP,400;
+	">
+},
+{
+	Id: 4646
+	AegisName: "Infinite_Chimera_Card"
+	Name: "Infinite Chimera Card"
+	Type: 6
+	Buy: 20
+	Weight: 10
+	Loc: 4
+	Script: <"
+		bonus bMaxHPrate,8; bonus bMaxSPrate,4;
+	">
+},
+{
+	Id: 4647
+	AegisName: "Infinite_Osiris_Card"
+	Name: "Infinite_Osiris_Card"
+	Type: 6
+	Buy: 20
+	Weight: 10
+	Loc: 136
+	Script: <" bonus bHPGainValue,300; ">
+},
+{
+	Id: 4648
+	AegisName: "Infinite_Eddga_Card"
+	Name: "Infinite_Eddga_Card"
+	Type: 6
+	Buy: 20
+	Weight: 10
+	Loc: 64
+	Script: <" bonus3 bAutoSpellWhenHit,SM_PROVOKE,10,500; ">
+},
+{
+	Id: 4649
+	AegisName: "Infinite_Phreeoni_Card"
+	Name: "Infinite Phreeoni Card"
+	Type: 6
+	Buy: 20
+	Weight: 10
+	Loc: 2
+	Script: <" bonus bCritical,100; ">
+},
+{
+	Id: 4650
+	AegisName: "Infinite_Orc_Hero_Card"
+	Name: "Infinite Orc Hero Card"
+	Type: 6
+	Buy: 20
+	Weight: 10
+	Loc: 769
+	Script: <"
+		bonus bVit,3;
+		/* When received magical attack, give 100% chance to stun the attacker. */
+	">
+},
+{
+	Id: 4651
+	AegisName: "Infinite_Tao_Gunka_Card"
+	Name: "Infinite Tao Gunka Card"
+	Type: 6
+	Buy: 20
+	Weight: 10
+	Loc: 16
+	Script: <"
+		bonus bMaxHP,10000;
+		bonus bAgi,-10;
+	">
+},
+{
+	Id: 4652
+	AegisName: "Nightmare_Amon_Ra_Card"
+	Name: "Nightmare Amon Ra Card"
+	Type: 6
+	Buy: 20
+	Weight: 10
+	Loc: 16
+	Script: <"
+		bonus2 bMagicAddEle,Ele_Shadow,50;
+		bonus2 bMagicAddEle,Ele_Undead,50;
+		bonus2 bMagicAddRace,RC_Demon,50;
+		bonus2 bMagicAddRace,RC_Undead,50;
+	">
+},
+{
+	Id: 4653
+	AegisName: "Nightmare_Arclouse_Card"
+	Name: "Nightmare Arclouse Card"
+	Type: 6
+	Buy: 20
+	Weight: 10
+	Loc: 32
+	Script: <"
+		bonus2 bSubRace,RC_Brute,20;
+		bonus2 bSubRace,RC_Undead,20;
+	">
+},
+{
+	Id: 4654
+	AegisName: "Nightmare_Mimic_Card"
+	Name: "Nightmare Mimic Card"
+	Type: 6
+	Buy: 20
+	Weight: 10
+	Loc: 2
+	Script: <"
+		bonus2 bMagicAddRace,RC_Brute,5;
+		bonus2 bMagicAddRace,RC_Undead,5;
+	">
+},
+{
+	Id: 4655
+	AegisName: "Nightmare_Minorous_Card"
+	Name: "Nightmare Minorous Card"
+	Type: 6
+	Buy: 20
+	Weight: 10
+	Loc: 2
+	Script: <"
+		bonus2 bAddRace,RC_Brute,10;
+		bonus2 bAddRace,RC_Undead,10;
+	">
+},
+{
+	Id: 4656
+	AegisName: "Nightmare_Mummy_Card"
+	Name: "Nightmare Mummy Card"
+	Type: 6
+	Buy: 20
+	Weight: 10
+	Loc: 64
+	Script: <" /* When physically and magically attacked, chance to cause Sleep to all targets on 11x11 cells. */ ">
+},
+{
+	Id: 4657
+	AegisName: "Nightmare_Ancient_Mummy_Card"
+	Name: "Nightmare Ancient Mummy Card"
+	Type: 6
+	Buy: 20
+	Weight: 10
+	Loc: 4
+	Script: <"
+		bonus2 bSubEle,Ele_Neutral,15;
+		bonus2 bMagicAtkEle,Ele_Fire,3+(getrefine()*3);
+	">
+},
+{
+	Id: 4658
+	AegisName: "Nightmare_Verit_Card"
+	Name: "Nightmare Verit Card"
+	Type: 6
+	Buy: 20
+	Weight: 10
+	Loc: 64
+	Script: <"
+		bonus bMatkRate,5;
+		if (getrefine() > 6) bonus bMatkRate,3;
+		if (getrefine() > 8) bonus bMatkRate,2;
+	">
+},
+{
+	Id: 4659
+	AegisName: "Eggring_Card"
+	Name: "Eggring Card"
+	Type: 6
+	Buy: 20
+	Weight: 10
+	Loc: 16
+	Script: <"
+		bonus bLuk,2;
+		bonus bMaxHP,50;
+	">
+},
+{
+	Id: 4660
+	AegisName: "Scout_Basilisk_Card"
+	Name: "Scout Basilisk Card"
+	Type: 6
+	Buy: 20
+	Weight: 10
+	Loc: 32
+	Script: <"
+		bonus2 bSubSize,Size_Small,5;
+		bonus2 bSubSize,Size_Medium,5;
+	">
+},
+{
+	Id: 4661
+	AegisName: "Charge_Basilisk_Card"
+	Name: "Charge Basilisk Card"
+	Type: 6
+	Buy: 20
+	Weight: 10
+	Loc: 32
+	Script: <"
+		bonus2 bSubSize,Size_Small,-15;
+		bonus2 bSubSize,Size_Medium,20;
+		bonus2 bSubSize,Size_Large,20;
+	">
+},
+{
+	Id: 4662
+	AegisName: "Big_Eggring_Card"
+	Name: "Big Eggring Card"
+	Type: 6
+	Buy: 20
+	Weight: 10
+	Loc: 4
+	Script: <"
+		bonus bAtk,25;
+		bonus bMatk,25;
+		bonus bAspdRate,10;
+		bonus bMaxHP,1000;
+		bonus bLongAtkRate,5;
+		bonus bCritAtkRate,10;
+		bonus bAtk,-5/(readparam(bStr)*10);
+		bonus bAspdRate,-2/(readparam(bAgi)*10);
+		bonus bMatk,-5/(readparam(bInt)*10);
+		bonus bMaxHP,-200/(readparam(bVit)*10);
+		bonus bLongAtkRate,-1/(readparam(bDex)*10);
+		bonus bCritAtkRate,-2/(readparam(bLuk)*10);
+	">
+},
+{
+	Id: 4663
+	AegisName: "Leaf_Lunatic_Card"
+	Name: "Leaf Lunatic Card"
+	Type: 6
+	Buy: 20
+	Weight: 10
+	Loc: 64
+	Script: <" bonus bMaxSP,5; ">
+},
+{
+	Id: 4664
+	AegisName: "Grass_Fabre_Card"
+	Name: "Grass Fabre Card"
+	Type: 6
+	Buy: 20
+	Weight: 10
+	Loc: 16
+	Script: <"
+		bonus bLuk,1;
+		bonus bMaxHP,100;
+	">
+},
+{
+	Id: 4665
+	AegisName: "Wild_Hornet_Card"
+	Name: "Wild Hornet Card"
+	Type: 6
+	Buy: 20
+	Weight: 10
+	Loc: 2
+	Script: <" bonus bAtk,5; ">
+},
+{
+	Id: 4666
+	AegisName: "Swift_Roda_Frog_Card"
+	Name: "Swift Roda Frog Card"
+	Type: 6
+	Buy: 20
+	Weight: 10
+	Loc: 16
+	Script: <"
+		bonus bMaxSP,10;
+		bonus bMaxHP,300;
+	">
+},
+{
+	Id: 4667
+	AegisName: "Hunter_Wolf_Card"
+	Name: "Hunter Wolf Card"
+	Type: 6
+	Buy: 20
+	Weight: 10
+	Loc: 64
+	Script: <" bonus bMaxSP,30; ">
+},
+{
+	Id: 4668
+	AegisName: "Trance_Spore_Card"
+	Name: "Trance Spore Card"
+	Type: 6
+	Buy: 20
+	Weight: 10
+	Loc: 769
+	Script: <"
+		bonus bVit,1;
+		bonus bInt,1;
+	">
+},
+{
+	Id: 4669
+	AegisName: "Jungle_Mandragora_Card"
+	Name: "Jungle Mandragora Card"
+	Type: 6
+	Buy: 20
+	Weight: 10
+	Loc: 2
+	Script: <"
+		bonus2 bMagicAddEle,Ele_Wind,3;
+		if (getrefine() > 6) bonus2 bMagicAddEle,Ele_Wind,5;
+		if (getrefine() > 8) bonus2 bMagicAddEle,Ele_Wind,7;
+	">
+},
+{
+	Id: 4670
+	AegisName: "Fruit_Pom_Spider"
+	Name: "Fruit Pom Spider"
+	Type: 6
+	Buy: 20
+	Weight: 10
+	Loc: 2
+	Script: <"
+		bonus2 bMagicAddEle,Ele_Fire,3;
+		if (getrefine() > 6) bonus2 bMagicAddEle,Ele_Fire,5;
+		if (getrefine() > 8) bonus2 bMagicAddEle,Ele_Fire,7;
+	">
+},
+{
+	Id: 4671
+	AegisName: "Sorcerer_Celia_Card"
+	Name: "Sorcerer Celia Card"
+	Type: 6
+	Buy: 20
+	Weight: 10
+	Loc: 4
+	Script: <"
+		if (BaseLevel == 175) bonus bAllStats,10;
+		if (getrefine() >= 10) bonus bAllStats,10;
+		if (Class == Job_Sorcerer || Class == Job_Sorcerer_T) {
+			bonus bMaxHPrate,10;
+			bonus bMatkRate,10;
+		}
+	">
+},
+{
+	Id: 4672
+	AegisName: "Sura_Chen_Card"
+	Name: "Sura Chen Card"
+	Type: 6
+	Buy: 20
+	Weight: 10
+	Loc: 4
+	Script: <"
+		if (BaseLevel == 175) bonus bAllStats,10;
+		if (getrefine() >= 10) bonus bAllStats,10;
+		if (Class == Job_Sura || Class == Job_Sura_T) {
+			bonus bMaxHPrate,10;
+			bonus bAtkRate,10;
+		}
+	">
+},
+{
+	Id: 4673
+	AegisName: "Minstrel_Alphoccio_Card"
+	Name: "Minstrel Alphoccio Card"
+	Type: 6
+	Buy: 20
+	Weight: 10
+	Loc: 4
+	Script: <"
+		if (BaseLevel == 175) bonus bAllStats,10;
+		if (getrefine() >= 10) bonus bAllStats,10;
+		if (Class == Job_Minstrel || Class == Job_Minstrel_T) {
+			bonus bMaxHPrate,15;
+			bonus bMaxSPrate,10;
+		}
+	">
+},
+{
+	Id: 4674
+	AegisName: "Guillotine_Cross_Eremes_Card"
+	Name: "Guillotine Cross Eremes Card"
+	Type: 6
+	Buy: 20
+	Weight: 10
+	Loc: 4
+	Script: <"
+		if (BaseLevel == 175) bonus bAllStats,10;
+		if (getrefine() >= 10) bonus bAllStats,10;
+		if (Class == Job_Guillotine_Cross || Class == Job_Guillotine_Cross_T) {
+			bonus bFlee2,10;
+			bonus bAtkRate,15;
+		}
+	">
+},
+{
+	Id: 4675
+	AegisName: "Arch_Bishop_Magaleta_Card"
+	Name: "Arch Bishop Magaleta Card"
+	Type: 6
+	Buy: 20
+	Weight: 10
+	Loc: 4
+	Script: <"
+		if (BaseLevel == 175) bonus bAllStats,10;
+		if (getrefine() >= 10) bonus bAllStats,10;
+		if (Class == Job_Arch_Bishop || Class == Job_Arch_Bishop_T) {
+			bonus bMaxHPrate,10;
+			bonus bHealPower,15;
+		}
+	">
+},
+{
+	Id: 4676
+	AegisName: "Ranger_Cecil_Card"
+	Name: "Ranger Cecil Card"
+	Type: 6
+	Buy: 20
+	Weight: 10
+	Loc: 4
+	Script: <"
+		if (BaseLevel == 175) bonus bAllStats,10;
+		if (getrefine() >= 10) bonus bAllStats,10;
+		if (Class == Job_Ranger || Class == Job_Ranger_T) {
+			bonus bCritical,20;
+			bonus bLongAtkRate,15;
+		}
+	">
+},
+{
+	Id: 4677
+	AegisName: "Mechanic_Howard_Card"
+	Name: "Merchanic Howard Card"
+	Type: 6
+	Buy: 20
+	Weight: 10
+	Loc: 4
+	Script: <"
+		if (BaseLevel == 175) bonus bAllStats,10;
+		if (getrefine() >= 10) bonus bAllStats,10;
+		if (Class == Job_Mechanic || Class == Job_Mechanic_T) {
+			bonus bHit,20;
+			bonus bAtkRate,15;
+		}
+	">
+},
+{
+	Id: 4678
+	AegisName: "Warlock_Kathryne_Card"
+	Name: "Warlock Kathryne Card"
+	Type: 6
+	Buy: 20
+	Weight: 10
+	Loc: 4
+	Script: <"
+		if (BaseLevel == 175) bonus bAllStats,10;
+		if (getrefine() >= 10) bonus bAllStats,10;
+		if (Class == Job_Warlock || Class == Job_Warlock_T) {
+			bonus bMdef,80;
+			bonus bMatkRate,15;
+		}
+	">
+},
+{
+	Id: 4679
+	AegisName: "Rune_Knight_Seyren_Card"
+	Name: "Rune Knight Seyren Card"
+	Type: 6
+	Buy: 20
+	Weight: 10
+	Loc: 4
+	Script: <"
+		if (BaseLevel == 175) bonus bAllStats,10;
+		if (getrefine() >= 10) bonus bAllStats,10;
+		if (Class == Job_Rune_Knight || Class == Job_Rune_Knight_T) {
+			bonus bAspd,2;
+			bonus bAtkRate,15;
+		}
+	">
+},
+{
+	Id: 4680
+	AegisName: "Royal_Guard_Randel_Card"
+	Name: "Royal Guard Randel Card"
+	Type: 6
+	Buy: 20
+	Weight: 10
+	Loc: 4
+	Script: <"
+		if (BaseLevel == 175) bonus bAllStats,10;
+		if (getrefine() >= 10) bonus bAllStats,10;
+		if (Class == Job_Royal_Guard || Class == Job_Royal_Guard_T) {
+			bonus bDef,350;
+			bonus bAtkRate,10;
+		}
+	">
+},
+{
+	Id: 4681
+	AegisName: "Genetic_Flamel_Card"
+	Name: "Genetic Flamel Card"
+	Type: 6
+	Buy: 20
+	Weight: 10
+	Loc: 4
+	Script: <"
+		if (BaseLevel == 175) bonus bAllStats,10;
+		if (getrefine() >= 10) bonus bAllStats,10;
+		if (Class == Job_Genetic || Class == Job_Genetic_T) {
+			bonus bFlee,20;
+			bonus bAtkRate,15;
+		}
+	">
+},
+{
+	Id: 4682
+	AegisName: "Shadow_Chaser_Gertie_Card"
+	Name: "Shadow Chaser Gertie Card"
+	Type: 6
+	Buy: 20
+	Weight: 10
+	Loc: 4
+	Script: <"
+		if (BaseLevel == 175) bonus bAllStats,10;
+		if (getrefine() >= 10) bonus bAllStats,10;
+		if (Class == Job_Shadow_Chaser || Class == Job_Shadow_Chaser_T) {
+			bonus bAtkRate,5;
+			bonus bMatkRate,15;
+		}
+	">
+},
+{
+	Id: 4683
+	AegisName: "Wanderer_Trentini_Card"
+	Name: "Wanderer Trentini Card"
+	Type: 6
+	Buy: 20
+	Weight: 10
+	Loc: 4
+	Script: <"
+		if (BaseLevel == 175) bonus bAllStats,10;
+		if (getrefine() >= 10) bonus bAllStats,10;
+		if (Class == Job_Wanderer || Class == Job_Wanderer_T) {
+			bonus bMaxHPrate,10;
+			bonus bMaxSPrate,15;
+		}
+	">
+},
+{
+	Id: 4684
+	AegisName: "True_Eremes_Guile_Card"
+	Name: "True Eremes Guile Card"
+	Type: 6
+	Buy: 20
+	Weight: 10
+	Loc: 2
+	Script: <"
+		bonus2 bSkillAtk,GC_CROSSIMPACT,100;
+		if (getrefine() >= 10) bonus2 bSkillAtk,GC_CROSSIMPACT,200;
+	">
+},
+{
+	Id: 4685
+	AegisName: "True_Margaretha_Sorin_Card"
+	Name: "True Margaretha Sorin Card"
+	Type: 6
+	Buy: 20
+	Weight: 10
+	Loc: 2
+	Script: <"
+		bonus2 bSkillAtk,AB_JUDEX,100;
+		if (getrefine() >= 10) bonus2 bSkillAtk,AB_JUDEX,200;
+	">
+},
+{
+	Id: 4686
+	AegisName: "True_Kathryne_Keyron_Card"
+	Name: "True Kathryne Keyron Card"
+	Type: 6
+	Buy: 20
+	Weight: 10
+	Loc: 2
+	Script: <"
+		bonus2 bSkillAtk,WL_HELLINFERNO,100;
+		if (getrefine() >= 10) bonus2 bSkillAtk,WL_HELLINFERNO,200;
+	">
+},
+{
+	Id: 4687
+	AegisName: "True_Cecil_Damon_Card"
+	Name: "True Cecil Damon Card"
+	Type: 6
+	Buy: 20
+	Weight: 10
+	Loc: 2
+	Script: <"
+		bonus2 bSkillAtk,RA_AIMEDBOLT,100;
+		if (getrefine() >= 10) bonus2 bSkillAtk,RA_AIMEDBOLT,200;
+	">
+},
+{
+	Id: 4688
+	AegisName: "True_Howard_Alt-Eisen_Card"
+	Name: "True Howard Alt-Eisen Card"
+	Type: 6
+	Buy: 20
+	Weight: 10
+	Loc: 2
+	Script: <"
+		bonus2 bSkillAtk,NC_POWERSWING,100;
+		if (getrefine() >= 10) bonus2 bSkillAtk,NC_POWERSWING,200;
+	">
+},
+{
+	Id: 4689
+	AegisName: "True_Seyren_Windsor_Card"
+	Name: "True Seyren Windsor Card"
+	Type: 6
+	Buy: 20
+	Weight: 10
+	Loc: 2
+	Script: <"
+		bonus2 bSkillAtk,RK_SONICWAVE,100;
+		if (getrefine() >= 10) bonus2 bSkillAtk,RK_SONICWAVE,200;
+	">
+},
+{
+	Id: 4690
+	AegisName: "True_Randel_Lawrence_Card"
+	Name: "True Randel Lawrence Card"
+	Type: 6
+	Buy: 20
+	Weight: 10
+	Loc: 2
+	Script: <"
+		bonus2 bSkillAtk,LG_BANISHINGPOINT,100;
+		if (getrefine() >= 10) bonus2 bSkillAtk,LG_BANISHINHPOINT,200;
+	">
+},
+{
+	Id: 4691
+	AegisName: "True_Flamel_Emure_Card"
+	Name: "True Flamel Emure Card"
+	Type: 6
+	Buy: 20
+	Weight: 10
+	Loc: 2
+	Script: <"
+		bonus2 bSkillAtk,GN_CARTCANNON,100;
+		if (getrefine() >= 10) bonus2 bSkillAtk,GN_CARTCANNON,200;
+	">
+},
+{
+	Id: 4692
+	AegisName: "True_Celia_Alde_Card"
+	Name: "True Celia Alde Card"
+	Type: 6
+	Buy: 20
+	Weight: 10
+	Loc: 2
+	Script: <"
+		bonus2 bSkillAtk,SO_CLOUD_KILL,100;
+		if (getrefine() >= 10) bonus2 bSkillAtk,SO_CLOUDKILL,200;
+	">
+},
+{
+	Id: 4693
+	AegisName: "True_Chen_Liu_Card"
+	Name: "True Chen Liu Card"
+	Type: 6
+	Buy: 20
+	Weight: 10
+	Loc: 2
+	Script: <"
+		bonus2 bSkillAtk,SR_DRAGONCOMBO,100;
+		if (getrefine() >= 10) bonus2 bSkillAtk,SR_DRAGONCOMBO,200;
+	">
+},
+{
+	Id: 4694
+	AegisName: "True_Gertie_Card"
+	Name: "True Gertie Card"
+	Type: 6
+	Buy: 20
+	Weight: 10
+	Loc: 2
+	Script: <"
+		bonus2 bSkillAtk,SC_FEINTBOMB,100;
+		if (getrefine() >= 10) bonus2 bSkillAtk,SC_FEINTBOMB,200;
+	">
+},
+{
+	Id: 4695
+	AegisName: "True_Trentini_Card"
+	Name: "True Trentini Card"
+	Type: 6
+	Buy: 20
+	Weight: 10
+	Loc: 2
+	Script: <"
+		bonus2 bSkillAtk,WM_METALICSOUND,100;
+		if (getrefine() >= 10) bonus2 bSkillAtk,WM_METALICSOUND,200;
+	">
+},
+{
+	Id: 4696
+	AegisName: "True_Alphoccio_Card"
+	Name: "True Alphoccio Card"
+	Type: 6
+	Buy: 20
+	Weight: 10
+	Loc: 2
+	Script: <"
+		bonus2 bSkillAtk,WM_REVERBERATION,100;
+		if (getrefine() >= 10) bonus2 bSkillAtk,WM_REVERBERATION,200;
+	">
+},
+
+// Armor Enchant System
 // ===================================================================
 {
 	Id: 4700
@@ -57987,8 +58753,8 @@ item_db: (
 },
 {
 	Id: 5932
-	AegisName: "Birdcage_of_paradise"
-	Name: "Birdcage of paradise"
+	AegisName: "Birdcage_Of_Paradise"
+	Name: "Birdcage Of Paradise"
 	Type: 5
 	Buy: 20
 	Weight: 800
@@ -58000,11 +58766,8 @@ item_db: (
 		bonus bLuk,5;
 		bonus bCritical,5;
 		bonus bFlee2,5;
-		if(BaseClass==Job_Ranger||BaseClass==Job_Ranger_T) {
+		if (Class == Job_Ranger || Class == Job_Ranger_T) {
 			skill HT_BLITZBEAT,5*getrefine();
-			if (isequipped(Ixion_Wing)) {
-				skill HT_BLITZBEAT,5*getequiprefinerycnt(EQI_HAND_R);
-			}
 		}
 	">
 },
@@ -81119,15 +81882,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) 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;
+		.@i = rand(1,10);
+		if (.@i == 1) itemskill AL_TELEPORT,1;
+		else if (.@i == 2) itemskill AL_TELEPORT,3;
+		else if (.@i == 3) percentheal 50,0;
+		else if (.@i == 4) percentheal 0,50;
+		else if (.@i == 5) percentheal 50,50;
+		else if (.@i == 6) getitem Apple,1;
+		else if (.@i == 7) itemskill ALL_REVERSEORCISH,1;
+		else if (.@i == 8) specialeffect2 EF_MAPPILLAR2;
+		else if (.@i == 9) specialeffect2 EF_ANGEL2;
 		else specialeffect2 EF_COIN;
 	">
 },
@@ -81142,15 +81906,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) 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;
+		.@i = rand(1,10);
+		if (.@i == 1) itemskill TF_DETOXIFY,1;
+		else if (.@i == 2) itemskill TF_PICKSTONE,1;
+		else if (.@i == 3) itemskill BA_FROSTJOKER,1;
+		else if (.@i == 4) itemskill DC_SCREAM,1;
+		else if (.@i == 5) percentheal 50,50;
+		else if (.@i == 6) getitem Jellopy,1;
+		else if (.@i == 7) itemskill AL_RUWACH,1;
+		else if (.@i == 8) specialeffect2 EF_BEGINASURA;
+		else if (.@i == 9) specialeffect2 EF_MVP;
 		else specialeffect2 EF_CURSEATTACK;
 	">
 },
-- 
cgit v1.2.3-70-g09d2