浏览代码

Sql synchro (#5612)

Atemo 4 年之前
父节点
当前提交
41b5c78292
共有 2 个文件被更改,包括 11 次插入9 次删除
  1. 9 9
      sql-files/item_db_re_equip.sql
  2. 2 0
      sql-files/item_db_re_etc.sql

+ 9 - 9
sql-files/item_db_re_equip.sql

@@ -3244,7 +3244,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`,`attack`,`range`,`slots`,`job_acolyte`,`job_alchemist`,`job_blacksmith`,`job_crusader`,`job_knight`,`job_merchant`,`job_monk`,`job_novice`,`job_priest`,`job_supernovice`,`job_swordman`,`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 (16023,'Metal_Mace','Metal Mace','Weapon','Mace',20,80,1,1,true,true,true,true,true,true,true,true,true,true,true,true,3,1,true,100,true,true,true,true,true,true,true,'bonus bUnbreakableWeapon; bonus bBaseAtk,(getrefine()*5); .@i = min(BaseLevel/10,12); if(.@i>2) bonus bBaseAtk,((.@i-2)*5);');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`slots`,`job_acolyte`,`job_monk`,`job_priest`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (16024,'Quadrille_','Quadrille','Weapon','Mace',10,900,165,2,true,true,true,true,4,40,true,'bonus2 bAddRace,RC_Undead,10; bonus2 bAddRace,RC_DemiHuman,10; bonus2 bAddRace,RC_Player_Human,10; bonus2 bAddEle,Ele_Earth,10;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`attack`,`range`,`job_acolyte`,`job_alchemist`,`job_blacksmith`,`job_crusader`,`job_knight`,`job_merchant`,`job_monk`,`job_novice`,`job_priest`,`job_supernovice`,`job_swordman`,`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 (16025,'TE_Woe_Mace','TE Woe Mace','Weapon','Mace',120,1,true,true,true,true,true,true,true,true,true,true,true,true,3,40,true,100,true,true,true,true,true,true,true,'bonus bUnbreakableWeapon; bonus2 bAddRace,RC_Player_Human,40; bonus2 bAddEff,Eff_Freeze,3000; bonus bHPRecovRate,5; bonus bSPRecovRate,5;');
-REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`range`,`slots`,`job_acolyte`,`job_alchemist`,`job_blacksmith`,`job_crusader`,`job_knight`,`job_merchant`,`job_monk`,`job_priest`,`job_swordman`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`trade_override`,`trade_nodrop`,`script`) VALUES (16026,'RWC_Memory_Mace','RWC Memory Mace','Weapon','Mace',20,800,100,1,1,true,true,true,true,true,true,true,true,true,true,3,1,true,100,true,'bonus bUnbreakableWeapon; .@r = getrefine(); bonus bBaseAtk,(.@r/30)*30; if(.@r>=9){ .@i = 1; bonus3 bAutoSpellWhenHit,"BS_WEAPONPERFECT",1,10; } if(.@r>=6){ .@rate = 5*(.@i+1); bonus2 bAddClass,Class_All,5; }');
+REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`range`,`slots`,`job_acolyte`,`job_alchemist`,`job_blacksmith`,`job_crusader`,`job_knight`,`job_merchant`,`job_monk`,`job_priest`,`job_swordman`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`trade_override`,`trade_nodrop`,`script`) VALUES (16026,'RWC_Memory_Mace','RWC Memory Mace','Weapon','Mace',20,800,100,1,1,true,true,true,true,true,true,true,true,true,true,3,1,true,100,true,'.@r = getrefine(); bonus bBaseAtk,(.@r/3)*30; if(.@r>=9){ bonus2 bAddClass,Class_All,5; bonus3 bAutoSpell,"BS_WEAPONPERFECT",1,10; } if(.@r>=6){ bonus2 bAddClass,Class_All,5; }');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`range`,`slots`,`job_acolyte`,`job_alchemist`,`job_blacksmith`,`job_crusader`,`job_knight`,`job_merchant`,`job_monk`,`job_novice`,`job_priest`,`job_supernovice`,`job_swordman`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (16027,'Hammer_Of_Evil_Slayer','Evil Slayer Destroyer Hammer','Weapon','Mace',10,1350,125,1,1,true,true,true,true,true,true,true,true,true,true,true,true,3,100,true,'bonus2 bAddRace,RC_Demon,10; bonus2 bAddRace,RC_Undead,10; .@r = getrefine(); bonus2 bAddClass,Class_All,(.@r>=12?12:(.@r>=9?5:0));');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`magic_attack`,`range`,`slots`,`job_alchemist`,`job_blacksmith`,`job_crusader`,`job_knight`,`job_monk`,`job_priest`,`class_third`,`class_third_upper`,`class_third_baby`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`,`unequip_script`) VALUES (16028,'Thanos_Hammer','Thanos Hammer','Weapon','Mace',10,3000,180,120,1,1,true,true,true,true,true,true,true,true,true,true,4,120,true,'bonus bInt,6; bonus bVit,6; bonus bLuk,-6; bonus2 bHPDrainRate,50,5; bonus2 bSPDrainRate,10,5; bonus2 bHPLossRate,100,10000;','heal -1000,0;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`magic_attack`,`slots`,`job_acolyte`,`job_monk`,`job_priest`,`class_upper`,`class_third_upper`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (16029,'Noble_Cross','Noble Cross','Weapon','Mace',10,1500,195,150,1,true,true,true,true,true,true,4,40,true,'bonus bAtkEle,Ele_Holy; bonus3 bAutoSpell,"PR_TURNUNDEAD",6,50; bonus2 bSPDrainValueRace,RC_Undead,1; bonus2 bSPGainRace,RC_Undead,12;');
@@ -3263,31 +3263,31 @@ 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`,`weight`,`attack`,`range`,`slots`,`job_novice`,`job_supernovice`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (16043,'Meteor_Strike','Meteor Strike','Weapon','Mace',20000,1,1,2,true,true,true,4,110,true,'bonus bBaseAtk,10*getskilllv("BS_WEAPONRESEARCH"); bonus bBaseAtk,30*getskilllv("MO_IRONHAND"); .@s = getskilllv("AM_AXEMASTERY"); bonus bBaseAtk,7*.@s; bonus bHit,5*.@s; bonus bBaseAtk,10*getrefine(); if (getskilllv("MC_PUSHCART") > 9) skill "MC_CARTREVOLUTION",1; if (getskilllv("SM_SWORD") > 0) skill "KN_BOWLINGBASH",1; .@str = readparam(bStr); if (.@str > 119) bonus bUseSPrate,-30; else if (.@str > 107) bonus bUseSPrate,-20;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`range`,`slots`,`job_acolyte`,`job_alchemist`,`job_blacksmith`,`job_crusader`,`job_knight`,`job_merchant`,`job_monk`,`job_novice`,`job_priest`,`job_supernovice`,`job_swordman`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`trade_override`,`trade_nodrop`,`trade_notrade`,`trade_nocart`,`trade_noguildstorage`,`trade_nomail`,`trade_noauction`,`script`) VALUES (16048,'Unity_Mace','Unity Mace','Weapon','Mace',20,400,76,1,1,true,true,true,true,true,true,true,true,true,true,true,true,3,1,true,100,true,true,true,true,true,true,'bonus bBaseAtk,pow(getrefine(),2)*125/100;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`weight`,`attack`,`range`,`slots`,`job_acolyte`,`job_alchemist`,`job_blacksmith`,`job_crusader`,`job_knight`,`job_merchant`,`job_monk`,`job_novice`,`job_priest`,`job_supernovice`,`job_swordman`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (16051,'Valkyrie_Hammer_','Valkyrie Hammer','Weapon','Mace',100,50,1,4,true,true,true,true,true,true,true,true,true,true,true,true,4,70,true,'.@r = getrefine(); bonus bMatk,50; if (BaseJob==Job_Novice) { bonus bBaseAtk,150; bonus bMatk,200; bonus bUseSPrate,-5; bonus bHit,10; bonus bMaxHP,500+(200*.@r); bonus bMaxSP,400; bonus bVit,.@r; bonus bFlee2,.@r; bonus bAspdRate,.@r; bonus bVariableCastrate,-.@r/2; } if (BaseClass==Job_Swordman) { bonus bVit,.@r; bonus bMaxHP,500; bonus bMaxSP,100; } if (BaseJob==Job_Priest) { bonus bBaseAtk,50; bonus bMatk,100; bonus bAspdRate,.@r; } if (BaseJob==Job_Monk) { bonus bMaxSP,200; bonus bUseSPrate,-5; bonus bFlee2,.@r; } if (BaseClass==Job_Merchant) { bonus bBaseAtk,100; bonus bHit,10; bonus bVariableCastrate,-.@r/2; }');
-REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`attack`,`range`,`slots`,`job_acolyte`,`job_archer`,`job_blacksmith`,`job_crusader`,`job_novice`,`job_stargladiator`,`job_supernovice`,`job_thief`,`job_wizard`,`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 (16054,'Toughen_Metal_Mace','Enhanced Metal Mace','Weapon','Mace',20,105,1,1,true,true,true,true,true,true,true,true,true,true,3,100,true,100,true,true,true,true,true,true,true,'bonus2 bSkillAtk,"GN_CARTCANNON",10;\nbonus2 bSkillAtk,"SR_SKYNETBLOW",10;\nbonus bBaseAtk,7*(getrefine()+(min(BaseLevel,150)/10));');
+REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`attack`,`range`,`slots`,`job_acolyte`,`job_alchemist`,`job_blacksmith`,`job_crusader`,`job_knight`,`job_merchant`,`job_monk`,`job_novice`,`job_priest`,`job_supernovice`,`job_swordman`,`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 (16054,'Toughen_Metal_Mace','Enhanced Metal Mace','Weapon','Mace',20,105,1,1,true,true,true,true,true,true,true,true,true,true,true,true,3,100,true,100,true,true,true,true,true,true,true,'bonus2 bSkillAtk,"GN_CARTCANNON",10;\nbonus2 bSkillAtk,"SR_SKYNETBLOW",10;\nbonus bBaseAtk,7*(getrefine()+(min(BaseLevel,150)/10));');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`weight`,`attack`,`range`,`slots`,`job_acolyte`,`job_alchemist`,`job_blacksmith`,`job_crusader`,`job_knight`,`job_merchant`,`job_monk`,`job_novice`,`job_priest`,`job_supernovice`,`job_swordman`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (16060,'Liquor_Bottle','Liquor Bottle','Weapon','Mace',700,120,1,3,true,true,true,true,true,true,true,true,true,true,true,true,3,100,true,'bonus bUnbreakableWeapon; bonus2 bAddEff,Eff_Stun,(300*getrefine());');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`range`,`slots`,`job_acolyte`,`job_monk`,`job_priest`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (16063,'Illusion_Long_Mace','Illusion Long Mace','Weapon','Mace',20,800,185,3,2,true,true,true,true,4,99,true,'bonus bLongAtkDef,(10+3*(getrefine()/2));');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`attack`,`range`,`slots`,`job_alchemist`,`class_third`,`class_third_upper`,`class_third_baby`,`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 (16064,'Probation_Mace','Trial Genetic\'s Mace','Weapon','Mace',20,140,1,1,true,true,true,true,true,3,100,true,100,true,true,true,true,true,true,true,'bonus bUnbreakableWeapon;\nbonus2 bSkillAtk,"GN_CARTCANNON",20;\n.@val = 6*(min(BaseLevel,160)/10);\nif (getrefine()>=7) {\n   .@val += 3*getskilllv("AM_PHARMACY");\n}\nbonus bBaseAtk,.@val;');
-REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`weight`,`attack`,`range`,`slots`,`job_priest`,`class_third`,`class_third_upper`,`class_third_baby`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (16065,'Illusion_Iron_Driver','Illusion Iron Driver','Weapon','Mace',2000,210,2,2,true,true,true,true,true,4,120,true,'.@r = getrefine(); bonus bAspd,(.@r/2); bonus2 bSkillAtk,"AB_DUPLELIGHT",(3*.@r);');
+REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`weight`,`attack`,`range`,`slots`,`job_priest`,`class_third`,`class_third_upper`,`class_third_baby`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (16065,'Illusion_Iron_Driver','Illusion Iron Driver','Weapon','Mace',2000,210,2,2,true,true,true,true,true,4,120,true,'.@r = getrefine();\nbonus bAspd,(.@r/2);\nbonus2 bSkillAtk,"AB_DUPLELIGHT",(3*.@r);\nbonus bUnbreakableWeapon;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`attack`,`range`,`slots`,`job_blacksmith`,`class_third`,`class_third_upper`,`class_third_baby`,`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 (16075,'Rebeginer_NC_Mace','Beginner Mechanic\'s Mace','Weapon','Mace',170,1,1,true,true,true,true,true,3,100,true,100,true,true,true,true,true,true,true,'bonus bUnbreakableWeapon;\nbonus bAspdRate,10;\nif (getrefine()>=7) {\n   bonus2 bSkillAtk,"NC_BOOSTKNUCKLE",15;\n}');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`attack`,`range`,`slots`,`job_supernovice`,`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 (16076,'Rebeginer_N2_Mace','Beginner Super Novice\'s Mace','Weapon','Mace',150,1,1,true,true,3,100,true,100,true,true,true,true,true,true,true,'bonus bUnbreakableWeapon;\nbonus bAspdRate,10;\nif (getrefine()>=7) {\n   bonus bCritAtkRate,7;\n}');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`range`,`slots`,`job_alchemist`,`class_third`,`class_third_upper`,`class_third_baby`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (16088,'Sapphire_Mace-OS','Sapphire Mace-OS','Weapon','Mace',20,800,185,1,2,true,true,true,true,true,4,130,true,'.@r = getrefine(); bonus bUnbreakableWeapon; bonus2 bAddClass,Class_All,3; if (.@r >= 7) { bonus bVariableCastrate,-7; if (.@r >= 9) { bonus2 bSkillAtk,"GN_CARTCANNON",20; if (.@r >= 11) { bonus bLongAtkRate,15; } } }');
-REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`magic_attack`,`range`,`slots`,`job_priest`,`class_third`,`class_third_upper`,`class_third_baby`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (16089,'Ultio-OS','Ultio-OS','Weapon','Mace',20,1200,150,170,1,2,true,true,true,true,true,4,130,true,'.@r = getrefine(); bonus bMatkRate,3; if (.@r >= 7) { bonus bAspdRate,7; if (.@r >= 9) { bonus2 bSkillAtk,"AB_ADORAMUS",20; if (.@r >= 11) { bonus2 bMagicAtkEle,Ele_Holy,15; } } }');
+REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`magic_attack`,`range`,`slots`,`job_priest`,`class_third`,`class_third_upper`,`class_third_baby`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (16089,'Ultio-OS','Ultio-OS','Weapon','Mace',20,1200,150,170,1,2,true,true,true,true,true,4,130,true,'.@r = getrefine();\nbonus bMatkRate,3;\nbonus bUnbreakableWeapon;\nif (.@r >= 7) {\n  bonus bAspdRate,7;\n  if (.@r >= 9) {\n      bonus2 bSkillAtk,"AB_ADORAMUS",20;\n      if (.@r >= 11) {\n          bonus2 bMagicAtkEle,Ele_Holy,15;\n      }\n  }\n}');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`weight`,`attack`,`range`,`slots`,`job_blacksmith`,`class_third`,`class_third_upper`,`class_third_baby`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (16092,'Engine_Pilebuncker','Engine Pilebuncker','Weapon','Mace',3200,450,1,2,true,true,true,true,true,4,170,true,'.@r = getrefine(); bonus bUnbreakableWeapon; bonus bAspdRate,.@r; bonus2 bSkillAtk,"NC_VULCANARM",10; if (.@r>=9) { bonus2 bSkillAtk,"NC_ARMSCANNON",15; bonus2 bSkillAtk,"NC_BOOSTKNUCKLE",15; } if (.@r>=11) bonus2 bSkillAtk,"NC_VULCANARM",15;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`weight`,`attack`,`range`,`slots`,`job_alchemist`,`class_third`,`class_third_upper`,`class_third_baby`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (16093,'Coolant_Injection','Coolant Injection','Weapon','Mace',1400,210,1,2,true,true,true,true,true,4,170,true,'.@r = getrefine(); bonus bUnbreakableWeapon; bonus bLongAtkRate,10; bonus2 bAddClass,Class_All,.@r; if (.@r>=9) bonus2 bSkillAtk,"GN_CARTCANNON",25; if (.@r>=11) bonus bLongAtkRate,15;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`weight`,`attack`,`range`,`slots`,`job_alchemist`,`class_third`,`class_third_upper`,`class_third_baby`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (16094,'Gene_Rod','Gene Rod','Weapon','Mace',1400,195,1,2,true,true,true,true,true,4,170,true,'.@r = getrefine(); bonus bUnbreakableWeapon; bonus bBaseAtk,4*.@r; bonus2 bSkillAtk,"GN_CRAZYWEED",20; if (.@r>=9) bonus2 bSkillAtk,"GN_CRAZYWEED",30; if (.@r>=11) bonus2 bSkillCooldown,"GN_CRAZYWEED",-2000;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`weight`,`attack`,`magic_attack`,`range`,`slots`,`job_priest`,`class_third`,`class_third_upper`,`class_third_baby`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (16095,'Lucis_Flail','Lucis Flail','Weapon','Mace',1000,180,160,1,2,true,true,true,true,true,4,170,true,'.@r = getrefine(); bonus bUnbreakableWeapon; bonus bAspd,1; bonus bMatk,4*.@r; if (.@r>=9) { bonus2 bSkillAtk,"AB_DUPLELIGHT",40; } if (.@r>=11) bonus3 bAutoSpell,"AB_JUDEX",max(2,getskilllv("AB_JUDEX")),50; /* Unknow Rates */');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`weight`,`attack`,`range`,`slots`,`job_monk`,`class_third`,`class_third_upper`,`class_third_baby`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (16096,'Bright_Pendulum','Bright Pendulum','Weapon','Mace',1300,210,1,2,true,true,true,true,true,4,170,true,'.@r = getrefine(); bonus bUnbreakableWeapon; bonus bBaseAtk,4*.@r; bonus bVariableCastrate,-10; if (.@r>=9) { bonus2 bSkillAtk,"MO_FINGEROFFENSIVE",50; bonus2 bSkillAtk,"MO_INVESTIGATE",50; } if (.@r>=11) bonus2 bAddClass,Class_All,10;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`weight`,`attack`,`range`,`slots`,`job_priest`,`class_third`,`class_third_upper`,`class_third_baby`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (16099,'aegis_16099','Rubber Hammer','Weapon','Mace',1900,160,1,2,true,true,true,true,true,4,170,true,'.@r = getrefine();\nbonus bMatk,180;\nbonus bUnbreakableWeapon;\nbonus bMatkRate,7;\nbonus bHealPower,15;\nbonus2 bSkillAtk,"AB_ADORAMUS",10;\nif (.@r>=7) {\n   bonus2 bMagicAtkEle,Ele_Holy,7;\n   bonus bVariableCastrate,-10;\n}\nif (.@r>=9) {\n   bonus2 bSkillAtk,"AB_ADORAMUS",15;\n   autobonus "{ bonus2 bMagicAddSize,Size_All,15; }",1,5000,BF_MAGIC;\n}\nif (.@r>=11) {\n   bonus bDelayrate,-20;\n}');
-REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`attack`,`range`,`job_barddancer`,`job_hunter`,`location_left_hand`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`trade_override`,`trade_nodrop`,`trade_notrade`,`trade_nosell`,`trade_nocart`,`trade_nostorage`,`trade_noguildstorage`,`trade_nomail`,`trade_noauction`,`script`) VALUES (18100,'Shooting_Star_C','Shooting Star','Weapon','Bow',20,190,5,true,true,true,true,4,1,true,100,true,true,true,true,true,true,true,true,'bonus bLongAtkRate,20;');
-REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`attack`,`range`,`job_archer`,`job_barddancer`,`job_hunter`,`job_rogue`,`job_thief`,`location_left_hand`,`location_right_hand`,`weapon_level`,`script`) VALUES (18101,'F_Bow_Of_Rudra_C','Rudra Bow','Weapon','Bow',2,185,5,true,true,true,true,true,true,true,4,'bonus bAtkEle,Ele_Holy; bonus bInt,5; skill "AL_CURE",1; skill "AL_HEAL",1; bonus2 bResEff,Eff_Poison,5000; bonus2 bResEff,Eff_Curse,5000; bonus2 bResEff,Eff_Silence,5000; bonus2 bResEff,Eff_Confusion,5000; bonus2 bResEff,Eff_Blind,5000;');
+REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`attack`,`range`,`job_barddancer`,`job_hunter`,`location_left_hand`,`location_right_hand`,`weapon_level`,`equip_level_min`,`trade_override`,`trade_nodrop`,`trade_notrade`,`trade_nosell`,`trade_nocart`,`trade_nostorage`,`trade_noguildstorage`,`trade_nomail`,`trade_noauction`,`script`) VALUES (18100,'Shooting_Star_C','Shooting Star','Weapon','Bow',20,190,5,true,true,true,true,4,1,100,true,true,true,true,true,true,true,true,'bonus bLongAtkRate,20;');
+REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`attack`,`range`,`job_archer`,`job_barddancer`,`job_hunter`,`job_rogue`,`location_left_hand`,`location_right_hand`,`weapon_level`,`script`) VALUES (18101,'F_Bow_Of_Rudra_C','Rudra Bow','Weapon','Bow',2,185,5,true,true,true,true,true,true,4,'bonus bAtkEle,Ele_Holy; bonus bInt,5; skill "AL_CURE",1; skill "AL_HEAL",1; bonus2 bResEff,Eff_Poison,5000; bonus2 bResEff,Eff_Curse,5000; bonus2 bResEff,Eff_Silence,5000; bonus2 bResEff,Eff_Confusion,5000; bonus2 bResEff,Eff_Blind,5000;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`attack`,`range`,`job_archer`,`job_barddancer`,`job_hunter`,`job_rogue`,`job_thief`,`location_left_hand`,`location_right_hand`,`weapon_level`,`script`) VALUES (18102,'E_Bow_Of_Rudra_C','Rudra Bow','Weapon','Bow',2,185,5,true,true,true,true,true,true,true,4,'bonus bAtkEle,Ele_Holy; bonus bInt,5; skill "AL_CURE",1; skill "AL_HEAL",1; bonus2 bResEff,Eff_Poison,5000; bonus2 bResEff,Eff_Curse,5000; bonus2 bResEff,Eff_Silence,5000; bonus2 bResEff,Eff_Confusion,5000; bonus2 bResEff,Eff_Blind,5000;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`weight`,`attack`,`magic_attack`,`range`,`job_barddancer`,`job_hunter`,`class_third`,`class_third_upper`,`class_third_baby`,`location_left_hand`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (18103,'Mystic_Bow','Mystic Bow','Weapon','Bow',1700,75,100,5,true,true,true,true,true,true,true,3,105,true,'bonus bInt,4; bonus2 bSkillUseSP,"WM_SEVERE_RAINSTORM",10;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`attack`,`range`,`job_barddancer`,`job_hunter`,`location_left_hand`,`location_right_hand`,`weapon_level`,`equip_level_min`,`script`) VALUES (18104,'Adventure_Bow','Adventure Bow','Weapon','Bow',60,1,true,true,true,true,1,1,'bonus bUnbreakableWeapon;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`weight`,`attack`,`range`,`slots`,`job_barddancer`,`job_hunter`,`location_left_hand`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`) VALUES (18105,'Academy_Bow','Academy Bow','Weapon','Bow',1200,90,5,1,true,true,true,true,1,1,true);
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`attack`,`range`,`job_archer`,`job_barddancer`,`job_hunter`,`location_left_hand`,`location_right_hand`,`weapon_level`,`equip_level_min`,`trade_override`,`trade_nodrop`,`trade_notrade`,`trade_nocart`,`trade_nostorage`,`trade_noguildstorage`,`trade_nomail`,`trade_noauction`) VALUES (18106,'P_Bow3','Eden Bow III','Weapon','Bow',140,5,true,true,true,true,true,3,60,100,true,true,true,true,true,true,true);
-REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`attack`,`range`,`job_archer`,`job_barddancer`,`job_hunter`,`job_rogue`,`job_thief`,`location_left_hand`,`location_right_hand`,`weapon_level`,`equip_level_min`,`trade_override`,`trade_nodrop`,`trade_notrade`,`trade_nosell`,`trade_nocart`,`trade_nostorage`,`trade_noguildstorage`,`trade_nomail`,`trade_noauction`,`script`) VALUES (18107,'Malang_Snow_Crab','Malangdo Crab','Weapon','Bow',120,5,true,true,true,true,true,true,true,1,50,100,true,true,true,true,true,true,true,true,'bonus bUnbreakableWeapon; bonus bLuk,3; bonus bCritAtkRate,50; if(BaseLevel>99) { bonus bLongAtkRate,10; }');
-REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`attack`,`range`,`job_barddancer`,`job_hunter`,`location_left_hand`,`location_right_hand`,`weapon_level`,`equip_level_min`,`trade_override`,`trade_nodrop`,`trade_notrade`,`trade_nosell`,`trade_nocart`,`trade_nostorage`,`trade_noguildstorage`,`trade_nomail`,`trade_noauction`,`script`) VALUES (18108,'Brindle_Eel','Zebra Eel','Weapon','Bow',180,5,true,true,true,true,1,50,100,true,true,true,true,true,true,true,true,'bonus bUnbreakableWeapon; bonus bAgi,3; autobonus "{ bonus bAspd,2; }",10,7000,BF_WEAPON,"{ specialeffect2 EF_HASTEUP; }"; if(BaseLevel>99) { bonus bLongAtkRate,10; }');
-REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`range`,`slots`,`job_rogue`,`class_third`,`class_third_upper`,`class_third_baby`,`location_left_hand`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (18109,'Catapult','Thief Crossbow','Weapon','Bow',56000,1100,150,5,2,true,true,true,true,true,true,4,100,true,'.@r = getrefine(); bonus2 bSkillAtk,"SC_TRIANGLESHOT",(.@r*2); bonus2 bSkillUseSP,"SC_TRIANGLESHOT",(.@r*2);');
+REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`attack`,`range`,`job_archer`,`job_barddancer`,`job_hunter`,`job_rogue`,`job_thief`,`location_left_hand`,`location_right_hand`,`weapon_level`,`equip_level_min`,`trade_override`,`trade_nodrop`,`trade_notrade`,`trade_nosell`,`trade_nocart`,`trade_nostorage`,`trade_noguildstorage`,`trade_nomail`,`trade_noauction`,`script`) VALUES (18107,'Malang_Snow_Crab','Malangdo Crab','Weapon','Bow',120,5,true,true,true,true,true,true,true,1,50,100,true,true,true,true,true,true,true,true,'bonus bUnbreakableWeapon;\nbonus bLuk,3;\nbonus bCritAtkRate,50;\nif(BaseLevel>99) {\n   bonus bLongAtkRate,20;\n}');
+REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`attack`,`range`,`job_barddancer`,`job_hunter`,`location_left_hand`,`location_right_hand`,`weapon_level`,`equip_level_min`,`trade_override`,`trade_nodrop`,`trade_notrade`,`trade_nosell`,`trade_nocart`,`trade_nostorage`,`trade_noguildstorage`,`trade_nomail`,`trade_noauction`,`script`) VALUES (18108,'Brindle_Eel','Zebra Eel','Weapon','Bow',180,5,true,true,true,true,1,50,100,true,true,true,true,true,true,true,true,'bonus bUnbreakableWeapon;\nbonus bAgi,3;\nautobonus "{ bonus bAspd,2; }",10,5000,BF_WEAPON,"{ specialeffect2 EF_HASTEUP; }";\nif(BaseLevel>99) {\n   bonus bLongAtkRate,20;\n}');
+REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`range`,`slots`,`job_rogue`,`class_third`,`class_third_upper`,`class_third_baby`,`location_left_hand`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (18109,'Catapult','Thief Crossbow','Weapon','Bow',56000,1100,150,5,2,true,true,true,true,true,true,4,100,true,'.@r = getrefine();\nbonus2 bSkillAtk,"SC_TRIANGLESHOT",(.@r*2);\nbonus2 bSkillUseSP,"SC_TRIANGLESHOT",-(.@r*2);');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`range`,`slots`,`job_hunter`,`class_third`,`class_third_upper`,`class_third_baby`,`location_left_hand`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (18110,'Big_CrossBow','Giant Crossbow','Weapon','Bow',56000,900,160,5,2,true,true,true,true,true,true,4,110,true,'.@r = getrefine(); bonus2 bSkillAtk,"RA_ARROWSTORM",(.@r*5); bonus2 bSkillUseSP,"RA_ARROWSTORM",-(.@r*5); if(readparam(bAgi)>=120){ bonus bAspd,1; }');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`range`,`slots`,`job_barddancer`,`job_hunter`,`class_third`,`class_third_upper`,`class_third_baby`,`location_left_hand`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (18111,'Creeper_Bow','Creeper Bow','Weapon','Bow',56000,1500,150,5,2,true,true,true,true,true,true,true,3,120,true,'bonus bDex,1; bonus3 bAutoSpell,"PF_SPIDERWEB",1,200;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`range`,`slots`,`job_archer`,`job_barddancer`,`job_hunter`,`location_left_hand`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`trade_override`,`trade_nodrop`,`script`) VALUES (18112,'Upg_Bow','Upg Bow','Weapon','Bow',20,600,60,5,1,true,true,true,true,true,3,1,true,100,true,'.@r = getrefine(); bonus bBaseAtk,(.@r*7); bonus bLongAtkRate,(.@r*2); if(BaseJob==Job_Hunter) bonus bBaseAtk,20; if(BaseLevel>70) bonus bBaseAtk,(((BaseLevel-70)/10)*10);');

+ 2 - 0
sql-files/item_db_re_etc.sql

@@ -4425,6 +4425,8 @@ REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`script`) VAL
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`script`) VALUES (310175,'aegis_310175','Automatic Orb(Power of Sea)','Card','.@r = getrefine();\nbonus2 bSkillCooldown,"SU_SHRIMPARTY",-500;\nbonus2 bSkillCooldown,"SU_TUNAPARTY",-500;\nif (.@r>=9) {\n   bonus2 bSkillCooldown,"SU_SHRIMPARTY",-1000;\n   bonus2 bSkillCooldown,"SU_TUNAPARTY",-1000;\n}\nif (.@r>=11) {\n   bonus2 bSkillCooldown,"SU_SHRIMPARTY",-1500;\n   bonus2 bSkillCooldown,"SU_TUNAPARTY",-1500;\n}');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`script`) VALUES (310176,'aegis_310176','Automatic Orb(Power of Land)','Card','.@r = getrefine();\nbonus2 bSkillAtk,"SU_SV_STEMSPEAR",15;\nbonus2 bSkillAtk,"SU_CN_METEOR",15;\nif (.@r>=9) {\n   bonus2 bSkillAtk,"SU_SV_STEMSPEAR",3;\n   bonus2 bSkillAtk,"SU_CN_METEOR",3;\n}\nif (.@r>=11) {\n   bonus2 bSkillAtk,"SU_SV_STEMSPEAR",7;\n   bonus2 bSkillAtk,"SU_CN_METEOR",7;\n}');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`script`) VALUES (310177,'aegis_310177','Automatic Orb(Power of Life)','Card','.@r = getrefine();\nbonus2 bSkillAtk,"SU_LUNATICCARROTBEAT",15;\nbonus2 bSkillAtk,"SU_PICKYPECK",15;\nif (.@r>=9) {\n   bonus2 bSkillAtk,"SU_LUNATICCARROTBEAT",3;\n   bonus2 bSkillAtk,"SU_PICKYPECK",3;\n}\nif (.@r>=11) {\n   bonus2 bSkillAtk,"SU_LUNATICCARROTBEAT",7;\n   bonus2 bSkillAtk,"SU_PICKYPECK",7;\n}');
+REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`script`) VALUES (310178,'aegis_310178','Automatic Modification Orb(Mirror Counter)','Card','.@r = getrefine();\nif (.@r>=11)\n   bonus bReduceDamageReturn,7;\nelse if (.@r>=9)\n   bonus bReduceDamageReturn,4;\nelse\n   bonus bReduceDamageReturn,2;');
+REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`script`) VALUES (310179,'aegis_310179','Automatic Modification Orb(Reflection Reject)','Card','.@r = getrefine();\nif (.@r>=11)\n   bonus bReduceDamageReturn,9;\nelse if (.@r>=9)\n   bonus bReduceDamageReturn,5;\nelse\n   bonus bReduceDamageReturn,3;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`script`) VALUES (310180,'Warlock_Robe2','Warlock Stone II (Garment)','Card','bonus2 bSkillAtk,"WL_COMET",15;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`script`) VALUES (310181,'Warlock_Top2','High Wizard Stone II (Upper)','Card','bonus2 bSkillAtk,"WZ_METEOR",20;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`script`) VALUES (310182,'Warlock_Middle2','High Wizard Stone II (Middle)','Card','bonus2 bMagicAtkEle,Ele_Neutral,getskilllv("HW_GRAVITATION")*2;');