Pārlūkot izejas kodu

Corrected script for some item (#6357)

idk-whoami 3 gadi atpakaļ
vecāks
revīzija
5f92aae35f

+ 55 - 4
db/re/item_combo_db.txt

@@ -132,14 +132,16 @@
 2046:19310:15250:20906:22173:28566,{ bonus bMatk,3*(min(BaseLevel,150)/10); bonus bVariableCastrate,-15; bonus2 bMagicAtkEle,Ele_Fire,5; }
 2048:22171,{ autobonus "{ bonus bInt,20; bonus bMatkRate,15; }",30,7000,BF_MAGIC; }
 2051:20847,{ bonus bMatk,50; .@eq = getequiprefinerycnt(EQI_GARMENT); .@weapon = getequiprefinerycnt(EQI_HAND_R); if (.@eq >= 7 && .@weapon >= 7) { bonus2 bMagicAtkEle,Ele_Water,10; bonus2 bMagicAtkEle,Ele_Wind,10; bonus2 bMagicAtkEle,Ele_Earth,10; bonus2 bMagicAtkEle,Ele_Fire,10; } if ((.@eq + .@weapon) >= 18) { bonus2 bMagicAddEle,Ele_Water,15; bonus2 bMagicAddEle,Ele_Wind,15; bonus2 bMagicAddEle,Ele_Earth,15; bonus2 bMagicAddEle,Ele_Fire,15; if ((.@eq + .@weapon) >= 22) { bonus bDelayrate,-15; } } }
+2109:2239:2971,{ bonus bHPrecovRate,15; bonus bSPrecovRate,15; bonus bMatkRate,7; }
 2109:2239:2717,{ bonus bHPrecovRate,15; bonus bSPrecovRate,15; bonus bMatkRate,7; }
-2109:2971:5135,{ bonus bHPrecovRate,15; bonus bSPrecovRate,15; bonus bMatkRate,7; }
+2109:2717:18874,{ bonus bHPrecovRate,15; bonus bSPrecovRate,15; bonus bMatkRate,7; }
 2109:2971:18874,{ bonus bHPrecovRate,15; bonus bSPrecovRate,15; bonus bMatkRate,7; }
 2114:2353:5122,{ bonus bStr,2; bonus bDef,5; bonus bMdef,5; if(BaseClass==Job_Swordman) bonus bDef,6; }
 2115:2353:5124,{ bonus bDef,2-getequiprefinerycnt(EQI_HAND_L)-getequiprefinerycnt(EQI_HEAD_TOP); bonus bMdef,5+getequiprefinerycnt(EQI_HAND_L)+getequiprefinerycnt(EQI_HEAD_TOP); }
 2116:2355:2420:2521:5125,{ bonus bMaxHP,900; bonus bMaxSP,100; bonus3 bAutoSpellWhenHit,"HP_ASSUMPTIO",1,30; }
+2121:2239:2971,{ bonus bHPrecovRate,15; bonus bSPrecovRate,15; bonus bMatkRate,7; }
 2121:2239:2717,{ bonus bHPrecovRate,15; bonus bSPrecovRate,15; bonus bMatkRate,7; }
-2121:2971:5135,{ bonus bHPrecovRate,15; bonus bSPrecovRate,15; bonus bMatkRate,7; }
+2121:2717:18874,{ bonus bHPrecovRate,15; bonus bSPrecovRate,15; bonus bMatkRate,7; }
 2121:2971:18874,{ bonus bHPrecovRate,15; bonus bSPrecovRate,15; bonus bMatkRate,7; }
 2123:2701,{ bonus bVariableCastrate,-10; }
 2123:2881,{ bonus bMatk,getequiprefinerycnt(EQI_HAND_L)*2; }
@@ -2545,8 +2547,8 @@
 19436:32246,{ bonus bVariableCastrate,-20; }
 19443:4143,{ if (BaseLevel >= 100) { bonus bBaseAtk,30*(readparam(bVit)/10); bonus bMatk,30*(readparam(bVit)/10); bonus bVit,3*(readparam(bLuk)/10); bonus bLuk,3*(readparam(bLuk)/10); } else if (BaseLevel <= 99) { bonus bBaseAtk,10*(readparam(bVit)/10); bonus bMatk,10*(readparam(bVit)/10); bonus bVit,readparam(bLuk)/10; bonus bLuk,readparam(bLuk)/10; } }
 19444:4143,{ if (BaseLevel >= 100) { bonus bBaseAtk,30*(readparam(bVit)/10); bonus bMatk,30*(readparam(bVit)/10); bonus bVit,3*(readparam(bLuk)/10); bonus bLuk,3*(readparam(bLuk)/10); } else if (BaseLevel <= 99) { bonus bBaseAtk,10*(readparam(bVit)/10); bonus bMatk,10*(readparam(bVit)/10); bonus bVit,readparam(bLuk)/10; bonus bLuk,readparam(bLuk)/10; } }
-20816:4045,{ bonus bLongAtkDef,35; }
-20816:28910,{ bonus bLongAtkDef,35; }
+20816:4045,{ if (BaseClass == Job_Ranger) { bonus bLongAtkDef,-35; } }
+20816:28910,{ if (BaseClass == Job_Ranger) { bonus bLongAtkDef,-35; } }
 20905:22167,{ bonus bAllStats,1; bonus bMaxHPrate,5; bonus bMaxSPrate,5; bonus2 bSubRace,RC_All,10; }
 20905:400075,{ bonus bLongAtkDef,15; bonus2 bSubEle,Ele_All,5; }
 20973:4071,{ bonus2 bSubEle,Ele_Undead,45; }
@@ -2569,3 +2571,52 @@
 450142:4135,{.@r = getequiprefinerycnt(EQI_ARMOR); bonus bNoWalkDelay; bonus2 bResEff,Eff_Freeze,10000; if (BaseLevel >= 100) { bonus2 bAddEle,Ele_Dark,10*.@r; } else if (BaseLevel <= 99) { bonus2 bAddEle,Ele_Dark,3*.@r; } }
 300308:27331,{ bonus bMatkRate,3; }
 300310:27333,{ bonus2 bAddRace,RC_All,3; }
+5932:4161,{ bonus3 bAutoSpell,"PR_GLORIA",5,20; }
+5932:1737,{ .@r = getequiprefinerycnt(EQI_HAND_R); if (BaseClass == Job_Ranger) { bonus2 bSkillAtk,"HT_BLITZBEAT",5*.@r; } }
+5932:18129,{ .@r = getequiprefinerycnt(EQI_HAND_R); if (BaseClass == Job_Ranger) { bonus2 bSkillAtk,"HT_BLITZBEAT",5*.@r; } }
+5934:4206,{ if (readparam(bLUK)>=77) { bonus2 bAddMonsterDropItem,22839,30; } /*Unknow Rate*/ }
+15136:4191,{ .@r = getequiprefinerycnt(EQI_ARMOR); if (.@r==5) { bonus bDefEle,Ele_Earth; } else if (.@r==6) { bonus bDefEle,Ele_Water; } else if (.@r==7) { bonus bDefEle,Ele_Wind; } else if (.@r==8) { bonus bDefEle,Ele_Fire; } else if (.@r==9) { bonus bDefEle,Ele_Dark; } else if (.@r>=10) { bonus bDefEle,Ele_Holy; } }
+15136:4220,{ .@r = getequiprefinerycnt(EQI_ARMOR); if (.@r==5) { bonus bDefEle,Ele_Earth; } else if (.@r==6) { bonus bDefEle,Ele_Water; } else if (.@r==7) { bonus bDefEle,Ele_Wind; } else if (.@r==8) { bonus bDefEle,Ele_Fire; } else if (.@r==9) { bonus bDefEle,Ele_Dark; } else if (.@r>=10) { bonus bDefEle,Ele_Holy; } }
+15136:4233,{ .@r = getequiprefinerycnt(EQI_ARMOR); if (.@r==5) { bonus bDefEle,Ele_Earth; } else if (.@r==6) { bonus bDefEle,Ele_Water; } else if (.@r==7) { bonus bDefEle,Ele_Wind; } else if (.@r==8) { bonus bDefEle,Ele_Fire; } else if (.@r==9) { bonus bDefEle,Ele_Dark; } else if (.@r>=10) { bonus bDefEle,Ele_Holy; } }
+15136:4234,{ .@r = getequiprefinerycnt(EQI_ARMOR); if (.@r==5) { bonus bDefEle,Ele_Earth; } else if (.@r==6) { bonus bDefEle,Ele_Water; } else if (.@r==7) { bonus bDefEle,Ele_Wind; } else if (.@r==8) { bonus bDefEle,Ele_Fire; } else if (.@r==9) { bonus bDefEle,Ele_Dark; } else if (.@r>=10) { bonus bDefEle,Ele_Holy; } }
+15136:4280,{ .@r = getequiprefinerycnt(EQI_ARMOR); if (.@r==5) { bonus bDefEle,Ele_Earth; } else if (.@r==6) { bonus bDefEle,Ele_Water; } else if (.@r==7) { bonus bDefEle,Ele_Wind; } else if (.@r==8) { bonus bDefEle,Ele_Fire; } else if (.@r==9) { bonus bDefEle,Ele_Dark; } else if (.@r>=10) { bonus bDefEle,Ele_Holy; } }
+15136:4322,{ .@r = getequiprefinerycnt(EQI_ARMOR); if (.@r==5) { bonus bDefEle,Ele_Earth; } else if (.@r==6) { bonus bDefEle,Ele_Water; } else if (.@r==7) { bonus bDefEle,Ele_Wind; } else if (.@r==8) { bonus bDefEle,Ele_Fire; } else if (.@r==9) { bonus bDefEle,Ele_Dark; } else if (.@r>=10) { bonus bDefEle,Ele_Holy; } }
+15136:4371,{ .@r = getequiprefinerycnt(EQI_ARMOR); bonus2 bSkillAtk,"PA_SHIELDCHAIN",5*(.@r/2); bonus2 bSkillAtk,"CR_DEVOTION",5*(.@r/2); }
+15136:4382,{ .@r = getrefine(); if (.@r==5) { bonus bDefEle,Ele_Earth; } if (.@r==6) { bonus bDefEle,Ele_Water; } if (.@r==7) { bonus bDefEle,Ele_Wind; } if (.@r==8) { bonus bDefEle,Ele_Fire; } if (.@r==9) { bonus bDefEle,Ele_Dark; } if (.@r>=10) { bonus bDefEle,Ele_Holy; } }
+15363:4303,{ bonus bBaseAtk,30; bonus bFlee,20; }
+15363:4580,{ bonus2 bSubEle,Ele_Holy,20; bonus2 bSubEle,Ele_Ghost,20; }
+15365:4160,{ bonus2 bSubRace,RC_All,5; }
+15365:4376,{ bonus bBaseAtk,50; bonus2 bAddClass,Class_Boss,25; bonus2 bMagicAddClass,Class_Boss,25; }
+18992:4230,{ .@r = getequiprefinerycnt(EQI_HEAD_TOP); bonus bAspdRate,.@r; }
+18992:4252,{ .@r = getequiprefinerycnt(EQI_HEAD_TOP); bonus bHPrecovRate,4*.@r; bonus bSPrecovRate,4*.@r; }
+18992:4327,{ .@r = getequiprefinerycnt(EQI_HEAD_TOP); bonus bVariableCastrate,-2*.@r; bonus2 bSkillAtk,"MG_FIREWALL",5*.@r; }
+19311:4115,{ .@r = getequiprefinerycnt(EQI_HEAD_TOP); bonus2 bHPDrainRate,-30,10; if (.@r>=9) { bonus2 bHPDrainRate,-30,30; } else if (.@r>=7) { bonus2 bHPDrainRate,-30,15; } }
+22070:4165,{ .@r = getequiprefinerycnt(EQI_SHOES); bonus bHPGainValue,30; bonus bSPGainValue,3; bonus bBaseAtk,10*(.@r/3); bonus bMatk,10*(.@r/3); }
+22070:4167,{ .@r = getequiprefinerycnt(EQI_SHOES); bonus bHPGainValue,30; bonus bSPGainValue,3; bonus bBaseAtk,10*(.@r/3); bonus bMatk,10*(.@r/3); }
+22070:4180,{ .@r = getequiprefinerycnt(EQI_SHOES); bonus bHPGainValue,30; bonus bSPGainValue,3; bonus bBaseAtk,10*(.@r/3); bonus bMatk,10*(.@r/3); }
+22070:4182,{ .@r = getequiprefinerycnt(EQI_SHOES); bonus bHPGainValue,30; bonus bSPGainValue,3; bonus bBaseAtk,10*(.@r/3); bonus bMatk,10*(.@r/3); }
+22070:4274,{ .@r = getequiprefinerycnt(EQI_SHOES); bonus bHPGainValue,30; bonus bSPGainValue,3; bonus bBaseAtk,10*(.@r/3); bonus bMatk,10*(.@r/3); }
+22070:4289,{ .@r = getequiprefinerycnt(EQI_SHOES); bonus bHPGainValue,30; bonus bSPGainValue,3; bonus bBaseAtk,10*(.@r/3); bonus bMatk,10*(.@r/3); }
+22070:4307,{ .@r = getequiprefinerycnt(EQI_SHOES); bonus bHPGainValue,30; bonus bSPGainValue,3; bonus bBaseAtk,10*(.@r/3); bonus bMatk,10*(.@r/3); }
+22070:4308,{ .@r = getequiprefinerycnt(EQI_SHOES); bonus bHPGainValue,30; bonus bSPGainValue,3; bonus bBaseAtk,10*(.@r/3); bonus bMatk,10*(.@r/3); }
+22070:4316,{ .@r = getequiprefinerycnt(EQI_SHOES); bonus bHPGainValue,30; bonus bSPGainValue,3; bonus bBaseAtk,10*(.@r/3); bonus bMatk,10*(.@r/3); }
+22070:4329,{ .@r = getequiprefinerycnt(EQI_SHOES); bonus bHPGainValue,30; bonus bSPGainValue,3; bonus bBaseAtk,10*(.@r/3); bonus bMatk,10*(.@r/3); }
+22071:2234,{ .@r = getequiprefinerycnt(EQI_SHOES); bonus bVariableCastrate,-10-(.@r/2); bonus bMatkRate,(.@r/2); }
+22071:2235,{ .@r = getequiprefinerycnt(EQI_SHOES); bonus bVariableCastrate,-10-(.@r/2); bonus2 bAddRace,RC_All,(.@r/2); }
+22071:4236,{ .@r = getequiprefinerycnt(EQI_SHOES); bonus bVariableCastrate,-10; bonus3 bAutoSpellWhenHit,"PR_KYRIE",10,-(30+70*(readparam(bInt)>=99)); bonus bAllStats,3*(.@r); /*TODO: Cancel auto spell bonus is not implemented in rAthena yet.*/}
+22071:5164,{ .@r = getequiprefinerycnt(EQI_SHOES); bonus bVariableCastrate,-10-(.@r/2); bonus bMatkRate,(.@r/2); }
+22071:5165,{ .@r = getequiprefinerycnt(EQI_SHOES); bonus bVariableCastrate,-10-(.@r/2); bonus2 bAddRace,RC_All,(.@r/2); }
+27002:4149,{ bonus2 bAddMonsterDropItem,664,30; bonus2 bAddMonsterDropItem,665,30; bonus2 bAddMonsterDropItem,666,30; bonus2 bAddMonsterDropItem,667,30; /*Unknow Rate*/ }
+27002:4187,{ bonus2 bAddMonsterDropItem,664,30; bonus2 bAddMonsterDropItem,665,30; bonus2 bAddMonsterDropItem,666,30; bonus2 bAddMonsterDropItem,667,30; /*Unknow Rate*/ }
+27002:4190,{ bonus2 bAddMonsterDropItem,664,30; bonus2 bAddMonsterDropItem,665,30; bonus2 bAddMonsterDropItem,666,30; bonus2 bAddMonsterDropItem,667,30; /*Unknow Rate*/ }
+27002:4205,{ bonus2 bAddMonsterDropItem,664,30; bonus2 bAddMonsterDropItem,665,30; bonus2 bAddMonsterDropItem,666,30; bonus2 bAddMonsterDropItem,667,30; /*Unknow Rate*/ }
+27002:4224,{ bonus2 bAddMonsterDropItem,664,30; bonus2 bAddMonsterDropItem,665,30; bonus2 bAddMonsterDropItem,666,30; bonus2 bAddMonsterDropItem,667,30; /*Unknow Rate*/ }
+27002:4228,{ bonus2 bAddMonsterDropItem,664,30; bonus2 bAddMonsterDropItem,665,30; bonus2 bAddMonsterDropItem,666,30; bonus2 bAddMonsterDropItem,667,30; /*Unknow Rate*/ }
+27002:4256,{ bonus2 bAddMonsterDropItem,664,30; bonus2 bAddMonsterDropItem,665,30; bonus2 bAddMonsterDropItem,666,30; bonus2 bAddMonsterDropItem,667,30; /*Unknow Rate*/ }
+27002:4262,{ bonus2 bAddMonsterDropItem,664,30; bonus2 bAddMonsterDropItem,665,30; bonus2 bAddMonsterDropItem,666,30; bonus2 bAddMonsterDropItem,667,30; /*Unknow Rate*/ }
+27002:4265,{ bonus2 bAddMonsterDropItem,664,30; bonus2 bAddMonsterDropItem,665,30; bonus2 bAddMonsterDropItem,666,30; bonus2 bAddMonsterDropItem,667,30; /*Unknow Rate*/ }
+27002:5934,{ if (readparam(bLUK)>=77) { bonus2 bAddMonsterDropItem,22839,30; } /*Unknow Rate*/ }
+480025:4207,{ .@r = getequiprefinerycnt(EQI_GARMENT); bonus2 bSubSize,Size_Small,5; if (.@r>=8) { bonus2 bAddSize,Size_Small,25; bonus2 bMagicAddSize,Size_Small,25; } }
+480025:4250,{ .@r = getequiprefinerycnt(EQI_GARMENT); bonus2 bSubSize,Size_Large,5; if (.@r>=8) { bonus2 bAddSize,Size_Large,25; bonus2 bMagicAddSize,Size_Large,25; } }
+480025:4254,{ .@r = getequiprefinerycnt(EQI_GARMENT); bonus2 bSubSize,Size_Medium,5; if (.@r>=8) { bonus2 bAddSize,Size_Medium,25; bonus2 bMagicAddSize,Size_Medium,25; } }
+480053:4211,{ bonus bMdef,5; bonus bMaxHPrate,10; bonus2 bSubEle,Ele_Neutral,20; }

+ 229 - 6
db/re/item_db_equip.yml

@@ -5253,7 +5253,7 @@ Body:
       bonus3 bAutoSpell,"NPC_DRAGONFEAR",1,30;
   - Id: 1298
     AegisName: Shiver_Katar_K
-    Name: Katar Of Horror
+    Name: Shiver Katar
     Type: Weapon
     SubType: Katar
     Buy: 60000
@@ -36641,7 +36641,7 @@ Body:
       bonus bFlee2,3;
   - Id: 2892
     AegisName: Assassin_Handcuffs
-    Name: Assassin's Glove
+    Name: Assassin Handcuffs
     Type: Armor
     Buy: 56000
     Weight: 400
@@ -52498,7 +52498,7 @@ Body:
       bonus bMaxSP,20;
   - Id: 5782
     AegisName: Hoplite_Helmet
-    Name: Hoplite Helmet
+    Name: Legionaire Helm
     Type: Armor
     Buy: 20
     Weight: 700
@@ -54647,6 +54647,25 @@ Body:
     Script: |
       bonus2 bAddRace,RC_Dragon,5;
       bonus2 bSubRace,RC_Dragon,5;
+  - Id: 5932
+    AegisName: Heaven_Cage
+    Name: Birdcage in Paradise
+    Type: Armor
+    View: 1286
+    Weight: 800
+    Defense: 6
+    Slots: 1
+    Locations:
+      Head_Top: true
+    ArmorLevel: 1
+    EquipLevelMin: 40
+    Refineable: true
+    Script: |
+      bonus bLuk,5;
+      bonus bCritical,5;
+      bonus bFlee2,5;
+      if (BaseClass == Job_Ranger)
+         bonus2 bSkillAtk,"HT_BLITZBEAT",5*getrefine();
   - Id: 5933
     AegisName: Crow_Tengu_Mask
     Name: Crow Tengu Mask
@@ -54669,6 +54688,19 @@ Body:
          bonus2 bAddSize,Size_All,2;
          bonus bLongAtkRate,3;
       }
+  - Id: 5934
+    AegisName: Happy_Balloon_J
+    Name: Happy Balloon
+    Type: Armor
+    View: 1289
+    Weight: 100
+    Locations:
+      Head_Low: true
+    ArmorLevel: 1
+    EquipLevelMin: 10
+    Script: |
+      bonus bMdef,5;
+      bonus2 bAddMonsterDropItem,12355,30;
   - Id: 5936
     AegisName: 8_Type_PurgatorialWing
     Name: 8Way Wings of Purgatory
@@ -66732,6 +66764,19 @@ Body:
       .@r = getrefine()/2;
       bonus bDex,.@r;
       bonus bInt,.@r;
+  - Id: 15136
+    AegisName: Tatenasi_Armor
+    Name: Old Tatenasi Armor
+    Type: Armor
+    Weight: 600
+    Slots: 1
+    Locations:
+      Armor: true
+    ArmorLevel: 1
+    EquipLevelMin: 1
+    Refineable: true
+    Script: |
+      bonus bMaxHP,100;
   - Id: 15138
     AegisName: Egir_Armor_K
     Name: Aegir Armor
@@ -68177,6 +68222,63 @@ Body:
       bonus bMdef,5*(.@r/4);
       if (.@r>=12)
          bonus3 bAutoSpellWhenHit,"AL_PNEUMA",1,50;
+  - Id: 15363
+    AegisName: Mars_Armor_TW
+    Name: Mars Armor
+    Type: Armor
+    Weight: 300
+    Slots: 1
+    Jobs:
+      Assassin: true
+      Rogue: true
+    Classes:
+      All_Third: true
+    Locations:
+      Armor: true
+    ArmorLevel: 1
+    EquipLevelMin: 100
+    Refineable: true
+    Script: |
+      .@r =  getrefine();
+      autobonus3 "{ bonus bAspd,2; }",1000,10000,"TF_BACKSLIDING","{ specialeffect2 EF_HASTEUP; }";
+      bonus bDex,3*(.@r/4);
+      bonus bMaxHPrate,3*(.@r/4);
+      bonus2 bIgnoreDefRaceRate,RC_DemiHuman,15;
+      bonus2 bIgnoreDefRaceRate,RC_Player_Human,15;
+      bonus2 bIgnoreDefRaceRate,RC_Brute,15;
+      bonus2 bIgnoreDefRaceRate,RC_Player_Doram,15;
+      if (.@r>=12) {
+         bonus2 bSkillCooldown,"GC_DARKCROW",-5000;
+         bonus2 bSkillAtk,"SC_TRIANGLESHOT",2*(getskilllv("AC_DOUBLE"));
+      }
+  - Id: 15365
+    AegisName: Vinus_Armor_TW
+    Name: Venus Armor
+    Type: Armor
+    Weight: 300
+    Slots: 1
+    Jobs:
+      Monk: true
+      Priest: true
+    Classes:
+      All_Third: true
+    Locations:
+      Armor: true
+    ArmorLevel: 1
+    EquipLevelMin: 100
+    Refineable: true
+    Script: |
+      .@r = getrefine();
+      .@lvl = getskilllv("AL_HEAL");
+      bonus bMaxHPrate,.@lvl;
+      bonus bLongAtkDef,.@lvl;
+      bonus bInt,2*(.@r/4);
+      bonus bMdef,7*(.@r/4);
+      if (.@r>=12) {
+         bonus2 bSkillCooldown,"AB_CLEARANCE",-5000;
+         bonus2 bSkillCooldown,"AB_SILENTIUM",-5000;
+         bonus2 bSkillCooldown,"SR_CRESCENTELBOW",-3000;
+      }
   - Id: 15367
     AegisName: Astraea_Armor
     Name: Asteria's Armor
@@ -78708,7 +78810,7 @@ Body:
       bonus4 bAutoSpellWhenHit,"AL_BLESSING",10,50,0;
   - Id: 18874
     AegisName: One_Eyed_Glass_
-    Name: Cyclops Glasses
+    Name: Monocle
     Type: Armor
     Buy: 10
     Weight: 100
@@ -80195,6 +80297,22 @@ Body:
       bonus2 bAddItemHealRate,11596,150;
     EquipScript: |
       sc_end SC_SpeedUp0;
+  - Id: 18992
+    AegisName: New_Year_Hairpin
+    Name: New Year Hairpin
+    Type: Armor
+    View: 1155
+    Buy: 20
+    Weight: 180
+    Slots: 1
+    Locations:
+      Head_Top: true
+    ArmorLevel: 1
+    EquipLevelMin: 15
+    Refineable: true
+    Script: |
+      bonus bHit,5;
+      bonus bFlee2,3;
   - Id: 18997
     AegisName: Riot_Chip
     Name: Runaway Chip
@@ -80478,7 +80596,7 @@ Body:
       }
   - Id: 19048
     AegisName: Elemental_Clothe
-    Name: Elemental Clothes
+    Name: Elemental Tights
     Type: Armor
     Weight: 500
     Defense: 45
@@ -83778,6 +83896,34 @@ Body:
     Script: |
       bonus bAllStats,1;
       bonus MaxHp,200;
+  - Id: 19311
+    AegisName: Greater_Dracul_Horn
+    Name: Greater Dracule Horn
+    Type: Armor
+    View: 1695
+    Weight: 800
+    Defense: 10
+    Slots: 1
+    Locations:
+      Head_Top: true
+    ArmorLevel: 1
+    EquipLevelMin: 100
+    Refineable: true
+    Script: |
+      .@r = getrefine();
+      bonus bUnbreakableHelm;
+      bonus bMaxHPrate,10;
+      bonus2 bAddClass,Class_All,6;
+      bonus2 bHPDrainRate,30,10;
+      skill "MC_LOUD",1;
+      if (.@r>=9) {
+         bonus2 bAddClass,Class_All,10;
+         bonus2 bHPDrainRate,30,30;
+      }
+      else if (.@r>=7) {
+         bonus2 bAddClass,Class_All,5;
+         bonus2 bHPDrainRate,30,15;
+      }
   - Id: 19326
     AegisName: Book_of_Soyga
     Name: Book of Soyga
@@ -100707,6 +100853,34 @@ Body:
       .@r = getrefine();
       bonus bMaxHPrate,.@r;
       bonus bMaxSPrate,.@r;
+  - Id: 22070
+    AegisName: Applause_Sandal
+    Name: Old Applause Sandals
+    Type: Armor
+    Weight: 200
+    Slots: 1
+    Locations:
+      Shoes: true
+    ArmorLevel: 1
+    EquipLevelMin: 1
+    Refineable: true
+    Script: |
+      bonus bMaxSP,50;
+  - Id: 22071
+    AegisName: Applause_Sandal_
+    Name: Applause Sandal
+    Type: Armor
+    Weight: 200
+    Defense: 7
+    Slots: 1
+    Locations:
+      Shoes: true
+    ArmorLevel: 1
+    EquipLevelMin: 99
+    Refineable: true
+    Script: |
+      bonus bMdef,10;
+      bonus bDelayrate,-2*getrefine();
   - Id: 22072
     AegisName: Hikingboots
     Name: Hikingboots
@@ -130705,7 +130879,7 @@ Body:
       bonus bMatkRate,5;
   - Id: 32219
     AegisName: Astraea_Ring
-    Name: Asteria Ring
+    Name: Asteria's Ring
     Type: Armor
     Weight: 100
     Slots: 1
@@ -138020,6 +138194,55 @@ Body:
       if (.@r>=7) {
          bonus bVariableCastrate,-7;
       }
+  - Id: 480025
+    AegisName: Owl_Baron_Mantle
+    Name: Owl Baron Cloak
+    Type: Armor
+    Weight: 100
+    Defense: 5
+    Slots: 1
+    Locations:
+      Garment: true
+    ArmorLevel: 1
+    EquipLevelMin: 100
+    Refineable: true
+    Script: |
+      .@r = getrefine();
+      bonus bInt,2;
+      bonus bMdef,5;
+      bonus bAspdRate,10;
+      bonus bBaseAtk,6*.@r;
+      bonus bMatk,6*.@r;
+      if (.@r>=10) {
+         skill "PR_LEXAETERNA",1;
+         autobonus2 "{ bonus bAspdRate,40; }",50,30000,BF_WEAPON|BF_MAGIC,"{ specialeffect2 EF_HASTEUP; }";
+      }
+      else if (.@r>=9)
+         autobonus2 "{ bonus bAspdRate,20; }",50,30000,BF_WEAPON|BF_MAGIC,"{ specialeffect2 EF_HASTEUP; }";
+      else if (.@r>=7)
+         autobonus2 "{ bonus bAspdRate,10; }",50,30000,BF_WEAPON|BF_MAGIC,"{ specialeffect2 EF_HASTEUP; }";
+  - Id: 480053
+    AegisName: Behemoth_Muffler
+    Name: Behemoth Muffler
+    Type: Armor
+    Weight: 200
+    Defense: 18
+    Slots: 1
+    Locations:
+      Garment: true
+    ArmorLevel: 1
+    EquipLevelMin: 100
+    Refineable: true
+    Script: |
+      .@r = getrefine();
+      bonus bMdef,5;
+      bonus bAspdRate,.@r;
+      bonus2 bAddEle,Ele_Earth,15+.@r;
+      bonus2 bMagicAddEle,Ele_Earth,15+.@r;
+      bonus2 bSubRace,RC_Player_Human,5;
+      bonus2 bSubRace,RC_Player_Doram,5;
+      if (.@r>=10)
+         bonus2 bSubEle,Ele_Earth,100;
   - Id: 480054
     AegisName: Morrigane's_Manteau_IL
     Name: Illusion Morrigane's Manteau

+ 20 - 2
db/re/item_db_etc.yml

@@ -7822,7 +7822,7 @@ Body:
       DropEffect: CLIENT
     Script: |
       bonus2 bHPDrainRate,50,20;
-      bonus bHPrecovRate,-100;
+      bonus bNoRegen,1;
   - Id: 4368
     AegisName: Shecil_Card
     Name: Cecil Damon Card
@@ -9674,7 +9674,7 @@ Body:
       BuyingStore: true
       DropEffect: CLIENT
     Script: |
-      bonus bHPrecovRate,-100;
+      bonus bNoRegen,1;
       bonus2 bHPDrainRate,50,((getrefine()>14)?15:10);
   - Id: 4492
     AegisName: Sealed_Orc_Hero_Card
@@ -38160,6 +38160,24 @@ Body:
     Weight: 10
     Flags:
       BuyingStore: true
+  - Id: 27002
+    AegisName: XM_Mystcase_Card_J
+    Name: Horror of Xmas Giftcase Card
+    Type: Card
+    Buy: 20
+    Weight: 10
+    Locations:
+      Head_Low: true
+      Head_Mid: true
+      Head_Top: true
+    Flags:
+      DropEffect: CLIENT
+    Script: |
+      bonus2 bAddMonsterDropItem,664,30;
+      bonus2 bAddMonsterDropItem,665,30;
+      bonus2 bAddMonsterDropItem,666,30;
+      bonus2 bAddMonsterDropItem,667,30;
+      /*Unknow Rate*/
   - Id: 27012
     AegisName: Kick_Step_Card
     Name: Kick Step Card

+ 9 - 0
db/re/item_db_usable.yml

@@ -46855,6 +46855,15 @@ Body:
     EquipLevelMin: 1
     Script: |
       getgroupitem(IG_Something_Candy_Holder);
+  - Id: 22839
+    AegisName: Happy_Box_J
+    Name: Happy Box
+    Type: Usable
+    Buy: 10
+    Weight: 200
+    EquipLevelMin: 1
+    Script: |
+      getgroupitem(IG_Happy_Box_J);
   - Id: 22842
     AegisName: Sealed_Dracula_Scroll_II
     Name: Sealed Dracula Scroll II

+ 66 - 0
db/re/item_group_db.yml

@@ -23465,4 +23465,70 @@ Body:
             Rate: 300
             Amount: 1
             Announced: true
+  - Group: HAPPY_BOX_J
+    SubGroups:
+      - SubGroup: 1
+        List:
+          - Item: High_Weapon_Box
+            Rate: 1
+          - Item: C_Afro_Wig_Red
+            Rate: 1
+          - Item: Happy_Pierrot_Mask
+            Rate: 1
+          - Item: Old_Violet_Box
+            Rate: 3
+          - Item: Emperium
+            Rate: 4
+          - Item: Karvodailnirol
+            Rate: 5
+          - Item: Savage_Meat
+            Rate: 5
+          - Item: Gun_Powder
+            Rate: 10
+          - Item: Beef_Head_Meat
+            Rate: 10
+          - Item: Petti_Tail
+            Rate: 10
+          - Item: Drocera_Tentacle
+            Rate: 15
+          - Item: Fire_Bottle
+            Rate: 15
+          - Item: Coating_Bottle
+            Rate: 15
+          - Item: Witherless_Rose
+            Rate: 20
+          - Item: Alchol
+            Rate: 20
+          - Item: Cold_Ice
+            Rate: 20
+          - Item: Ice_Crystal
+            Rate: 20
+          - Item: Frozen_Rose
+            Rate: 30
+          - Item: Wolf_Blood
+            Rate: 30
+          - Item: Ice_Fragment
+            Rate: 30
+          - Item: Acid_Bottle
+            Rate: 30
+          - Item: Gift_Box
+            Rate: 35
+          - Item: MenEater_Plant_Bottle
+            Rate: 40
+          - Item: Str_Dish06
+            Rate: 40
+          - Item: Vit_Dish06
+            Rate: 40
+          - Item: Agi_Dish06
+            Rate: 40
+          - Item: Royal_Jelly
+            Rate: 80
+          - Item: Int_Dish03
+            Rate: 100
+          - Item: Dex_Dish03
+            Rate: 100
+          - Item: Luk_Dish03
+            Rate: 100
+          - Item: Honey
+            Rate: 130
 

+ 17 - 6
sql-files/item_db_re_equip.sql

@@ -198,7 +198,7 @@ REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`pr
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`range`,`slots`,`job_assassin`,`class_upper`,`class_third_upper`,`location_left_hand`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (1295,'Blood_Tears_','Blood Tears','Weapon','Katar',20,1700,120,1,3,true,true,true,true,true,4,55,true,'bonus3 bAutoSpell,"NPC_WIDEBLEEDING",(getrefine()>=9?2:1),30;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`attack`,`range`,`slots`,`job_assassin`,`location_left_hand`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`trade_override`,`trade_nodrop`,`trade_notrade`,`trade_nocart`,`trade_nostorage`,`trade_noguildstorage`,`trade_nomail`,`trade_noauction`,`script`) VALUES (1296,'Metal_Katar','Metal Katar','Weapon','Katar',20,75,1,1,true,true,true,3,1,true,100,true,true,true,true,true,true,true,'.@r = getrefine();\nbonus bBaseAtk,(.@r*5);\nbonus bCritAtkRate,.@r;\n.@i = min(BaseLevel/10,12);\nif (.@i>2)\n   bonus bBaseAtk,((.@i-2)*5);');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`range`,`slots`,`job_assassin`,`class_upper`,`class_third_upper`,`location_left_hand`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (1297,'Inverse_Scale_','Inverse Scale','Weapon','Katar',20,1500,140,1,2,true,true,true,true,true,4,55,true,'bonus bAtkEle,Ele_Holy;\nbonus3 bAutoSpell,"NPC_DRAGONFEAR",1,30;');
-REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`range`,`slots`,`job_assassin`,`location_left_hand`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (1298,'Shiver_Katar_K','Katar Of Horror','Weapon','Katar',60000,2700,110,1,2,true,true,true,4,105,true,'bonus bCritical,getrefine();');
+REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`range`,`slots`,`job_assassin`,`location_left_hand`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (1298,'Shiver_Katar_K','Shiver Katar','Weapon','Katar',60000,2700,110,1,2,true,true,true,4,105,true,'bonus bCritical,getrefine();');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`attack`,`range`,`job_assassin`,`location_left_hand`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`trade_override`,`trade_nodrop`,`trade_notrade`,`trade_nocart`,`trade_nostorage`,`trade_noguildstorage`,`trade_nomail`,`trade_noauction`,`script`) VALUES (1299,'TE_Woe_Katar','TE Woe Katar','Weapon','Katar',120,1,true,true,true,3,40,true,100,true,true,true,true,true,true,true,'bonus2 bAddRace,RC_Player_Human,40;\nbonus2 bAddRace,RC_Player_Doram,40;\nbonus2 bAddEff,Eff_Bleeding,1000;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`range`,`slots`,`job_alchemist`,`job_blacksmith`,`job_crusader`,`job_knight`,`job_merchant`,`job_swordman`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (1300,'Cleaver_','Cleaver','Weapon','1hAxe',20,1200,140,1,3,true,true,true,true,true,true,true,4,44,true,'bonus2 bSubRace,RC_DemiHuman,5;\nbonus2 bSubRace,RC_Player_Human,5;\nbonus3 bAddMonsterDropItem,517,RC_Brute,3000;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`range`,`slots`,`job_alchemist`,`job_assassin`,`job_blacksmith`,`job_crusader`,`job_knight`,`job_merchant`,`job_novice`,`job_supernovice`,`job_swordman`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`) VALUES (1301,'Axe','Axe','Weapon','1hAxe',500,800,38,1,3,true,true,true,true,true,true,true,true,true,true,1,3,true);
@@ -1601,7 +1601,7 @@ REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`slots`,`location_right_accessory`,`location_left_accessory`,`armor_level`,`equip_level_min`) VALUES (2889,'Endure_Ring','Endure Ring','Armor',20,100,1,true,true,1,60);
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`job_hunter`,`class_third`,`class_third_upper`,`class_third_baby`,`location_right_accessory`,`location_left_accessory`,`armor_level`,`equip_level_min`,`script`) VALUES (2890,'White_Wing_Brooch','White Wing Brooch','Armor',20,100,true,true,true,true,true,true,1,100,'bonus bDex,2;\nbonus bLongAtkRate,3;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`job_hunter`,`class_third`,`class_third_upper`,`class_third_baby`,`location_right_accessory`,`location_left_accessory`,`armor_level`,`equip_level_min`,`script`) VALUES (2891,'Black_wing_Brooch','Black Wing Brooch','Armor',20,100,true,true,true,true,true,true,1,100,'bonus bInt,2;\nbonus bFlee2,3;');
-REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`defense`,`slots`,`job_assassin`,`class_third`,`class_third_upper`,`class_third_baby`,`location_right_accessory`,`location_left_accessory`,`armor_level`,`equip_level_min`,`script`) VALUES (2892,'Assassin_Handcuffs','Assassin\'s Glove','Armor',56000,400,3,1,true,true,true,true,true,true,1,100,'bonus bMaxSP,20;\nbonus bCritical,3;');
+REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`defense`,`slots`,`job_assassin`,`class_third`,`class_third_upper`,`class_third_baby`,`location_right_accessory`,`location_left_accessory`,`armor_level`,`equip_level_min`,`script`) VALUES (2892,'Assassin_Handcuffs','Assassin Handcuffs','Armor',56000,400,3,1,true,true,true,true,true,true,1,100,'bonus bMaxSP,20;\nbonus bCritical,3;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`slots`,`location_right_accessory`,`location_left_accessory`,`armor_level`,`equip_level_min`) VALUES (2893,'Cursed_Heart','Cursed Heart','Armor',20,50,1,true,true,1,80);
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`defense`,`job_monk`,`class_third`,`class_third_upper`,`class_third_baby`,`location_right_accessory`,`location_left_accessory`,`armor_level`,`equip_level_min`,`script`) VALUES (2894,'Glove_Of_Shura','Sura Gauntlet','Armor',20,400,1,true,true,true,true,true,true,1,130,'bonus bStr,5;\nbonus bMaxSPrate,6;\nbonus bMaxHPrate,-6;\nif (readparam(bStr)>=120) {\n   bonus bBaseAtk,30;\n}');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`defense`,`location_right_accessory`,`location_left_accessory`,`armor_level`,`script`) VALUES (2895,'Medal_Of_Valor1','Medal Of Valor1','Armor',4,true,true,1,'bonus bVariableCastrate,-2;');
@@ -2470,7 +2470,7 @@ REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`defense`,`location_head_top`,`armor_level`,`equip_level_min`,`refineable`,`view`,`script`) VALUES (5779,'Drooping_Boto','Drooping Boto','Armor',20,100,3,true,1,1,true,657,'bonus bInt,2;\nautobonus "{ bonus bMatkRate,3; }",10,10000,BF_MAGIC,"{ specialeffect2 EF_SUFFRAGIUM; }";');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`location_head_top`,`armor_level`,`equip_level_min`,`refineable`,`view`,`script`) VALUES (5780,'Tendrilion_Hat','Tendrilion Hat','Armor',20,100,true,1,1,true,658,'skill "WZ_EARTHSPIKE",3;\nbonus2 bSubRace,RC_DemiHuman,10;\nbonus2 bSubRace,RC_Player_Human,10;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`slots`,`location_head_top`,`armor_level`,`view`,`script`) VALUES (5781,'Persika','Persika','Armor',20,100,1,true,1,659,'bonus bFlee,1;\nbonus bMaxSP,20;');
-REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`defense`,`slots`,`location_head_top`,`location_head_mid`,`location_head_low`,`armor_level`,`equip_level_min`,`refineable`,`view`,`script`) VALUES (5782,'Hoplite_Helmet','Hoplite Helmet','Armor',20,700,4,1,true,true,true,1,1,true,660,'bonus bMaxHPrate,3;');
+REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`defense`,`slots`,`location_head_top`,`location_head_mid`,`location_head_low`,`armor_level`,`equip_level_min`,`refineable`,`view`,`script`) VALUES (5782,'Hoplite_Helmet','Legionaire Helm','Armor',20,700,4,1,true,true,true,1,1,true,660,'bonus bMaxHPrate,3;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`location_head_top`,`armor_level`,`equip_level_min`,`refineable`,`view`,`script`) VALUES (5783,'YellowBunny_Hairband','YellowBunny Hairband','Armor',20,200,true,1,1,true,662,'bonus bStr,1;\nbonus bInt,1;\nbonus bDex,2;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`location_head_top`,`armor_level`,`equip_level_min`,`refineable`,`view`,`script`) VALUES (5784,'PinkBunny_Hairband','PinkBunny Hairband','Armor',20,200,true,1,1,true,663,'bonus bStr,1;\nbonus bInt,2;\nbonus bDex,1;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`location_head_top`,`armor_level`,`equip_level_min`,`refineable`,`view`,`script`) VALUES (5785,'Green_Bunny_Hairband','Green Bunny Hairband','Armor',20,200,true,1,1,true,664,'bonus bStr,2;\nbonus bInt,1;\nbonus bDex,1;');
@@ -2586,7 +2586,9 @@ REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`slo
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`defense`,`location_shoes`,`armor_level`,`equip_level_min`,`refineable`,`script`) VALUES (5920,'Medical_Boots','Medical Boots','Armor',300,10,true,1,10,true,'.@r = getrefine();\nbonus bHealPower,10+((.@r/2) * 2);\nbonus2 bSkillUseSP,"AB_CHEAL",(.@r * 5);');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`defense`,`location_head_mid`,`armor_level`,`equip_level_min`,`view`,`script`) VALUES (5921,'Monster_Fish_Gill','Monster Fish Gills','Armor',200,1,true,1,10,1218,'bonus2 bAddRace,RC_Fish,5;\nbonus2 bSubRace,RC_Fish,5;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`defense`,`location_head_mid`,`armor_level`,`equip_level_min`,`view`,`script`) VALUES (5924,'DragonKnight_Eyepatch','Dragon Knight Eye Patch','Armor',200,1,true,1,10,1227,'bonus2 bAddRace,RC_Dragon,5;\nbonus2 bSubRace,RC_Dragon,5;');
+REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`defense`,`slots`,`location_head_top`,`equip_level_min`,`refineable`,`view`,`script`) VALUES (5932,'Heaven_Cage','Birdcage in Paradise','Armor',800,6,1,true,40,true,1286,'bonus bLuk,5;\nbonus bCritical,5;\nbonus bFlee2,5;\nif (BaseClass == Job_Ranger)\n   bonus2 bSkillAtk,"HT_BLITZBEAT",5*getrefine();');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`location_head_mid`,`armor_level`,`equip_level_min`,`view`,`script`) VALUES (5933,'Crow_Tengu_Mask','Crow Tengu Mask','Armor',20,300,true,1,80,1287,'bonus2 bAddSize,Size_All,1;\nbonus bLongAtkRate,2;\nif (readparam(bStr)>=108) {\n   bonus2 bAddSize,Size_All,1;\n   bonus bLongAtkRate,2;\n}\nif (readparam(bStr)>=120) {\n   bonus2 bAddSize,Size_All,2;\n   bonus bLongAtkRate,3;\n}');
+REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`location_head_low`,`equip_level_min`,`view`,`script`) VALUES (5934,'Happy_Balloon_J','Happy Balloon','Armor',100,true,10,1289,'bonus bMdef,5;\nbonus2 bAddMonsterDropItem,12355,30;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`location_head_mid`,`armor_level`,`equip_level_min`,`view`,`script`) VALUES (5936,'8_Type_PurgatorialWing','8Way Wings of Purgatory','Armor',20,200,true,1,10,1008,'bonus2 bSubRace,RC_Dragon,5;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`defense`,`slots`,`location_head_top`,`armor_level`,`equip_level_min`,`refineable`,`view`,`script`) VALUES (5937,'Flying_Helmet','Flying Helmet','Armor',1,300,5,1,true,1,20,true,820,'bonus bMdef,5;\nbonus bHPGainValue,100;\nbonus2 bSPGainRace,RC_Dragon,5;\n.@r = getrefine();\nif (.@r>=5) {\n   bonus2 bSubRace,RC_Dragon,5;\n}\nif (.@r>=7) {\n   bonus2 bSubRace,RC_Dragon,5;\n}');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`defense`,`slots`,`location_head_top`,`armor_level`,`equip_level_min`,`refineable`,`view`,`script`) VALUES (5938,'Octopus_Hat_J','Octopus Hat','Armor',20,880,8,1,true,1,60,true,538,'bonus bMdef,8;\nbonus bUnbreakableHelm,1;\nbonus2 bAddItemHealRate,579,50;\nbonus2 bAddItemHealRate,544,125;\nbonus2 bAddItemHealRate,551,125;\n.@r = getrefine();\nif (.@r>=5) {\n   bonus2 bAddItemHealRate,579,50;\n   bonus2 bAddItemHealRate,544,125;\n   bonus2 bAddItemHealRate,551,125;\n}\nif (.@r>=6) {\n   bonus2 bAddItemHealRate,579,50;\n   bonus2 bAddItemHealRate,544,125;\n   bonus2 bAddItemHealRate,551,125;\n}\nif (.@r>=7) {\n   bonus2 bAddItemHealRate,579,50;\n   bonus2 bAddItemHealRate,544,125;\n   bonus2 bAddItemHealRate,551,125;\n}');
@@ -3166,6 +3168,7 @@ REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`defense`,`slots`,`job_summoner`,`location_armor`,`armor_level`,`equip_level_min`,`refineable`,`script`) VALUES (15126,'Doram_Only_Suit','Private Doram Suits','Armor',20,700,80,1,true,true,1,100,true,'bonus bMaxHP,500;\nbonus bMaxSP,100;\n.@r = getrefine()/3;\nbonus bDex,.@r;\nbonus bInt,.@r;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`defense`,`location_armor`,`armor_level`,`equip_level_min`,`refineable`,`script`) VALUES (15128,'Excelion_Suit','Excelion Suit','Armor',20,1000,100,true,1,99,true,'bonus bVit,6 + (BaseLevel > 129 ? 4 : 0);\nbonus bMaxHPrate,(getrefine() / 3) * 4;\nbonus bUnbreakableArmor;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`defense`,`slots`,`job_summoner`,`location_armor`,`armor_level`,`equip_level_min`,`refineable`,`script`) VALUES (15129,'Doram_High_Suit','Luxury Doram Suit','Armor',20,800,100,1,true,true,1,140,true,'bonus bMaxHPrate,10;\nbonus bMaxSPrate,10;\n.@r = getrefine()/2;\nbonus bDex,.@r;\nbonus bInt,.@r;');
+REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`slots`,`location_armor`,`equip_level_min`,`refineable`,`script`) VALUES (15136,'Tatenasi_Armor','Old Tatenasi Armor','Armor',600,1,true,1,true,'bonus bMaxHP,100;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`defense`,`slots`,`location_armor`,`armor_level`,`equip_level_min`,`refineable`,`script`) VALUES (15138,'Egir_Armor_K','Aegir Armor','Armor',10,1600,25,1,true,1,40,true,'bonus bMaxHP,500;\nbonus bMaxSP,50;\nbonus bUnbreakableArmor;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`defense`,`slots`,`location_armor`,`armor_level`,`equip_level_min`,`refineable`,`trade_override`,`trade_nodrop`,`trade_notrade`,`trade_nocart`,`trade_noguildstorage`,`trade_nomail`,`trade_noauction`,`script`) VALUES (15141,'Rift_Ancient_Armor','Rift Ancient Armor','Armor',10,500,30,1,true,1,100,true,100,true,true,true,true,true,true,'.@r = getrefine();\nbonus bMaxHP,(.@r >= 9 ? 1500 : .@r >= 7 ? 900 : 500);\nbonus bMaxSP,-100;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`defense`,`slots`,`location_armor`,`armor_level`,`equip_level_min`,`refineable`,`script`) VALUES (15143,'Vermin_Cloth','Vermin Cloth','Armor',10,1200,30,1,true,1,70,true,'.@r = getrefine();\nbonus bMdef,5+.@r;\nbonus2 bSubRace,RC_Plant,(5+.@r);');
@@ -3227,6 +3230,8 @@ REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`defense`,`slots`,`location_armor`,`armor_level`,`equip_level_min`,`refineable`,`script`) VALUES (15353,'Overwhelm_Agi_Armor','Splendid Swift Armor','Armor',2000,120,1,true,1,1,true,'.@r = getrefine();\nbonus bBaseAtk,50;\nif (.@r > 2)\n   bonus bAspdRate,.@r/3*2;\nif (.@r > 6) {\n   bonus2 bIgnoreDefRaceRate,RC_Brute,30;\n   bonus2 bIgnoreDefRaceRate,RC_Demon,30;\n}\nif (.@r > 8) {\n   bonus2 bAddRace,RC_Brute,10;\n   bonus2 bAddRace,RC_Demon,10;\n}\nif (.@r > 10) {\n   bonus2 bAddEle,Ele_Earth,10;\n   bonus2 bAddEle,Ele_Wind,10;\n}');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`defense`,`slots`,`location_armor`,`armor_level`,`equip_level_min`,`refineable`,`script`) VALUES (15354,'Overwhelm_Dex_Armor','Excellent Dexterous Armor','Armor',2000,120,1,true,1,1,true,'.@r = getrefine();\nbonus bBaseAtk,50;\nif (.@r > 2)\n   bonus bLongAtkRate,.@r/3*2;\nif (.@r > 6) {\n   bonus2 bIgnoreDefRaceRate,RC_Brute,30;\n   bonus2 bIgnoreDefRaceRate,RC_Demon,30;\n}\nif (.@r > 8) {\n   bonus2 bAddRace,RC_Brute,10;\n   bonus2 bAddRace,RC_Demon,10;\n}\nif (.@r > 10) {\n   bonus2 bAddEle,Ele_Earth,10;\n   bonus2 bAddEle,Ele_Wind,10;\n}');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`slots`,`job_crusader`,`job_knight`,`class_third`,`class_third_upper`,`class_third_baby`,`location_armor`,`equip_level_min`,`refineable`,`script`) VALUES (15362,'Apollo_Armor_TW','Apollo Armor','Armor',300,1,true,true,true,true,true,true,100,true,'.@r = getrefine();\nbonus bMaxHPrate,20+getskilllv("RK_DRAGONBREATH");\nbonus bVit,3*(.@r/4);\nbonus bMdef,5*(.@r/4);\nif (.@r>=12)\n   bonus3 bAutoSpellWhenHit,"AL_PNEUMA",1,50;');
+REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`slots`,`job_assassin`,`job_rogue`,`class_third`,`class_third_upper`,`class_third_baby`,`location_armor`,`equip_level_min`,`refineable`,`script`) VALUES (15363,'Mars_Armor_TW','Mars Armor','Armor',300,1,true,true,true,true,true,true,100,true,'.@r =  getrefine();\nautobonus3 "{ bonus bAspd,2; }",1000,10000,"TF_BACKSLIDING","{ specialeffect2 EF_HASTEUP; }";\nbonus bDex,3*(.@r/4);\nbonus bMaxHPrate,3*(.@r/4);\nbonus2 bIgnoreDefRaceRate,RC_DemiHuman,15;\nif (.@r>=12) {\n   bonus2 bSkillCooldown,"GC_DARKCROW",-5000;\n   bonus2 bSkillAtk,"SC_TRIANGLESHOT",2*(getskilllv("AC_DOUBLE"));\n}');
+REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`slots`,`job_monk`,`job_priest`,`class_third`,`class_third_upper`,`class_third_baby`,`location_armor`,`equip_level_min`,`refineable`,`script`) VALUES (15365,'Vinus_Armor_TW','Venus Armor','Armor',300,1,true,true,true,true,true,true,100,true,'.@r = getrefine();\n.@lvl = getskilllv("AL_HEAL");\nbonus bMaxHPrate,.@lvl;\nbonus bLongAtkDef,.@lvl;\nbonus bInt,2*(.@r/4);\nbonus bMdef,7*(.@r/4);\nif (.@r>=12) {\n   bonus2 bSkillCooldown,"AB_CLEARANCE",-5000;\n   bonus2 bSkillCooldown,"AB_SILENTIUM",-5000;\n   bonus2 bSkillCooldown,"SR_CRESCENTELBOW",-3000;\n}');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`defense`,`slots`,`location_armor`,`equip_level_min`,`refineable`) VALUES (15367,'Astraea_Armor','Asteria\'s Armor','Armor',500,80,1,true,94,true);
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`defense`,`slots`,`location_armor`,`armor_level`,`equip_level_min`,`refineable`,`script`) VALUES (15376,'Illusion_Armor_A','Illusion Armor A-type','Armor',1000,105,1,true,1,130,true,'.@r = getrefine();\nbonus bBaseAtk,(100+10*(.@r/2));\nif (.@r >= 7) {\n   bonus bAspdRate,10;\n}');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`defense`,`slots`,`location_armor`,`armor_level`,`equip_level_min`,`refineable`,`script`) VALUES (15377,'Illusion_Armor_B','Illusion Armor B-type','Armor',1000,105,1,true,1,130,true,'.@r = getrefine();\nbonus bMatk,(100+10*(.@r/2));\nif (.@r >= 7) {\n   bonus bVariableCastrate,-10;\n}');
@@ -3720,7 +3725,7 @@ REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`defense`,`location_head_low`,`armor_level`,`equip_level_min`,`refineable`,`view`,`script`) VALUES (18871,'Very_Sweet_Candy','Very Sweet Candy','Armor',10,10,1,true,1,1,true,446,'bonus bAllStats,1;\nbonus bBaseAtk,5;\nbonus bMatk,5;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`defense`,`slots`,`location_head_top`,`armor_level`,`refineable`,`view`,`script`) VALUES (18872,'Snake_Hat','Snake Hat','Armor',20,100,5,1,true,1,true,986,'bonus bStr,3;\nbonus bInt,3;\nbonus bMdef,5;\nbonus bUnbreakableHelm;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`defense`,`location_head_top`,`armor_level`,`equip_level_min`,`refineable`,`view`,`script`) VALUES (18873,'Sweet_Valentine_Out','Sweet Valentine Out','Armor',20,100,1,true,1,1,true,865,'.@r = getrefine();\nif (.@r>6) {\n   bonus bMaxHPrate,.@r-3;\n   bonus bMaxSPrate,.@r-3;\n}\nbonus4 bAutoSpellWhenHit,"AL_BLESSING",10,50,0;');
-REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`slots`,`location_head_mid`,`armor_level`,`equip_level_min`,`view`) VALUES (18874,'One_Eyed_Glass_','Cyclops Glasses','Armor',10,100,1,true,1,1,23);
+REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`slots`,`location_head_mid`,`armor_level`,`equip_level_min`,`view`) VALUES (18874,'One_Eyed_Glass_','Monocle','Armor',10,100,1,true,1,1,23);
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`location_head_mid`,`armor_level`,`equip_level_min`,`view`,`script`) VALUES (18877,'Baron_Evil_Eye','Baron\'s Evil Eye','Armor',10,300,true,1,30,989,'bonus bDelayrate,-5;\nbonus bUseSPrate,5;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`defense`,`slots`,`location_head_top`,`armor_level`,`equip_level_min`,`refineable`,`view`,`script`) VALUES (18878,'Palace_Guard_Cap','Palace Guard Cap','Armor',10,1000,15,1,true,1,50,true,991,'.@r = max(5,getrefine());\nbonus2 bSubEle,Ele_Neutral,.@r;\nbonus bLongAtkDef,.@r;\nbonus bUnbreakableHelm;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`defense`,`location_head_top`,`armor_level`,`refineable`,`view`,`script`) VALUES (18879,'Angry_Scorpion_Hat','Angry Scorpion Hat','Armor',10,100,5,true,1,true,995,'bonus bMdef,5;');
@@ -3786,6 +3791,7 @@ REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`defense`,`slots`,`job_hunter`,`class_third`,`class_third_upper`,`class_third_baby`,`location_head_top`,`armor_level`,`equip_level_min`,`refineable`,`view`,`trade_override`,`trade_nodrop`,`trade_notrade`,`trade_nosell`,`trade_nocart`,`trade_noguildstorage`,`trade_nomail`,`trade_noauction`,`script`) VALUES (18984,'Old_Camo_RabbitHood','Old Camouflage Rabbit Hood','Armor',10,100,10,1,true,true,true,true,true,1,170,true,1142,100,true,true,true,true,true,true,true,'.@r = getrefine();\nbonus bAllStats,1;\nbonus bLongAtkRate,.@r;\nbonus bFlee2,(.@r/3);\nbonus bMaxHPrate,(.@r/2);\nbonus bMaxSPrate,(.@r/2);\nbonus2 bSkillAtk,"RA_CLUSTERBOMB",15*(.@r/2);\nbonus2 bSkillAtk,"RA_WUGSTRIKE",10*(.@r/2);');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`job_hunter`,`location_head_low`,`armor_level`,`equip_level_min`,`view`,`script`) VALUES (18985,'Falconer_Flute','Falconer Flute','Armor',100,true,true,1,75,1143,'set .@bblvl,max(getskilllv("HT_BLITZBEAT"),1);\nset .@luk,min(readparam(bLuk),120);\nbonus3 bAutoSpell,"HT_BLITZBEAT",.@i,((.@bblvl / 3) * 10) + (.@luk * 10) + (((.@bblvl / 5) * .@bblvl) * 2);');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`defense`,`slots`,`location_head_top`,`armor_level`,`equip_level_min`,`refineable`,`view`,`script`,`equip_script`) VALUES (18987,'RWC13_Jormungandr_Hat','RWC13 Jormungandr Hat','Armor',20,2500,7,1,true,1,1,true,1149,'bonus bAllStats,2;\nbonus bVariableCastrate,-5;\nbonus bDelayrate,-5;\nbonus2 bSubRace,RC_DemiHuman,10;\nbonus2 bSubRace,RC_Player_Human,10;\n.@r = getrefine();\nif (.@r>6) {\n   bonus2 bAddItemHealRate,11596,20;\n   bonus bAspd,1;\n}\nif (.@r>9) {\n   bonus bVariableCastrate,-5;\n   bonus bDelayrate,-5;\n}\nbonus2 bAddItemHealRate,11596,150;','sc_end SC_SpeedUp0;');
+REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`slots`,`location_head_top`,`equip_level_min`,`refineable`,`view`,`script`) VALUES (18992,'New_Year_Hairpin','New Year Hairpin','Armor',20,180,1,true,15,true,1155,'bonus bHit,5;\nbonus bFlee2,3;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`slots`,`location_head_top`,`armor_level`,`equip_level_min`,`refineable`,`view`,`script`) VALUES (18997,'Riot_Chip','Runaway Chip','Armor',10,300,1,true,1,100,true,1201,'bonus bHit,50;\nbonus bFlee,50;\nbonus bMaxSPrate,-50;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`defense`,`location_head_low`,`armor_level`,`equip_level_min`,`view`,`script`) VALUES (19004,'Happy_Balloon','Happy Balloon','Armor',200,5,true,1,1,1183,'bonus bDex,2;\nbonus bMaxHP,200;\nbonus bMaxSP,50;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`location_head_top`,`armor_level`,`equip_level_min`,`view`,`script`) VALUES (19011,'Little_Devil_S_Horn','Little Devil\'s Horn','Armor',1000,true,1,1,1103,'bonus2 bExpAddRace,RC_Demon,5;\nbonus2 bSubRace,RC_Demon,10;');
@@ -3802,7 +3808,7 @@ REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`location_head_mid`,`armor_level`,`refineable`,`view`,`script`) VALUES (19039,'12th_ElvenEars','12 Anniversary Elf Ears','Armor',10,120,true,1,true,875,'bonus2 bSubRace,RC_All,4;\nbonus2 bSubRace,RC_Player_Human,-4;\nbonus2 bSubRace,RC_Player_Doram,-4;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`defense`,`slots`,`job_all`,`job_novice`,`job_supernovice`,`class_upper`,`class_third_upper`,`location_garment`,`armor_level`,`equip_level_min`,`refineable`,`script`) VALUES (19046,'DeadlyPoison_Manteau','Deadly Poisonous Manteau','Armor',500,16,1,true,false,false,true,true,true,1,70,true,'bonus bMdef,2;\nbonus bMaxHPrate,5;\nbonus bMatkRate,1;\nbonus2 bAddEle,Ele_Poison,2;\nbonus2 bMagicAddEle,Ele_Poison,2;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`defense`,`slots`,`location_head_top`,`armor_level`,`equip_level_min`,`refineable`,`view`,`script`) VALUES (19047,'Angeling_KnitCap','Angeling KnitCap','Armor',300,5,1,true,1,20,true,953,'bonus2 bSPGainRace,RC_Angel,5;\nbonus bHPGainValue,100;\n.@r = getrefine();\nif (.@r >= 5) {\n   bonus2 bSubRace,RC_Angel,5+((.@r >= 7) ? 5 : 0);\n}');
-REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`defense`,`slots`,`location_armor`,`armor_level`,`equip_level_min`,`refineable`,`script`) VALUES (19048,'Elemental_Clothe','Elemental Clothes','Armor',500,45,1,true,1,80,true,'.@r = getrefine();\nbonus bLongAtkRate,2+((.@r >= 9) ? 3 : 0)+((.@r >= 8) ? 2 : 0);\nif (.@r >= 7)\n   bonus bUnbreakableArmor;');
+REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`defense`,`slots`,`location_armor`,`armor_level`,`equip_level_min`,`refineable`,`script`) VALUES (19048,'Elemental_Clothe','Elemental Tights','Armor',500,45,1,true,1,80,true,'.@r = getrefine();\nbonus bLongAtkRate,2+((.@r >= 9) ? 3 : 0)+((.@r >= 8) ? 2 : 0);\nif (.@r >= 7)\n   bonus bUnbreakableArmor;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`slots`,`location_head_top`,`armor_level`,`equip_level_min`,`refineable`,`view`) VALUES (19050,'Loki_Nidhogg_Hat','Loki & Nidhoggur\'s Hat','Armor',100,1,true,1,1,true,1304);
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`defense`,`slots`,`location_head_top`,`armor_level`,`equip_level_min`,`refineable`,`view`,`trade_override`,`trade_nodrop`,`trade_notrade`,`trade_nosell`,`trade_nocart`,`trade_noguildstorage`,`trade_nomail`,`trade_noauction`,`script`) VALUES (19051,'Warrior_Moon_Cat','Warrior Moon Cat','Armor',20,100,5,1,true,1,1,true,1308,100,true,true,true,true,true,true,true,'/*Enables use of Level 1 Monster\'s Cry*/\nbonus bAllStats,3;\nbonus2 bHPDrainRate,40,5;\nbonus2 bSPDrainRate,10,2;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`defense`,`location_head_mid`,`armor_level`,`equip_level_min`,`view`,`trade_override`,`trade_nodrop`,`trade_notrade`,`trade_nosell`,`trade_nocart`,`trade_nostorage`,`trade_noguildstorage`,`trade_nomail`,`trade_noauction`,`script`) VALUES (19052,'Sigruns_Wing','Rental Sigrun\'s Wing','Armor',10,2,true,1,1,568,100,true,true,true,true,true,true,true,true,'if (Class == Job_Swordman || Class == Job_Thief || Class == Job_Merchant || Class == Job_Taekwon || Class == Job_Star_Gladiator || Class == Job_Star_Gladiator2)\n   bonus bAspd,1;\nelse if (Class == Job_Mage || Class == Job_Acolyte || Class == Job_Ninja || Class == Job_Soul_Linker) {\n   bonus bMatk,5;\n   bonus bHealPower,2;\n} else if (Class == Job_Archer || Class == Job_Gunslinger)\n   bonus bLongAtkRate,2;\nelse if (Class == Job_Novice || Class == Job_SuperNovice) {\n   bonus bMaxHP,120;\n   bonus bMaxSP,60;\n}');
@@ -3954,6 +3960,7 @@ REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`def
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`location_head_low`,`armor_level`,`equip_level_min`,`view`,`script`) VALUES (19306,'Heart_Card_In_Mouth','Heart Card in Mouth','Armor',20,300,true,1,80,1679,'bonus bCritAtkRate,5;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`defense`,`slots`,`location_head_top`,`armor_level`,`refineable`,`view`,`script`) VALUES (19308,'Amistr_Beret','Amistr Beret','Armor',200,15,1,true,1,true,1294,'.@r = getrefine();\nbonus bMatk,10*(.@r/2);\nbonus bBaseAtk,10*(.@r/2);\nif (.@r>=7) {\n   bonus bVariableCastrate,-10;\n}\nif (.@r>=9) {\n   bonus2 bMagicAtkEle,Ele_Neutral,10;\n   bonus2 bMagicAtkEle,Ele_Holy,10;\n}\nif (.@r>=11) {\n   bonus bMatkRate,3;\n   bonus2 bAddClass,Class_All,5;\n}\nif (.@r>=10) {\n   bonus bFixedCast,-100*(min((.@r-10),15)/1);\n}');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`defense`,`location_head_top`,`armor_level`,`equip_level_min`,`view`,`script`) VALUES (19310,'Beginner\'s_Cap','Beginner\'s Cap','Armor',20,10,true,1,100,102,'bonus bAllStats,1;\nbonus MaxHp,200;');
+REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`defense`,`slots`,`location_head_top`,`equip_level_min`,`refineable`,`view`,`script`) VALUES (19311,'Greater_Dracul_Horn','Greater Dracule Horn','Armor',800,10,1,true,100,true,1695,'.@r = getrefine();\nbonus bUnbreakableHelm;\nbonus bMaxHPrate,10;\nbonus2 bAddClass,Class_All,6;\nbonus2 bHPDrainRate,30,10;\nskill "MC_LOUD",1;\nif (.@r>=9) {\n   bonus2 bAddClass,Class_All,10;\n   bonus2 bHPDrainRate,30,30;\n}\nelse if (.@r>=7) {\n   bonus2 bAddClass,Class_All,5;\n   bonus2 bHPDrainRate,30,15;\n}');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`slots`,`location_head_top`,`armor_level`,`equip_level_min`,`refineable`,`view`) VALUES (19326,'Book_of_Soyga','Book of Soyga','Armor',20,1000,1,true,1,90,true,423);
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`location_head_low`,`armor_level`,`equip_level_min`,`view`,`script`) VALUES (19327,'Feather_Of_Seraphim','Seraphim Feather','Armor',20,300,true,1,80,1704,'bonus bHealPower,5;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`defense`,`location_head_top`,`armor_level`,`equip_level_min`,`refineable`,`view`,`script`) VALUES (19329,'Hand_Of_Devil','Devil\'s Hand','Armor',10,1000,18,true,1,100,true,1018,'.@r = getrefine();\n.@a = getskilllv("SR_RIDEINLIGHTNING");\n.@b = getskilllv("SR_EARTHSHAKER");\n.@c = getskilllv("SR_RAMPAGEBLASTER");\nbonus bNoCastCancel;\nbonus bAspdRate,10;\nbonus2 bFixedCastrate,"SR_HOWLINGOFLION",-100;\nbonus2 bSkillAtk,"SR_HOWLINGOFLION",20;\nif (.@r>=7) {\n   bonus2 bSkillAtk,"SR_HOWLINGOFLION",30;\n   bonus bAspdRate,5;\n}\nif (.@r>=9) {\n   bonus2 bSkillAtk,"SR_HOWLINGOFLION",50;\n   bonus bAspdRate,5;\n}\nif (.@r>=10)\n   bonus bIgnoreDefRace,RC_All;\nif (.@r>=10 && .@a == 5) {\n   bonus2 bVariableCastrate,"SR_HOWLINGOFLION",-50;\n   bonus2 bVariableCastrate,"MO_STEELBODY",-50;\n   bonus2 bVariableCastrate,"MO_CALLSPIRITS",-50;\n}\nif (.@r>=10 && .@b == 5)\n   bonus2 bSkillCooldown,"SR_HOWLINGOFLION",-9500;\nif (.@r>=10 && .@c == 5)\n   bonus2 bAddClass,Class_Boss,50;');
@@ -5200,6 +5207,8 @@ REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`defense`,`slots`,`job_all`,`job_novice`,`job_supernovice`,`location_shoes`,`armor_level`,`equip_level_min`,`refineable`,`script`) VALUES (22066,'Spirit_Shoes','Spirit Shoes','Armor',10,250,12,1,true,false,false,true,1,90,true,'bonus bMdef,3;\nbonus2 bSubEle,Ele_All,5;\n.@r = getrefine();\nbonus bMaxHPrate,.@r*1;\nbonus bMaxSPrate,.@r*1;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`defense`,`job_all`,`job_novice`,`job_supernovice`,`location_shoes`,`armor_level`,`equip_level_min`,`refineable`,`script`) VALUES (22067,'Witch_Shoes','Shoe of Witch','Armor',10,400,10,true,false,false,true,1,1,true,'skill "ALL_CATCRY",1;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`defense`,`slots`,`location_shoes`,`armor_level`,`equip_level_min`,`refineable`,`script`) VALUES (22069,'Lian_Shoes','Lian Shoes','Armor',250,12,1,true,1,90,true,'bonus bMdef,3;\nbonus2 bSubEle,Ele_Neutral,5;\n.@r = getrefine();\nbonus bMaxHPrate,.@r;\nbonus bMaxSPrate,.@r;');
+REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`slots`,`location_shoes`,`equip_level_min`,`refineable`,`script`) VALUES (22070,'Applause_Sandal','Old Applause Sandals','Armor',200,1,true,1,true,'bonus bMaxSP,50;');
+REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`defense`,`slots`,`location_shoes`,`equip_level_min`,`refineable`,`script`) VALUES (22071,'Applause_Sandal_','Applause Sandal','Armor',200,7,1,true,99,true,'bonus bMdef,10;\nbonus bDelayrate,-2*getrefine();');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`defense`,`slots`,`location_shoes`,`armor_level`,`equip_level_min`,`refineable`,`script`) VALUES (22072,'Hikingboots','Hikingboots','Armor',500,10,1,true,1,100,true,'.@r = getrefine();\nbonus bMaxHPRate,4+(.@r/3);\nbonus bMaxSPRate,4+(.@r/3);\nif (.@r > 9)\n   bonus bSpeedRate,25;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`defense`,`slots`,`location_shoes`,`armor_level`,`equip_level_min`,`refineable`,`trade_override`,`trade_nodrop`,`trade_notrade`,`trade_nocart`,`trade_noguildstorage`,`trade_nomail`,`trade_noauction`,`script`) VALUES (22075,'Rift_Shoes','Rift Shoes','Armor',20,250,12,1,true,1,100,true,100,true,true,true,true,true,true,'.@r = getrefine();\nbonus bMaxHP,(.@r >= 9 ? 1300 : .@r >= 7 ? 700 : 300);\nbonus bMaxSP,-50;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`defense`,`slots`,`job_summoner`,`location_shoes`,`armor_level`,`equip_level_min`,`refineable`,`script`) VALUES (22076,'Hardwood_Slipper','Wooden Slipper','Armor',20,50,10,1,true,true,1,9,true,'bonus2 bHPRegenRate,2,10000;');
@@ -7085,7 +7094,7 @@ REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`slots`,`location_left_accessory`,`armor_level`,`equip_level_min`,`script`) VALUES (32208,'Illusion_B_L','Illusion Booster L','Armor',20,100,1,true,1,130,'bonus2 bAddClass,Class_All,5;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`slots`,`location_right_accessory`,`armor_level`,`equip_level_min`,`script`) VALUES (32209,'Illusion_BC_R','Illusion Battle chip R','Armor',20,100,1,true,1,130,'bonus bMatkRate,5;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`slots`,`location_left_accessory`,`armor_level`,`equip_level_min`,`script`) VALUES (32210,'Illusion_BC_L','Illusion Battle chip L','Armor',20,100,1,true,1,130,'bonus bMatkRate,5;');
-REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`slots`,`location_right_accessory`,`location_left_accessory`,`armor_level`,`equip_level_min`,`script`) VALUES (32219,'Astraea_Ring','Asteria Ring','Armor',100,1,true,true,1,100,'bonus bAllStats,1;\nskill "PR_SUFFRAGIUM",3;\nbonus2 bAddClass,Class_Boss,5;\nbonus2 bMagicAddClass,Class_Boss,5;');
+REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`slots`,`location_right_accessory`,`location_left_accessory`,`armor_level`,`equip_level_min`,`script`) VALUES (32219,'Astraea_Ring','Asteria\'s Ring','Armor',100,1,true,true,1,100,'bonus bAllStats,1;\nskill "PR_SUFFRAGIUM",3;\nbonus2 bAddClass,Class_Boss,5;\nbonus2 bMagicAddClass,Class_Boss,5;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`defense`,`slots`,`location_right_accessory`,`location_left_accessory`,`armor_level`,`equip_level_min`,`trade_override`,`trade_nodrop`,`trade_notrade`,`trade_nocart`,`trade_nostorage`,`trade_noguildstorage`,`trade_nomail`,`trade_noauction`,`script`) VALUES (32221,'Time_Overload_Ring','Temporal Transcendence Ring','Armor',15,1,true,true,1,99,100,true,true,true,true,true,true,true,'bonus bAspdRate,10;\nbonus bVariableCastrate,-10;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`slots`,`location_right_accessory`,`location_left_accessory`,`armor_level`,`equip_level_min`,`script`) VALUES (32222,'Brooch_Of_Hero','Brooch of Hero','Armor',20,400,1,true,true,1,100,'bonus2 bAddClass,Class_All,5;\nbonus bMatkRate,5;\nif ((eaclass()&EAJL_THIRD && BaseJob == Job_Knight) || ((eaclass()&EAJL_THIRD && BaseJob == Job_Crusader))) {\n   bonus bMaxHPrate,10;\n   bonus2 bAddRace,RC_All,5;\n}\nif ((eaclass()&EAJL_THIRD && BaseJob == Job_Priest) || ((eaclass()&EAJL_THIRD && BaseJob == Job_Monk))) {\n   bonus bAspdRate,10;\n   bonus2 bAddRace,RC_All,5;\n}\nif ((eaclass()&EAJL_THIRD && BaseJob == Job_Blacksmith) || ((eaclass()&EAJL_THIRD && BaseJob == Job_Alchemist))) {\n   bonus bUseSPrate,-10;\n   bonus2 bAddRace,RC_All,5;\n}');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`slots`,`location_right_accessory`,`location_left_accessory`,`armor_level`,`equip_level_min`,`script`) VALUES (32227,'Fenrir_Chain','Hrodvitnir\'s Chain','Armor',20,300,1,true,true,1,100,'bonus bAspdRate,5;\nbonus bDelayrate,-5;\nskill "AL_TELEPORT",1;');
@@ -7378,6 +7387,8 @@ REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`defense`,`sl
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`defense`,`slots`,`location_garment`,`armor_level`,`equip_level_min`,`refineable`,`trade_override`,`trade_nodrop`,`trade_notrade`,`trade_nocart`,`trade_nostorage`,`trade_noguildstorage`,`trade_nomail`,`trade_noauction`,`script`) VALUES (480019,'Grace_Magic_Manteau','Grace Magic Manteau','Armor',30,1,true,1,150,true,100,true,true,true,true,true,true,true,'.@r = getrefine();\nbonus bVariableCastrate,-10;\nif (.@r>=7)\n   bonus bDelayrate,-5;\nif (.@r>=9)\n   bonus2 bMagicAtkEle,Ele_All,10;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`defense`,`slots`,`location_garment`,`armor_level`,`equip_level_min`,`refineable`,`script`) VALUES (480020,'Auto_Engine_A','Automatic Engine Wing Type A','Armor',900,70,1,true,1,160,true,'.@r = getrefine();\nbonus bMaxHP,1500;\nbonus bMaxHP,100*(.@r/2);\nif (.@r>=7) {\n   bonus bAspdRate,7;\n}');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`defense`,`slots`,`location_garment`,`armor_level`,`equip_level_min`,`refineable`,`script`) VALUES (480021,'Auto_Engine_B','Automatic Engine Wing Type B','Armor',900,70,1,true,1,160,true,'.@r = getrefine();\nbonus bMaxHP,1500;\nbonus bMaxHP,100*(.@r/2);\nif (.@r>=7) {\n   bonus bVariableCastrate,-7;\n}');
+REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`defense`,`slots`,`location_garment`,`equip_level_min`,`refineable`,`script`) VALUES (480025,'Owl_Baron_Mantle','Owl Baron Cloak','Armor',100,5,1,true,100,true,'.@r = getrefine();\nbonus bInt,2;\nbonus bMdef,5;\nbonus bAspdRate,10;\nbonus bBaseAtk,6*.@r;\nbonus bMatk,6*.@r;\nif (.@r>=10) {\n   skill "PR_LEXAETERNA",1;\n   autobonus2 "{ bonus bAspdRate,40; }",50,30000,BF_WEAPON|BF_MAGIC,"{ specialeffect2 EF_HASTEUP; }";\n}\nelse if (.@r>=9)\n   autobonus2 "{ bonus bAspdRate,20; }",50,30000,BF_WEAPON|BF_MAGIC,"{ specialeffect2 EF_HASTEUP; }";\nelse if (.@r>=7)\n   autobonus2 "{ bonus bAspdRate,10; }",50,30000,BF_WEAPON|BF_MAGIC,"{ specialeffect2 EF_HASTEUP; }";');
+REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`defense`,`slots`,`location_garment`,`equip_level_min`,`refineable`,`script`) VALUES (480053,'Behemoth_Muffler','Behemoth Muffler','Armor',200,18,1,true,100,true,'.@r = getrefine();\nbonus bMdef,5;\nbonus bAspdRate,.@r;\nbonus2 bAddEle,Ele_Earth,15+.@r;\nbonus2 bMagicAddEle,Ele_Earth,15+.@r;\nbonus2 bSubRace,RC_Player_Human,5;\nbonus2 bSubRace,RC_Player_Doram,5;\nif (.@r>=10)\n   bonus2 bSubEle,Ele_Earth,100;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`defense`,`slots`,`job_all`,`job_novice`,`location_garment`,`armor_level`,`equip_level_min`,`refineable`,`script`) VALUES (480054,'Morrigane\'s_Manteau_IL','Illusion Morrigane\'s Manteau','Armor',600,12,1,true,false,true,1,130,true,'.@r = getrefine();\nbonus bLuk,5;\nbonus bFlee,20;\nif (.@r>=7) {\n   bonus2 bAddRace,RC_Fish,5;\n   bonus2 bAddRace,RC_Insect,5;\n   bonus2 bAddRace,RC_Demon,5;\n   bonus2 bAddRace,RC_DemiHuman,5;\n}\nif (.@r>=9) {\n   bonus2 bAddRace,RC_Fish,10;\n   bonus2 bAddRace,RC_Insect,10;\n   bonus2 bAddRace,RC_Demon,10;\n   bonus2 bAddRace,RC_DemiHuman,10;\n}');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_garment`,`armor_level`,`view`) VALUES (480056,'aegis_480056','Costume Heavenly Fallen Angel\'s Wings','Armor',true,1,3);
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_garment`,`armor_level`,`view`) VALUES (480058,'aegis_480058','Costume Wavy Golden Angel Wings','Armor',true,1,75);

+ 3 - 2
sql-files/item_db_re_etc.sql

@@ -653,7 +653,7 @@ REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`location_head_top`,`location_head_mid`,`location_head_low`,`flag_buyingstore`,`flag_dropeffect`,`script`) VALUES (4364,'Magaleta_Card','Margaretha Sorin Card','Card',20,10,true,true,true,true,'CLIENT','bonus bInt,1;\nbonus5 bAutoSpellWhenHit,"PR_LEXDIVINA",5,150,BF_MAGIC,1;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`location_head_top`,`location_head_mid`,`location_head_low`,`flag_buyingstore`,`flag_dropeffect`,`script`,`unequip_script`) VALUES (4365,'B_Katrinn_Card','High Wizard Card','Card',20,10,true,true,true,true,'CLIENT','bonus2 bIgnoreMdefClassRate,Class_Normal,100;\nbonus bVariableCastrate,100;\nbonus bSPrecovRate,-100;','heal 0,-2000;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`location_head_top`,`location_head_mid`,`location_head_low`,`flag_buyingstore`,`flag_dropeffect`,`script`) VALUES (4366,'Katrinn_Card','Kathryne Keyron Card','Card',20,10,true,true,true,true,'CLIENT','.@r = getrefine();\nbonus bVariableCastrate,.@r*-1;\nif (.@r>=9) {\n   bonus bMatkRate,2;\n}');
-REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`location_right_hand`,`flag_buyingstore`,`flag_dropeffect`,`script`) VALUES (4367,'B_Shecil_Card','Sniper Card','Card',20,10,true,true,'CLIENT','bonus2 bHPDrainRate,50,20;\nbonus bHPrecovRate,-100;');
+REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`location_right_hand`,`flag_buyingstore`,`flag_dropeffect`,`script`) VALUES (4367,'B_Shecil_Card','Sniper Card','Card',20,10,true,true,'CLIENT','bonus2 bHPDrainRate,50,20;\nbonus bNoRegen,1;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`location_right_hand`,`flag_buyingstore`,`flag_dropeffect`,`script`) VALUES (4368,'Shecil_Card','Cecil Damon Card','Card',20,10,true,true,'CLIENT','bonus bAspdRate,5;\nbonus bHit,-30;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`location_armor`,`flag_buyingstore`,`flag_dropeffect`,`script`) VALUES (4369,'Venatu_Card','Venatu Card','Card',20,10,true,true,'CLIENT','bonus bLuk,readparam(bAgi)/18;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`location_armor`,`flag_buyingstore`,`flag_dropeffect`,`script`) VALUES (4370,'Dimik_Card','Dimik Card','Card',20,10,true,true,'CLIENT','bonus bVit,getrefine()-5;');
@@ -777,7 +777,7 @@ REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`location_shoes`,`flag_buyingstore`,`flag_dropeffect`,`script`) VALUES (4488,'Sealed_D_Lord_Card','Sealed Dark Lord Card','Card',20,10,true,true,'CLIENT','bonus3 bAutoSpellWhenHit,"WZ_METEOR",5,50;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`location_head_top`,`location_head_mid`,`location_head_low`,`flag_buyingstore`,`flag_dropeffect`,`script`) VALUES (4489,'Sealed_Pharaoh_Card','Sealed Pharaoh Card','Card',20,10,true,true,true,true,'CLIENT','bonus bUseSPrate,-15;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`location_shoes`,`flag_buyingstore`,`flag_dropeffect`,`script`) VALUES (4490,'Sealed_M_Flower_Card','Sealed Moonlight Flower Card','Card',20,10,true,true,'CLIENT','skill "AL_INCAGI",((getrefine()>14)?5:1);');
-REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`location_right_hand`,`flag_buyingstore`,`flag_dropeffect`,`script`) VALUES (4491,'Sealed_B_Shecil_Card','Sealed Sniper Card','Card',20,10,true,true,'CLIENT','bonus bHPrecovRate,-100;\nbonus2 bHPDrainRate,50,((getrefine()>14)?15:10);');
+REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`location_right_hand`,`flag_buyingstore`,`flag_dropeffect`,`script`) VALUES (4491,'Sealed_B_Shecil_Card','Sealed Sniper Card','Card',20,10,true,true,'CLIENT','bonus bNoRegen,1;\nbonus2 bHPDrainRate,50,((getrefine()>14)?15:10);');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`location_head_top`,`location_head_mid`,`location_head_low`,`flag_buyingstore`,`flag_dropeffect`,`script`) VALUES (4492,'Sealed_Orc_Hero_Card','Sealed Orc Hero Card','Card',20,10,true,true,true,true,'CLIENT','bonus bVit,3;\nbonus2 bResEff,Eff_Stun,((getrefine()>14)?6000:4000);');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`location_armor`,`flag_buyingstore`,`flag_dropeffect`,`script`) VALUES (4493,'Sealed_Tao_Card','Sealed Tao Gunka Card','Card',20,10,true,true,'CLIENT','bonus bMaxHPrate,((getrefine()>14)?75:50);\nbonus bDefRate,-50;\nbonus bMdefRate,-50;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`location_right_hand`,`flag_buyingstore`,`flag_dropeffect`,`script`) VALUES (4494,'Sealed_TurtleG_Card','Sealed Turtle General Card','Card',20,10,true,true,'CLIENT','.@rate = ((getrefine()>14)?15:10);\nbonus2 bAddClass,Class_All,.@rate;\nbonus3 bAutoSpell,"SM_MAGNUM",10,15;');
@@ -3794,6 +3794,7 @@ REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`fla
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`flag_buyingstore`) VALUES (25897,'Crown_Of_Witch','Deep Sea Witch\'s Crown','Etc',10,true);
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`trade_override`,`trade_nodrop`,`trade_notrade`,`trade_nosell`,`trade_nocart`,`trade_nostorage`,`trade_noguildstorage`,`trade_nomail`,`trade_noauction`) VALUES (25898,'Siroods_Fish_Rod','Searud\'s Fishing Rod','Etc',100,true,true,true,true,true,true,true,true);
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`flag_buyingstore`) VALUES (25899,'E_Abyss1','Abyssal Essence','Etc',10,true);
+REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`location_head_top`,`location_head_mid`,`location_head_low`,`flag_dropeffect`,`script`) VALUES (27002,'XM_Mystcase_Card_J','Horror of Xmas Giftcase Card','Card',20,10,true,true,true,'CLIENT','bonus2 bAddMonsterDropItem,664,30;\nbonus2 bAddMonsterDropItem,665,30;\nbonus2 bAddMonsterDropItem,666,30;\nbonus2 bAddMonsterDropItem,667,30;\n/*Unknow Rate*/');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`location_armor`,`flag_dropeffect`,`script`) VALUES (27012,'Kick_Step_Card','Kick Step Card','Card',20,10,true,'CLIENT','bonus bMaxHPrate,8;\nif ((eaclass()&EAJ_THIRDMASK) == EAJ_MECHANIC) {\n   bonus bLongAtkDef,30;\n}');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`location_right_hand`,`flag_dropeffect`,`script`) VALUES (27013,'KickAndKick_Card','Kick & Kick Card','Card',20,10,true,'CLIENT','bonus2 bSkillAtk,"NC_VULCANARM",10+((getrefine()>=10)*20);');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`location_shoes`,`flag_dropeffect`,`script`) VALUES (27014,'GreenCenere_Card','Green Cenere Card','Card',20,10,true,'CLIENT','bonus bMaxHPrate,2;\nautobonus2 "{ bonus2 bHPRegenRate,1000,1000; }",20,5000,BF_NORMAL|BF_MAGIC,"{ specialeffect2 EF_HEAL2; }";');

+ 1 - 0
sql-files/item_db_re_usable.sql

@@ -3199,6 +3199,7 @@ REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`equip_level_min`,`trade_override`,`trade_nodrop`,`trade_notrade`,`trade_nosell`,`trade_nocart`,`trade_noguildstorage`,`trade_nomail`,`trade_noauction`,`script`) VALUES (22829,'Sealed_Card_Album','Sealed Card Album','Usable',10,10,1,100,true,true,true,true,true,true,true,'getitem callfunc("F_Rand",4488,4497,4486,4480,4485,4539,4487,4494,4538,4489,4490,4482,4503,4483,4491),1;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`equip_level_min`,`trade_override`,`trade_nodrop`,`trade_notrade`,`trade_nosell`,`trade_nocart`,`trade_nostorage`,`trade_noguildstorage`,`trade_nomail`,`trade_noauction`,`script`) VALUES (22837,'Integer_Time','Integer Time','Usable',10,50,50,100,true,true,true,true,true,true,true,true,'getitem 673,5;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`equip_level_min`,`script`) VALUES (22838,'Something_Candy_Holder','Something Candy Holders','Usable',10,10,1,'getgroupitem(IG_Something_Candy_Holder);');
+REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`equip_level_min`,`script`) VALUES (22839,'Happy_Box_J','Happy Box','Usable',10,200,1,'getgroupitem(IG_Happy_Box_J);');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`equip_level_min`,`trade_override`,`trade_nodrop`,`trade_notrade`,`trade_nosell`,`trade_nocart`,`trade_noguildstorage`,`trade_nomail`,`trade_noauction`,`script`) VALUES (22842,'Sealed_Dracula_Scroll_II','Sealed Dracula Scroll II','Usable',10,10,1,100,true,true,true,true,true,true,true,'getitem callfunc("F_Rand",22846,6228,6232,24223,24227,17474/*, Enchant Letter*/),1;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`script`) VALUES (22843,'Superstar_Snack','Superstar Snack','Usable',10,10,'bonus_script "{ bonus bAtk2,50; bonus bMatk,50; }",300;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`class_all`,`trade_override`,`trade_nodrop`,`trade_notrade`,`trade_nosell`,`trade_nocart`,`trade_noguildstorage`,`trade_nomail`,`trade_noauction`,`script`) VALUES (22844,'Sealed_Dracula_Card_Album','Sealed Dracula Card Album','Usable',10,50,false,100,true,true,true,true,true,true,true,'/*No Info*/');

+ 1 - 0
src/map/itemdb.hpp

@@ -760,6 +760,7 @@ enum e_random_item_group {
 	IG_XMAS_PACKAGE_14,
 	IG_EASTER_EGG,
 	IG_PITAPAT_BOX,
+	IG_HAPPY_BOX_J,
 
 	IG_MAX,
 };

+ 1 - 0
src/map/script_constants.hpp

@@ -5267,6 +5267,7 @@
 	export_constant(IG_XMAS_PACKAGE_14);
 	export_constant(IG_EASTER_EGG);
 	export_constant(IG_PITAPAT_BOX);
+	export_constant(IG_HAPPY_BOX_J);
 
 	/* unit stop walking */
 	export_constant(USW_NONE);