From acbebc4cd8cef940def083c21586a546adcbc24e Mon Sep 17 00:00:00 2001 From: idk-whoami <60462533+idk-whoami@users.noreply.github.com> Date: Tue, 8 Jun 2021 02:48:05 +0700 Subject: [PATCH] Corrected script for some item (#6005) * SQL synchro Thanks to @Atemo --- db/re/item_combo_db.txt | 2 +- db/re/item_db_equip.yml | 38 ++++++++++++++++------------------ db/re/item_db_etc.yml | 4 ++-- sql-files/item_db_re_equip.sql | 22 ++++++++++---------- sql-files/item_db_re_etc.sql | 4 ++-- 5 files changed, 34 insertions(+), 36 deletions(-) diff --git a/db/re/item_combo_db.txt b/db/re/item_combo_db.txt index 41bd15b825..9529a92192 100644 --- a/db/re/item_combo_db.txt +++ b/db/re/item_combo_db.txt @@ -1714,7 +1714,7 @@ 400054:13493,{ .@r = getequiprefinerycnt(EQI_HAND_R); bonus bMatk,30; bonus2 bSkillAtk,"WL_HELLINFERNO",4*(.@r/2); } 400054:26151,{ .@r = getequiprefinerycnt(EQI_HAND_R); bonus bMatk,30; bonus2 bSkillAtk,"WL_COMET",5*(.@r/2); } 400054:28755,{ .@r = getequiprefinerycnt(EQI_HAND_R); bonus2 bMagicAtkEle,Ele_Fire,5; bonus2 bMagicAtkEle,Ele_Water,5; bonus2 bMagicAtkEle,Ele_Wind,5; bonus2 bSkillAtk,"NJ_KOUENKA",3*(.@r/2); bonus2 bSkillAtk,"NJ_HYOUSENSOU",3*(.@r/2); bonus2 bSkillAtk,"NJ_HUUJIN",3*(.@r/2); } -450144:1846,{ .@sum = getequiprefinerycnt(EQI_HAND_R)+getequiprefinerycnt(EQI_ARMOR); bonus bBaseAtk,30; if (.@sum>=7) { bonus2 bAddClass,Class_All,5; } if (.@sum>=18) { bonus2 bSkillAtk,"SR_SKYNETBLOW",20; } if (.@sum>=22) { bonus bDelayrate,-10; } } +450144:1846,{ .@eq = getequiprefinerycnt(EQI_ARMOR); .@weapon = getequiprefinerycnt(EQI_HAND_R); bonus bBaseAtk,30; if (.@eq >= 7 && .@weapon >= 7) { bonus2 bAddClass,Class_All,5; } if ((.@eq + .@weapon) >= 18) { bonus2 bSkillAtk,"SR_SKYNETBLOW",20; } if ((.@eq + .@weapon) >= 22) { bonus bDelayrate,-10; } } 450146:610012,{ .@sum = getequiprefinerycnt(EQI_HAND_R)+getequiprefinerycnt(EQI_ARMOR); bonus2 bAddClass,Class_All,5; if (.@sum>=7) { bonus bCritical,5; } if (.@sum>=18) { bonus bCritAtkRate,15; } if (.@sum>=22) { bonus2 bAddEle,Ele_Fire,10; bonus2 bAddRace,RC_Insect,10; } } 490069:490070,{ bonus bAspdRate,10; bonus2 bAddClass,Class_All,10; } 570008:20838,{ .@sum = getequiprefinerycnt(EQI_HAND_R)+getequiprefinerycnt(EQI_GARMENT); bonus bBaseAtk,30; if (.@sum>=7) { bonus bLongAtkRate,5; } if (.@sum>=18) { bonus2 bSkillAtk,"WM_SEVERE_RAINSTORM",20; } if (.@sum>=22) { bonus2 bSkillCooldown,"WM_SEVERE_RAINSTORM",-1000; } } diff --git a/db/re/item_db_equip.yml b/db/re/item_db_equip.yml index 3fa025d221..9e3819ad52 100644 --- a/db/re/item_db_equip.yml +++ b/db/re/item_db_equip.yml @@ -19755,11 +19755,8 @@ Body: Buy: 20 Weight: 1900 Attack: 80 - MagicAttack: 150 Range: 1 Jobs: - Mage: true - Sage: true SoulLinker: true Wizard: true Locations: @@ -19768,8 +19765,9 @@ Body: EquipLevelMin: 60 Refineable: true Script: | - bonus bAtkEle,Ele_Holy; bonus bInt,6; + bonus bMaxSP,150; + bonus bMatkRate,18; - Id: 2007 AegisName: Golden_Rod_Staff Name: Golden Rod Staff @@ -77774,7 +77772,7 @@ Body: EquipLevelMin: 1 View: 1430 Script: | - bonus4 bAutoSpellWhenHit,"WZ_QUAGMIRE",1,50,0; + bonus4 bAutoSpell,"WZ_QUAGMIRE",1,5,0; bonus2 bExpAddRace,RC_All,5; bonus2 bDropAddRace,RC_All,5; - Id: 19147 @@ -101275,9 +101273,10 @@ Body: if (.@r > 1) { .@val = .@r/2; bonus3 bAutoSpell,"MG_COLDBOLT",.@val,(5+.@r); - bonus4 bAutoSpellOnSkill,"MG_COLDBOLT","MG_FIREBOLT",.@val,1000; - bonus4 bAutoSpellOnSkill,"MG_FIREBOLT","MG_LIGHTNINGBOLT",.@val,1000; - bonus4 bAutoSpellOnSkill,"MG_LIGHTNINGBOLT","WZ_EARTHSPIKE",.@val,1000; + bonus3 bAutoSpell,"MG_COLDBOLT",.@val,(5+.@r); + bonus3 bAutoSpell,"MG_FIREBOLT",.@val,(5+.@r); + bonus3 bAutoSpell,"MG_LIGHTNINGBOLT",.@val,(5+.@r); + bonus3 bAutoSpell,"WZ_EARTHSPIKE",.@val,(5+.@r); } - Id: 24335 AegisName: S_Gemstone_Weapon_II @@ -101290,10 +101289,10 @@ Body: Script: | bonus bHit,5; if (getrefine() >= 7) { - bonus bUseSPrate,3; + bonus bUseSPrate,-3; } else { - bonus bUseSPrate,2; + bonus bUseSPrate,-2; } - Id: 24336 AegisName: S_Gemstone_Shield_II @@ -101306,10 +101305,10 @@ Body: Script: | bonus bDef,5; if (getrefine() >= 7) { - bonus bUseSPrate,3; + bonus bUseSPrate,-3; } else { - bonus bUseSPrate,2; + bonus bUseSPrate,-2; } - Id: 24337 AegisName: S_Bearer's_Armor_II @@ -101886,7 +101885,6 @@ Body: .@val = 5 + (getrefine()/2); bonus2 bIgnoreDefRaceRate,RC_Plant,.@val; bonus2 bIgnoreDefRaceRate,RC_Brute,.@val; - bonus2 bIgnoreDefRaceRate,RC_Player_Doram,.@val; - Id: 24379 AegisName: S_Fishing_Insect_Net_Armor Name: Fishing Insect Net Shadow Armor @@ -102173,12 +102171,12 @@ Body: Script: | .@r = getrefine(); if (.@r >= 9) { - bonus bVariableCastrate,8; + bonus bVariableCastrate,-8; } else if (.@r >= 7) { - bonus bVariableCastrate,5; + bonus bVariableCastrate,-5; } else { - bonus bVariableCastrate,2; + bonus bVariableCastrate,-2; } - Id: 24397 AegisName: S_Magical_Shield @@ -102643,7 +102641,7 @@ Body: bonus2 bSubSize,Size_All,2; /*bonus2 bMagicSubSize,Size_All,2;*/ .@r = getrefine(); - bonus bDef,.@r; + bonus bDef,.@r*10; if (.@r >= 7) { bonus2 bSubSize,Size_All,2; /*bonus2 bMagicSubSize,Size_All,2;*/ @@ -102716,7 +102714,7 @@ Body: Refineable: true Script: | .@r = getrefine(); - bonus2 bIgnoreDefRaceRate,RC_All,5+.@r/2; + bonus2 bIgnoreDefClassRate,Class_Normal,5+.@r/2; - Id: 24433 AegisName: S_Penetration_Armor Name: Penetration Shadow Armor @@ -102726,7 +102724,7 @@ Body: Refineable: true Script: | .@r = getrefine(); - bonus2 bIgnoreDefRaceRate,RC_All,5+.@r/2; + bonus2 bIgnoreDefClassRate,Class_Normal,5+.@r/2; - Id: 24434 AegisName: S_Exe_Ho_Weapon Name: Executioner Holy Water Shadow Weapon @@ -102857,7 +102855,7 @@ Body: Refineable: true Script: | .@r = getrefine(); - bonus3 bAutoSpell,"RK_IGNITIONBREAK",max(3,getskilllv("RK_IGNITIONBREAK")),10+(.@r>=7?1:0)+(.@r>=9?2:0); + bonus3 bAutoSpell,"RK_IGNITIONBREAK",max(3,getskilllv("RK_IGNITIONBREAK")),10+(.@r>=7?10:0)+(.@r>=9?20:0); - Id: 24444 AegisName: S_Ignition_Pendant Name: Ignition Shadow Pendant diff --git a/db/re/item_db_etc.yml b/db/re/item_db_etc.yml index 2943c28609..69d9a4467d 100644 --- a/db/re/item_db_etc.yml +++ b/db/re/item_db_etc.yml @@ -7821,7 +7821,7 @@ Body: DropEffect: CLIENT Script: | bonus2 bHPDrainRate,50,20; - bonus bHPrecovRate,-10; + bonus bHPrecovRate,-100; - Id: 4368 AegisName: Shecil_Card Name: Cecil Damon Card @@ -14943,7 +14943,7 @@ Body: if (getrefine()>=7) bonus2 bSPRegenRate,5,5000; else - bonus2 bHPRegenRate,3,5000; + bonus2 bSPRegenRate,3,5000; - Id: 4980 AegisName: Reactor_Cure_201 Name: Recovery Reactor 201 diff --git a/sql-files/item_db_re_equip.sql b/sql-files/item_db_re_equip.sql index 9ef1d700b1..39a552cb18 100644 --- a/sql-files/item_db_re_equip.sql +++ b/sql-files/item_db_re_equip.sql @@ -767,7 +767,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`,`magic_attack`,`range`,`slots`,`job_wizard`,`class_upper`,`class_third_upper`,`location_left_hand`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`trade_override`,`trade_nodrop`,`trade_notrade`,`trade_nosell`,`trade_nocart`,`trade_noguildstorage`,`trade_nomail`,`trade_noauction`,`script`) VALUES (2003,'Destruction_Rod_M','Staff of Destruction','Weapon','2hStaff',20,2500,130,280,1,1,true,true,true,true,true,4,80,true,100,true,true,true,true,true,true,true,'.@r = getrefine();\nbonus bMatkRate,.@r/2;\nbonus bInt,3;\nbonus bAgi,10;\nbonus bUseSPrate,(.@r*2);\nbonus3 bAutoSpellWhenHit,"WZ_JUPITEL",5,(.@r*20);\nbonus2 bVariableCastrate,"HW_MAGICPOWER",-50;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`magic_attack`,`range`,`job_mage`,`job_sage`,`job_wizard`,`class_upper`,`class_third_upper`,`location_left_hand`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (2004,'Kronos','Kronos','Weapon','2hStaff',20,1000,30,240,1,true,true,true,true,true,true,true,4,50,true,'.@r = getrefine();\nbonus bInt,3+(.@r/2);\nbonus bMaxHP,300+(50*.@r/2);\nautobonus "{ bonus bMatkRate,12; bonus buseSPRate,20; }",1,5000,BF_MAGIC,"{ specialeffect2 EF_ENHANCE; }";'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`magic_attack`,`range`,`slots`,`job_acolyte`,`job_monk`,`job_priest`,`class_upper`,`class_third_upper`,`location_left_hand`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (2005,'Dea_Staff','Dea Staff','Weapon','2hStaff',20,1000,30,220,1,1,true,true,true,true,true,true,true,3,50,true,'bonus bAtkEle,Ele_Holy;\nbonus bMatkRate,getrefine()/2;\nbonus bInt,6;\nbonus bVit,2;\nautobonus3 "{ }",20,1000,"AL_HEAL","{ specialeffect2 EF_MAGICALATTHIT; heal 0,200; }";'); -REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`magic_attack`,`range`,`job_mage`,`job_sage`,`job_soullinker`,`job_wizard`,`location_left_hand`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (2006,'G_Staff_Of_Light','Staff Of Light','Weapon','2hStaff',20,1900,80,150,1,true,true,true,true,true,true,4,60,true,'bonus bAtkEle,Ele_Holy;\nbonus bInt,6;'); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`range`,`job_soullinker`,`job_wizard`,`location_left_hand`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (2006,'G_Staff_Of_Light','Staff Of Light','Weapon','2hStaff',20,1900,80,1,true,true,true,true,4,60,true,'bonus bInt,6;\nbonus bMaxSP,150;\nbonus bMatkRate,18;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`magic_attack`,`range`,`slots`,`job_wizard`,`class_third`,`class_third_upper`,`class_third_baby`,`location_left_hand`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (2007,'Golden_Rod_Staff','Golden Rod Staff','Weapon','2hStaff',20,900,30,230,1,2,true,true,true,true,true,true,4,100,true,'bonus bAtkEle,Ele_Wind;\nbonus bInt,3;\nbonus2 bSkillAtk,"WZ_JUPITEL",12;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`magic_attack`,`range`,`slots`,`job_wizard`,`class_third`,`class_third_upper`,`class_third_baby`,`location_left_hand`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (2008,'Aqua_Staff','Aqua Staff','Weapon','2hStaff',20,900,30,230,1,2,true,true,true,true,true,true,4,100,true,'bonus bAtkEle,Ele_Water;\nbonus bInt,3;\nbonus2 bSkillAtk,"MG_COLDBOLT",10;\nbonus2 bSkillAtk,"MG_FROSTDIVER",10;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`magic_attack`,`range`,`slots`,`job_wizard`,`class_third`,`class_third_upper`,`class_third_baby`,`location_left_hand`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (2009,'Crimson_Staff','Crimson Staff','Weapon','2hStaff',20,900,30,230,1,2,true,true,true,true,true,true,4,100,true,'bonus bAtkEle,Ele_Fire;\nbonus bInt,3;\nbonus2 bSkillAtk,"MG_FIREBOLT",10;\nbonus2 bSkillAtk,"MG_FIREBALL",10;'); @@ -3806,7 +3806,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_low`,`equip_level_min`,`view`,`script`) VALUES (19143,'Poring_Balloon','Poring Balloon','Armor',20,10,true,1,1426,'bonus2 bAddMonsterDropItem,909,2000;\nbonus2 bExpAddRace,RC_All,5;\nbonus2 bDropAddRace,RC_All,5;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`defense`,`slots`,`location_head_top`,`equip_level_min`,`view`) VALUES (19144,'Ferlock\'s_Hat','Ferlock\'s Hat','Armor',20,1000,1,1,true,50,1489); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`location_head_low`,`equip_level_min`,`view`,`script`) VALUES (19145,'Whistle','Whistle','Armor',20,10,true,1,1478,'bonus bBaseAtk,10;\nbonus bMatk,10;\nbonus bHPGainValue,10;\nbonus bSPGainValue,3;'); -REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`location_head_low`,`equip_level_min`,`view`,`script`) VALUES (19146,'Marin_Balloon','Marin Balloon','Armor',20,10,true,1,1430,'bonus4 bAutoSpellWhenHit,"WZ_QUAGMIRE",1,50,0;\nbonus2 bExpAddRace,RC_All,5;\nbonus2 bDropAddRace,RC_All,5;'); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`location_head_low`,`equip_level_min`,`view`,`script`) VALUES (19146,'Marin_Balloon','Marin Balloon','Armor',20,10,true,1,1430,'bonus4 bAutoSpell,"WZ_QUAGMIRE",1,5,0;\nbonus2 bExpAddRace,RC_All,5;\nbonus2 bDropAddRace,RC_All,5;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`location_head_low`,`equip_level_min`,`view`,`script`) VALUES (19147,'Drops_Balloon','Drops Balloon','Armor',20,10,true,1,1427,'bonus bLuk,2;\nbonus2 bExpAddRace,RC_All,5;\nbonus2 bDropAddRace,RC_All,5;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`location_head_low`,`equip_level_min`,`view`,`script`) VALUES (19148,'Santa_Poring_Balloon','Santa Poring Balloon','Armor',20,10,true,1,1428,'bonus2 bAddItemGroupHealRate,IG_Candy,200;\nbonus2 bExpAddRace,RC_All,5;\nbonus2 bDropAddRace,RC_All,5;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`location_head_low`,`equip_level_min`,`view`,`script`) VALUES (19149,'Poporing_Balloon','Poporing Balloon','Armor',20,10,true,1,1429,'bonus2 bAddEff,Eff_Poison,500;\nbonus2 bExpAddRace,RC_All,5;\nbonus2 bDropAddRace,RC_All,5;'); @@ -5527,9 +5527,9 @@ REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_sha REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_armor`,`equip_level_min`,`refineable`,`script`) VALUES (24331,'S_Reload_Armor_II','Reload Shadow Armor II','Shadowgear',true,1,true,'bonus bHPrecovRate,20;\nbonus bVit,3;\nbonus bDelayrate,-(getrefine()/3);'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_shield`,`equip_level_min`,`refineable`,`script`) VALUES (24332,'S_Critical_Shield','Critical Shadow Shield','Shadowgear',true,1,true,'.@r = getrefine();\nbonus bCritical,5+.@r/2;\nif (.@r >= 9) {\n bonus bCritAtkRate,2;\n} else if (.@r >= 7) {\n bonus bCritAtkRate,1;\n}'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_shoes`,`equip_level_min`,`refineable`,`script`) VALUES (24333,'S_Critical_Shoes','Critical Shadow Shoes','Shadowgear',true,1,true,'.@r = getrefine();\nbonus bFlee,5+.@r/2;\nif (.@r >= 9) {\n bonus bCritical,4;\n} else if (.@r >= 7) {\n bonus bCritical,2;\n}'); -REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_armor`,`equip_level_min`,`refineable`,`script`) VALUES (24334,'S_Magic_Compose_Armor','Magic Compose Shadow Armor','Shadowgear',true,1,true,'.@r = getrefine();\nif (.@r > 1) {\n .@val = .@r/2;\n bonus3 bAutoSpell,"MG_COLDBOLT",.@val,(5+.@r);\n bonus4 bAutoSpellOnSkill,"MG_COLDBOLT","MG_FIREBOLT",.@val,1000;\n bonus4 bAutoSpellOnSkill,"MG_FIREBOLT","MG_LIGHTNINGBOLT",.@val,1000;\n bonus4 bAutoSpellOnSkill,"MG_LIGHTNINGBOLT","WZ_EARTHSPIKE",.@val,1000;\n}'); -REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_weapon`,`equip_level_min`,`refineable`,`script`) VALUES (24335,'S_Gemstone_Weapon_II','Gemstone Shadow Weapon II','Shadowgear',true,1,true,'bonus bHit,5;\nif (getrefine() >= 7) {\n bonus bUseSPrate,3;\n}\nelse {\n bonus bUseSPrate,2;\n}'); -REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_shield`,`equip_level_min`,`refineable`,`script`) VALUES (24336,'S_Gemstone_Shield_II','Gemstone Shadow Shield II','Shadowgear',true,1,true,'bonus bDef,5;\nif (getrefine() >= 7) {\n bonus bUseSPrate,3;\n}\nelse {\n bonus bUseSPrate,2;\n}'); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_armor`,`equip_level_min`,`refineable`,`script`) VALUES (24334,'S_Magic_Compose_Armor','Magic Compose Shadow Armor','Shadowgear',true,1,true,'.@r = getrefine();\nif (.@r > 1) {\n .@val = .@r/2;\n bonus3 bAutoSpell,"MG_COLDBOLT",.@val,(5+.@r);\n bonus3 bAutoSpell,"MG_COLDBOLT",.@val,(5+.@r);\n bonus3 bAutoSpell,"MG_FIREBOLT",.@val,(5+.@r);\n bonus3 bAutoSpell,"MG_LIGHTNINGBOLT",.@val,(5+.@r);\n bonus3 bAutoSpell,"WZ_EARTHSPIKE",.@val,(5+.@r);\n}'); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_weapon`,`equip_level_min`,`refineable`,`script`) VALUES (24335,'S_Gemstone_Weapon_II','Gemstone Shadow Weapon II','Shadowgear',true,1,true,'bonus bHit,5;\nif (getrefine() >= 7) {\n bonus bUseSPrate,-3;\n}\nelse {\n bonus bUseSPrate,-2;\n}'); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_shield`,`equip_level_min`,`refineable`,`script`) VALUES (24336,'S_Gemstone_Shield_II','Gemstone Shadow Shield II','Shadowgear',true,1,true,'bonus bDef,5;\nif (getrefine() >= 7) {\n bonus bUseSPrate,-3;\n}\nelse {\n bonus bUseSPrate,-2;\n}'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_armor`,`equip_level_min`,`refineable`,`script`) VALUES (24337,'S_Bearer\'s_Armor_II','Bearer\'s Shadow Armor II','Shadowgear',true,1,true,'bonus bMDef,1;\nif (getrefine() >= 7) {\n bonus bMaxHPrate,3;\n}\nelse {\n bonus bMaxHPrate,1;\n}'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_shoes`,`equip_level_min`,`refineable`,`script`) VALUES (24338,'S_Bearer\'s_Shoes_II','Bearer\'s Shadow Shoes II','Shadowgear',true,1,true,'bonus bMaxSP,50;\nif (getrefine() >= 7) {\n bonus bMaxHPrate,3;\n}\nelse {\n bonus bMaxHPrate,1;\n}'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_right_accessory`,`equip_level_min`,`refineable`,`script`) VALUES (24339,'S_Almighty_Earring','Almighty Shadow Earring','Shadowgear',true,1,true,'bonus bAllStats,getrefine();'); @@ -5571,7 +5571,7 @@ REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_sha REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_armor`,`equip_level_min`,`refineable`,`script`) VALUES (24375,'S_Executioner_Holy_Water_Armor','Executioner Holy Water Shadow Armor','Shadowgear',true,1,true,'.@val = 5 + (getrefine()/2);\nbonus2 bIgnoreDefRaceRate,RC_DemiHuman,.@val;\nbonus2 bIgnoreDefRaceRate,RC_Undead,.@val;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_armor`,`equip_level_min`,`refineable`,`script`) VALUES (24376,'S_Exorcist_Corrupted_Armor','Exorcist Corrupted Shadow Armor','Shadowgear',true,1,true,'.@val = 5 + (getrefine()/2);\nbonus2 bIgnoreDefRaceRate,RC_Demon,.@val;\nbonus2 bIgnoreDefRaceRate,RC_Angel,.@val;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_armor`,`equip_level_min`,`refineable`,`script`) VALUES (24377,'S_Vibration_Dragon_Killer_Armor','Vibration Dragon Killer Shadow Armor','Shadowgear',true,1,true,'.@val = 5 + (getrefine()/2);\nbonus2 bIgnoreDefRaceRate,RC_Formless,.@val;\nbonus2 bIgnoreDefRaceRate,RC_Dragon,.@val;'); -REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_armor`,`equip_level_min`,`refineable`,`script`) VALUES (24378,'S_Scissor_Hunting_Armor','Scissor Hunting Shadow Armor','Shadowgear',true,1,true,'.@val = 5 + (getrefine()/2);\nbonus2 bIgnoreDefRaceRate,RC_Plant,.@val;\nbonus2 bIgnoreDefRaceRate,RC_Brute,.@val;\nbonus2 bIgnoreDefRaceRate,RC_Player_Doram,.@val;'); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_armor`,`equip_level_min`,`refineable`,`script`) VALUES (24378,'S_Scissor_Hunting_Armor','Scissor Hunting Shadow Armor','Shadowgear',true,1,true,'.@val = 5 + (getrefine()/2);\nbonus2 bIgnoreDefRaceRate,RC_Plant,.@val;\nbonus2 bIgnoreDefRaceRate,RC_Brute,.@val;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_armor`,`equip_level_min`,`refineable`,`script`) VALUES (24379,'S_Fishing_Insect_Net_Armor','Fishing Insect Net Shadow Armor','Shadowgear',true,1,true,'.@val = 5 + (getrefine()/2);\nbonus2 bIgnoreDefRaceRate,RC_Fish,.@val;\nbonus2 bIgnoreDefRaceRate,RC_Insect,.@val;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_weapon`,`equip_level_min`,`refineable`,`script`) VALUES (24380,'Sentimental_Weapone_S','Sentimental Shadow Weapon','Shadowgear',true,1,true,'.@r = getrefine();\nbonus bBaseAtk,.@r;\nbonus bMatk,.@r;\nbonus bMaxSP,10+((.@r/2)*15);'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_right_accessory`,`equip_level_min`,`refineable`,`script`) VALUES (24381,'Sentimental_Earring_S','Sentimental Shadow Earring','Shadowgear',true,1,true,'.@r = getrefine();\nbonus bMaxHP,.@r*10;\nbonus bMaxSP,(.@r/2)*5;\nbonus bMaxSPrate,1;\nbonus bBaseAtk,5;'); @@ -5589,7 +5589,7 @@ REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_sha REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_shoes`,`equip_level_min`,`refineable`,`script`) VALUES (24393,'S_Physical_Shoes','Physical Shadow Shoes','Shadowgear',true,1,true,'.@r = getrefine();\nif (.@r >= 9) {\n bonus bAspdRate,8;\n} else if (.@r >= 7) {\n bonus bAspdRate,5;\n}\nelse {\n bonus bAspdRate,2;\n}'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_shield`,`equip_level_min`,`refineable`,`script`) VALUES (24394,'S_Physical_Shield','Physical Shadow Shield','Shadowgear',true,1,true,'.@r = getrefine();\nbonus bMaxHP,200;\nif (.@r >= 9) {\n bonus bMaxHPrate,5;\n} else if (.@r >= 7) {\n bonus bMaxHPrate,2;\n}'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_armor`,`equip_level_min`,`refineable`,`script`) VALUES (24395,'S_Physical_Armor','Physical Shadow Armor','Shadowgear',true,1,true,'.@r = getrefine();\nbonus bBaseAtk,20;\nif (.@r >= 9) {\n bonus2 bAddClass,Class_All,5;\n} else if (.@r >= 7) {\n bonus2 bAddClass,Class_All,2;\n}'); -REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_shoes`,`equip_level_min`,`refineable`,`script`) VALUES (24396,'S_Magical_Shoes','Magical Shadow Shoes','Shadowgear',true,1,true,'.@r = getrefine();\nif (.@r >= 9) {\n bonus bVariableCastrate,8;\n} else if (.@r >= 7) {\n bonus bVariableCastrate,5;\n}\nelse {\n bonus bVariableCastrate,2;\n}'); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_shoes`,`equip_level_min`,`refineable`,`script`) VALUES (24396,'S_Magical_Shoes','Magical Shadow Shoes','Shadowgear',true,1,true,'.@r = getrefine();\nif (.@r >= 9) {\n bonus bVariableCastrate,-8;\n} else if (.@r >= 7) {\n bonus bVariableCastrate,-5;\n}\nelse {\n bonus bVariableCastrate,-2;\n}'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_shield`,`equip_level_min`,`refineable`,`script`) VALUES (24397,'S_Magical_Shield','Magical Shadow Shield','Shadowgear',true,1,true,'.@r = getrefine();\nbonus bMaxSP,100;\nif (.@r >= 9) {\n bonus bMaxSPrate,5;\n} else if (.@r >= 7) {\n bonus bMaxSPrate,2;\n}'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_armor`,`equip_level_min`,`refineable`,`script`) VALUES (24398,'S_Magical_Armor','Magical Shadow Armor','Shadowgear',true,1,true,'.@r = getrefine();\nbonus bMatk,20;\nif (.@r >= 9) {\n bonus bMatkRate,5;\n} else if (.@r >= 7) {\n bonus bMatkRate,2;\n}'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_shield`,`equip_level_min`,`refineable`,`script`) VALUES (24399,'S_Immune_Athena_Shield','Immune Athena Shadow Shield','Shadowgear',true,1,true,'bonus bDef,50+20*(getrefine()/2);'); @@ -5618,14 +5618,14 @@ REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_sha REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_weapon`,`refineable`,`script`) VALUES (24423,'S_Tempest_Weapon','Tempest Shadow Weapon','Shadowgear',true,true,'bonus2 bIgnoreMdefClassRate,Class_Normal,5+(getrefine()/2);'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_armor`,`refineable`,`script`) VALUES (24424,'S_Tempest_Armor','Tempest Shadow Armor','Shadowgear',true,true,'bonus2 bIgnoreMdefClassRate,Class_Normal,5+(getrefine()/2);'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_weapon`,`refineable`,`script`) VALUES (24425,'S_Perfect_Size_Weapon','Perfect Size Shadow Weapon','Shadowgear',true,true,'bonus2 bAddSize,Size_All,2;\nbonus2 bMagicAddSize,Size_All,2;\n.@r = getrefine();\nbonus bBaseAtk,.@r*3;\nif (.@r >= 7) {\n bonus2 bAddSize,Size_All,2;\n bonus2 bMagicAddSize,Size_All,2;\n}\nif (.@r >= 9) {\n bonus2 bAddSize,Size_All,3;\n bonus2 bMagicAddSize,Size_All,3;\n}'); -REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_armor`,`refineable`,`script`) VALUES (24426,'S_Perfect_Size_Armor','Perfect Size Shadow Armor','Shadowgear',true,true,'bonus2 bSubSize,Size_All,2;\n/*bonus2 bMagicSubSize,Size_All,2;*/\n.@r = getrefine();\nbonus bDef,.@r;\nif (.@r >= 7) {\n bonus2 bSubSize,Size_All,2;\n /*bonus2 bMagicSubSize,Size_All,2;*/\n}\nif (.@r >= 9) {\n bonus2 bSubSize,Size_All,3;\n /*bonus2 bMagicSubSize,Size_All,3;*/\n}'); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_armor`,`refineable`,`script`) VALUES (24426,'S_Perfect_Size_Armor','Perfect Size Shadow Armor','Shadowgear',true,true,'bonus2 bSubSize,Size_All,2;\n/*bonus2 bMagicSubSize,Size_All,2;*/\n.@r = getrefine();\nbonus bDef,.@r*10;\nif (.@r >= 7) {\n bonus2 bSubSize,Size_All,2;\n /*bonus2 bMagicSubSize,Size_All,2;*/\n}\nif (.@r >= 9) {\n bonus2 bSubSize,Size_All,3;\n /*bonus2 bMagicSubSize,Size_All,3;*/\n}'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_weapon`,`refineable`,`script`) VALUES (24427,'S_M_Exo_Co_Weapon','Magic Exorcist Current Shadow Weapon','Shadowgear',true,true,'.@r = getrefine();\nbonus2 bIgnoreMdefRaceRate,RC_Demon,5+.@r/2;\nbonus2 bIgnoreMdefRaceRate,RC_Angel,5+.@r/2;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_weapon`,`refineable`,`script`) VALUES (24428,'S_M_Viv_Dr_Weapon','Magic Vibration Dragon Killer Shadow Weapon','Shadowgear',true,true,'.@r = getrefine();\nbonus2 bIgnoreMdefRaceRate,RC_Formless,5+.@r/2;\nbonus2 bIgnoreMdefRaceRate,RC_Dragon,5+.@r/2;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_weapon`,`refineable`,`script`) VALUES (24429,'S_M_Sci_Hu_Weapon','Magic Caesars Hunting Shadow Weapon','Shadowgear',true,true,'.@r = getrefine();\nbonus2 bIgnoreMdefRaceRate,RC_Brute,5+.@r/2;\nbonus2 bIgnoreMdefRaceRate,RC_Plant,5+.@r/2;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_weapon`,`refineable`,`script`) VALUES (24430,'S_M_Fis_In_Weapon','Magic Fishing Insect Shadow Weapon','Shadowgear',true,true,'.@r = getrefine();\nbonus2 bIgnoreMdefRaceRate,RC_Fish,5+.@r/2;\nbonus2 bIgnoreMdefRaceRate,RC_Insect,5+.@r/2;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_weapon`,`refineable`,`script`) VALUES (24431,'S_M_Exe_Ho_Weapon','Magic Executioner Holy Water Shadow Weapon','Shadowgear',true,true,'.@r = getrefine();\nbonus2 bIgnoreMdefRaceRate,RC_DemiHuman,5+.@r/2;\nbonus2 bIgnoreMdefRaceRate,RC_Undead,5+.@r/2;'); -REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_weapon`,`refineable`,`script`) VALUES (24432,'S_Penetration_Weapon','Penetration Shadow Weapon','Shadowgear',true,true,'.@r = getrefine();\nbonus2 bIgnoreDefRaceRate,RC_All,5+.@r/2;'); -REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_armor`,`refineable`,`script`) VALUES (24433,'S_Penetration_Armor','Penetration Shadow Armor','Shadowgear',true,true,'.@r = getrefine();\nbonus2 bIgnoreDefRaceRate,RC_All,5+.@r/2;'); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_weapon`,`refineable`,`script`) VALUES (24432,'S_Penetration_Weapon','Penetration Shadow Weapon','Shadowgear',true,true,'.@r = getrefine();\nbonus2 bIgnoreDefClassRate,Class_Normal,5+.@r/2;'); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_armor`,`refineable`,`script`) VALUES (24433,'S_Penetration_Armor','Penetration Shadow Armor','Shadowgear',true,true,'.@r = getrefine();\nbonus2 bIgnoreDefClassRate,Class_Normal,5+.@r/2;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_weapon`,`refineable`,`script`) VALUES (24434,'S_Exe_Ho_Weapon','Executioner Holy Water Shadow Weapon','Shadowgear',true,true,'.@r = getrefine();\nbonus2 bIgnoreDefRaceRate,RC_DemiHuman,5+.@r/2;\nbonus2 bIgnoreDefRaceRate,RC_Undead,5+.@r/2;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_weapon`,`refineable`,`script`) VALUES (24435,'S_Fis_In_Weapon','Fishing Insect Shadow Weapon','Shadowgear',true,true,'.@r = getrefine();\nbonus2 bIgnoreDefRaceRate,RC_Fish,5+.@r/2;\nbonus2 bIgnoreDefRaceRate,RC_Insect,5+.@r/2;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_weapon`,`refineable`,`script`) VALUES (24436,'S_Sci_Hu_Weapon','Scissors Hunting Shadow Weapon','Shadowgear',true,true,'.@r = getrefine();\nbonus2 bIgnoreDefRaceRate,RC_Brute,5+.@r/2;\nbonus2 bIgnoreDefRaceRate,RC_Plant,5+.@r/2;'); @@ -5635,7 +5635,7 @@ REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_sha REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`job_knight`,`class_third`,`class_third_upper`,`class_third_baby`,`location_shadow_armor`,`equip_level_min`,`refineable`,`script`) VALUES (24440,'S_Sonic_Armor','Sonic Shadow Armor','Shadowgear',true,true,true,true,true,99,true,'bonus2 bSkillAtk,"RK_SONICWAVE",5+2*(getrefine()/2);'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`job_knight`,`class_third`,`class_third_upper`,`class_third_baby`,`location_shadow_shield`,`equip_level_min`,`refineable`,`script`) VALUES (24441,'S_Sonic_Shield','Sonic Shadow Shield','Shadowgear',true,true,true,true,true,99,true,'.@r = getrefine();\nbonus bLongAtkRate,3+(.@r>=7?3:0)+(.@r>=9?4:0);'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`job_knight`,`class_third`,`class_third_upper`,`class_third_baby`,`location_shadow_shoes`,`equip_level_min`,`refineable`,`script`) VALUES (24442,'S_Sonic_Shoes','Sonic Shadow Shoes','Shadowgear',true,true,true,true,true,99,true,'bonus2 bSkillUseSPrate,"RK_SONICWAVE",2+(getrefine()/2);'); -REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`job_knight`,`class_third`,`class_third_upper`,`class_third_baby`,`location_shadow_weapon`,`equip_level_min`,`refineable`,`script`) VALUES (24443,'S_Ignition_Weapon','Ignition Shadow Weapon','Shadowgear',true,true,true,true,true,99,true,'.@r = getrefine();\nbonus3 bAutoSpell,"RK_IGNITIONBREAK",max(3,getskilllv("RK_IGNITIONBREAK")),10+(.@r>=7?1:0)+(.@r>=9?2:0);'); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`job_knight`,`class_third`,`class_third_upper`,`class_third_baby`,`location_shadow_weapon`,`equip_level_min`,`refineable`,`script`) VALUES (24443,'S_Ignition_Weapon','Ignition Shadow Weapon','Shadowgear',true,true,true,true,true,99,true,'.@r = getrefine();\nbonus3 bAutoSpell,"RK_IGNITIONBREAK",max(3,getskilllv("RK_IGNITIONBREAK")),10+(.@r>=7?10:0)+(.@r>=9?20:0);'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`job_knight`,`class_third`,`class_third_upper`,`class_third_baby`,`location_shadow_left_accessory`,`equip_level_min`,`refineable`,`script`) VALUES (24444,'S_Ignition_Pendant','Ignition Shadow Pendant','Shadowgear',true,true,true,true,true,99,true,'bonus2 bSkillAtk,"RK_IGNITIONBREAK",5+2*(getrefine()/2);'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`job_knight`,`class_third`,`class_third_upper`,`class_third_baby`,`location_shadow_right_accessory`,`equip_level_min`,`refineable`,`script`) VALUES (24445,'S_Ignition_Earing','Ignition Shadow Earring','Shadowgear',true,true,true,true,true,99,true,'bonus2 bSkillCooldown,"RK_IGNITIONBREAK",-200-100*(getrefine()/3);'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`job_knight`,`class_third`,`class_third_upper`,`class_third_baby`,`location_shadow_armor`,`equip_level_min`,`refineable`,`script`) VALUES (24446,'S_W_Breath_Armor','Cold Breath Shadow Armor','Shadowgear',true,true,true,true,true,99,true,'bonus2 bSkillAtk,"RK_DRAGONBREATH_WATER",5+2*(getrefine()/2);'); diff --git a/sql-files/item_db_re_etc.sql b/sql-files/item_db_re_etc.sql index aa6f14a877..bde18fa20b 100644 --- a/sql-files/item_db_re_etc.sql +++ b/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,-10;'); +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 (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;'); @@ -1249,7 +1249,7 @@ 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 (4976,'Reactor_T_GROUND','Earth Resistance Reactor','Card','bonus2 bSubEle,Ele_Earth,25;\nbonus2 bSubEle,Ele_Fire,-25;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`script`) VALUES (4977,'Reactor_T_WIND','Wind Resistance Reactor','Card','bonus2 bSubEle,Ele_Wind,25;\nbonus2 bSubEle,Ele_Earth,-25;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`script`) VALUES (4978,'Reactor_Cure_101','Recovery Reactor 101','Card','if (getrefine()>=7)\n bonus2 bHPRegenRate,100,5000;\nelse\n bonus2 bHPRegenRate,50,5000;'); -REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`script`) VALUES (4979,'Reactor_Cure_102','Recovery Reactor 102','Card','if (getrefine()>=7)\n bonus2 bSPRegenRate,5,5000;\nelse\n bonus2 bHPRegenRate,3,5000;'); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`script`) VALUES (4979,'Reactor_Cure_102','Recovery Reactor 102','Card','if (getrefine()>=7)\n bonus2 bSPRegenRate,5,5000;\nelse\n bonus2 bSPRegenRate,3,5000;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`script`) VALUES (4980,'Reactor_Cure_201','Recovery Reactor 201','Card','if (getrefine()>=7)\n bonus bHPrecovRate,100;\nelse\n bonus bHPrecovRate,50;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`script`) VALUES (4981,'Reactor_Cure_202','Recovery Reactor 202','Card','if (getrefine()>=7)\n bonus bSPrecovRate,100;\nelse\n bonus bSPrecovRate,50;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`script`) VALUES (4982,'Reactor_A_STR','STR Supplement Reactor','Card','if (getrefine()>=7) {\n .@bonus = 10;\n}\nbonus bBaseAtk,.@bonus + 5*(readparam(bStr)/10);');