From 2f311bd1ef6abf0de642f93690eb37bebbb34d14 Mon Sep 17 00:00:00 2001 From: idk-whoami <60462533+idk-whoami@users.noreply.github.com> Date: Tue, 13 Jul 2021 20:09:43 +0700 Subject: [PATCH] Corrected script for some item (#6078) * SQL synchronization Thanks to @Atemo --- db/re/item_combo_db.txt | 40 +++--- db/re/item_db_equip.yml | 240 ++++++++++++++++++++++++++------- sql-files/item_db_re_equip.sql | 69 +++++----- 3 files changed, 253 insertions(+), 96 deletions(-) diff --git a/db/re/item_combo_db.txt b/db/re/item_combo_db.txt index 37292f8562..df000271d2 100644 --- a/db/re/item_combo_db.txt +++ b/db/re/item_combo_db.txt @@ -76,6 +76,7 @@ 1620:2509:19139,{ .@r = getequiprefinerycnt(EQI_HAND_R); bonus bMatkRate,1; if (.@r >= 5) { bonus bMatkRate,2; if (.@r >= 7) { bonus bMatkRate,2; } } } 1620:2535,{ bonus bMatkRate,5; bonus2 bSubEle,Ele_Neutral,25; } 1620:19020,{ .@r = getequiprefinerycnt(EQI_HAND_R); bonus bMatk,.@r*10; if (.@r >= 10) { autobonus "{ bonus bVariableCastrate,-50; }",100,5000,BF_MAGIC; /* Confirm: Success rate? */ } } +1625:18542,{ bonus bHealPower,getequiprefinerycnt(EQI_HAND_R); } 1628:2509,{ bonus bMatkRate,5; bonus2 bSubEle,Ele_Neutral,25; } 1629:5045,{ bonus bDex,2; bonus bInt,2; bonus bSPrecovRate,5; bonus bMatkRate,getequiprefinerycnt(EQI_HAND_R); } 1631:2129,{ bonus2 bSkillAtk,"PR_MAGNUS",20; bonus3 bAutoSpellWhenHit,"PR_TURNUNDEAD",1,20; } @@ -161,7 +162,7 @@ 2183:15068:18776:20710:22015,{ bonus bMaxHP,900; bonus bMaxSP,100; bonus3 bAutoSpellWhenHit,"HP_ASSUMPTIO",1,30; } 2183:22015,{ bonus bAllStats,2; } 2195:20753,{ bonus2 bAddEle,Ele_Neutral,getequiprefinerycnt(EQI_HAND_L); bonus2 bSubRace,RC_Formless,getequiprefinerycnt(EQI_GARMENT); } -2198:5966,{ .@r = getequiprefinerycnt(EQI_HAND_L); if (.@r > 7) bonus2 bSkillCooldown,"WL_COMET",-20000+(.@r > 9 ? -20000 : 0); } +2198:5966,{ .@r = getequiprefinerycnt(EQI_HAND_L); if (.@r >= 7) bonus2 bSkillCooldown,"WL_COMET",-20000+(.@r >= 9 ? -20000 : 0); } 2241:5136,{ bonus bMaxHP,700; bonus bMaxSP,50; bonus4 bAutoSpellWhenHit,"AL_INCAGI",10,30,1; } 2268:18573,{ .@r = getequiprefinerycnt(EQI_HEAD_TOP); if(.@r > 6) { bonus bMaxHPrate,((.@r-5)/2)*2; bonus bHit,(.@r-5)/2; } } 2268:19082,{ bonus bDelayrate,-5; } @@ -1805,27 +1806,27 @@ 310188:310191,{ bonus bDelayrate,-5; } 500001:450001:470000:480000:490004,{ bonus bAspd,2; bonus2 bAddSize,Size_All,10; bonus2 bSkillAtk,"GN_CART_TORNADO",min(BaseLevel,180)/15; autobonus3 "{ bonus2 bSkillAtk,\"GN_CART_TORNADO\",20; }",1000,60000,"GN_CARTBOOST"; } 500001:450004:470003:480003:490007,{ bonus bMaxHPrate,10; bonus bVariableCastrate,-10; bonus2 bSkillAtk,"GN_CARTCANNON",min(BaseLevel,180)/15; autobonus3 "{ bonus2 bSkillAtk,\"GN_CARTCANNON\",20; }",1000,60000,"GN_CARTBOOST"; } -510001:450002:470001:480001:490005,{ bonus bMatk,20; bonus2 bMagicAddSize,Size_All,10; bonus2 bSkillAtk,"WZ_METEORSTORM",min(BaseLevel/15)*2; autobonus3 "{ bonus2 bSkillAtk,\"WZ_METEORSTORM\",35; }",1000,60000,"ST_PRESERVE"; } -510001:450001:470000:480000:490004,{ bonus2 bAddClass,Class_All,5; bonus bDelayrate,-15; bonus2 bSkillAtk,"SC_FATALMENACE",min(BaseLevel/15)*2; autobonus3 "{ bonus2 bSkillAtk,\"SC_FATALMENACE\",35; }",1000,60000,"ST_PRESERVE"; } +510001:450002:470001:480001:490005,{ bonus bMatk,20; bonus2 bMagicAddSize,Size_All,10; bonus2 bSkillAtk,"WZ_METEORSTORM",min(BaseLevel,180)/15*2; autobonus3 "{ bonus2 bSkillAtk,\"WZ_METEORSTORM\",35; }",1000,60000,"ST_PRESERVE"; } +510001:450001:470000:480000:490004,{ bonus2 bAddClass,Class_All,5; bonus bDelayrate,-15; bonus2 bSkillAtk,"SC_FATALMENACE",min(BaseLevel,180)/15; autobonus3 "{ bonus2 bSkillAtk,\"SC_FATALMENACE\",35; }",1000,60000,"ST_PRESERVE"; } 510002:450002:470001:480001:490005,{ bonus bMatk,20; bonus bVariableCastrate,-10; .@i = min(BaseLevel,180)/15*2; bonus2 bSkillAtk,"NJ_KOUENKA",.@i; bonus2 bSkillAtk,"NJ_HYOUSENSOU",.@i; bonus2 bSkillAtk,"NJ_HUUJIN",.@i; autobonus3 "{ bonus2 bSkillAtk,\"NJ_KOUENKA\",35; bonus2 bSkillAtk,\"NJ_HYOUSENSOU\",35; bonus2 bSkillAtk,\"NJ_HUUJIN\",35; }",1000,60000,"NJ_NEN"; } -510002:450004:470003:480003:490007,{ bonus bBaseAtk,20; bonus2 bSkillCooldown,"KO_JYUMONJIKIRI",-1000; bonus2 bSkillAtk,"KO_HAPPOKUNAI",min(BaseLevel/15); autobonus3 "{ bonus2 bSkillAtk,\"KO_HAPPOKUNAI\",20; }",1000,60000,"NJ_NEN"; } +510002:450004:470003:480003:490007,{ bonus bBaseAtk,20; bonus2 bSkillCooldown,"KO_JYUMONJIKIRI",-1000; bonus2 bSkillAtk,"KO_HAPPOKUNAI",min(BaseLevel,180)/15; autobonus3 "{ bonus2 bSkillAtk,\"KO_HAPPOKUNAI\",20; }",1000,60000,"NJ_NEN"; } 520000:450001:470000:480000:490004,{ bonus bDelayrate,-10; bonus2 bSkillCooldown,"NC_AXETORNADO",-1000; bonus2 bSkillAtk,"NC_AXETORNADO",min(BaseLevel,180)/15; autobonus3 "{ bonus2 bSkillAtk,\"NC_AXETORNADO\",20; }",1000,60000,"BS_WEAPONPERFECT"; } 520000:450004:470003:480003:490007,{ bonus bVariableCastrate,-10; bonus bDelayrate,-10; bonus2 bSkillAtk,"NC_ARMSCANNON",min(BaseLevel,180)/15; autobonus3 "{ bonus2 bSkillAtk,\"NC_ARMSCANNON\",20; }",1000,60000,"BS_WEAPONPERFECT"; } 530000:450003:470002:480002:490006,{ bonus bMatk,20; bonus bDelayrate,-10; bonus2 bSkillAtk,"LG_RAYOFGENESIS",min(BaseLevel,180)/15; autobonus3 "{ bonus2 bSkillAtk,\"LG_RAYOFGENESIS\",20; }",1000,60000,"AL_CURE"; } -530000:450004:470003:480003:490007,{ bonus bAspd,2; bonus bLongAtkRate,10; bonus2 bSkillAtk,"LG_BANISHINGPOINT",min(BaseLevel,180)/15; autobonus3 "{ bonus2 bSkillAtk,\"LG_BANISHINGPOINT\",35; }",1000,60000,"CR_SPEARQUICKEN"; } -540000:450002:470001:480001:490005,{ bonus bMatk,20; bonus2 bMagicAddSize,Size_All,10; bonus2 bSkillAtk,"SO_PSYCHIC_WAVE",min(BaseLevel/15)*2; autobonus3 "{ bonus2 bSkillAtk,\"SO_PSYCHIC_WAVE\",20; }",1000,60000,"PF_MEMORIZE"; } -540000:450003:470002:480002:490006,{ bonus bMatk,20; bonus bAspd,2; .@i = min(BaseLevel,180)/15; bonus2 bSkillAtk,"MG_FIREBOLT",.@i; bonus2 bSkillAtk,"MG_COLDBOLT",.@i; bonus2 bSkillAtk,"MG_LIGHTNINGBOLT",.@i; autobonus3 "{ bonus2 bSkillAtk,\"MG_FIREBOLT\",35; bonus2 bSkillAtk,\"MG_COLDBOLT\",35; bonus2 bSkillAtk,\"MG_LIGHTNINGBOLT\",35; }",1000,60000,"PF_DOUBLECASTING"; } +530000:450004:470003:480003:490007,{ bonus bAspd,2; bonus bLongAtkRate,10; bonus2 bSkillAtk,"LG_BANISHINGPOINT",min(BaseLevel,180)/15*2; autobonus3 "{ bonus2 bSkillAtk,\"LG_BANISHINGPOINT\",35; }",1000,60000,"CR_SPEARQUICKEN"; } +540000:450002:470001:480001:490005,{ bonus bMatk,20; bonus2 bMagicAddSize,Size_All,10; bonus2 bSkillAtk,"SO_PSYCHIC_WAVE",min(BaseLevel,180)/15; autobonus3 "{ bonus2 bSkillAtk,\"SO_PSYCHIC_WAVE\",20; }",1000,60000,"PF_MEMORIZE"; } +540000:450003:470002:480002:490006,{ bonus bMatk,20; bonus bAspd,2; .@i = min(BaseLevel,180)/15*2; bonus2 bSkillAtk,"MG_FIREBOLT",.@i; bonus2 bSkillAtk,"MG_COLDBOLT",.@i; bonus2 bSkillAtk,"MG_LIGHTNINGBOLT",.@i; autobonus3 "{ bonus2 bSkillAtk,\"MG_FIREBOLT\",35; bonus2 bSkillAtk,\"MG_COLDBOLT\",35; bonus2 bSkillAtk,\"MG_LIGHTNINGBOLT\",35; }",1000,60000,"PF_DOUBLECASTING"; } 540001:450001:470000:480000:490004,{ bonus bBaseAtk,20; bonus2 bAddSize,Size_All,10; bonus2 bSkillAtk,"SJ_FULLMOONKICK",min(BaseLevel,180)/15; autobonus3 "{ bonus2 bSkillAtk,\"SJ_FULLMOONKICK\",20; }",1000,60000,"SJ_NEWMOONKICK"; } -540001:450004:470003:480003:490007,{ bonus bBaseAtk,20; bonus bAspd,2; bonus2 bSkillAtk,"SJ_FALLINGSTAR",min(BaseLevel,180)/15; autobonus3 "{ bonus2 bSkillAtk,\"SJ_FALLINGSTAR\",20; }",1000,60000,"SJ_FLASHKICK"; } -550001:450002:470001:480001:490005,{ bonus bMatk,20; bonus2 bMagicAddSize,Size_All,10; bonus2 bSkillAtk,"SP_SWHOO",min(BaseLevel/15)*2; autobonus3 "{ bonus2 bSkillAtk,\"SP_SWHOO\",60; }",1000,60000,"SP_SPA"; } -550001:450003:470002:480002:490006,{ bonus bMatk,20; bonus bVariableCastrate,-10; bonus2 bSkillAtk,"SP_CURSEEXPLOSION",min(BaseLevel,180)/15; autobonus3 "{ bonus2 bSkillAtk,\"SP_CURSEEXPLOSION\",20; }",1000,60000,"SP_SOULCURSE"; } -550002:450002:470001:480001:490005,{ bonus bMatk,20; bonus2 bMagicAddSize,Size_All,10; bonus2 bSkillAtk,"SU_CN_METEOR",min(BaseLevel/15)*2; autobonus3 "{ bonus2 bSkillAtk,\"SU_CN_METEOR\",35; }",1000,60000,"SU_SV_STEMSPEAR"; } +540001:450004:470003:480003:490007,{ bonus bBaseAtk,20; bonus bAspd,2; bonus2 bSkillAtk,"SJ_FALLINGSTAR",min(BaseLevel,180)/15*2; autobonus3 "{ bonus2 bSkillAtk,\"SJ_FALLINGSTAR\",20; }",1000,60000,"SJ_FLASHKICK"; } +550001:450002:470001:480001:490005,{ bonus bMatk,20; bonus2 bMagicAddSize,Size_All,10; bonus2 bSkillAtk,"SP_SWHOO",min(BaseLevel,180)/15; autobonus3 "{ bonus2 bSkillAtk,\"SP_SWHOO\",60; }",1000,60000,"SP_SPA"; } +550001:450003:470002:480002:490006,{ bonus bMatk,20; bonus bVariableCastrate,-10; bonus2 bSkillAtk,"SP_CURSEEXPLOSION",min(BaseLevel,180)/15*2; autobonus3 "{ bonus2 bSkillAtk,\"SP_CURSEEXPLOSION\",20; }",1000,60000,"SP_SOULCURSE"; } +550002:450002:470001:480001:490005,{ bonus bMatk,20; bonus2 bMagicAddSize,Size_All,10; bonus2 bSkillAtk,"SU_CN_METEOR",min(BaseLevel,180)/15*2; autobonus3 "{ bonus2 bSkillAtk,\"SU_CN_METEOR\",35; }",1000,60000,"SU_SV_STEMSPEAR"; } 550002:450004:470003:480003:490007,{ bonus bBaseAtk,20; bonus bDelayrate,-10; bonus2 bSkillAtk,"SU_PICKYPECK",min(BaseLevel,180)/15*2; autobonus3 "{ bonus2 bSkillAtk,\"SU_PICKYPECK\",35; }",1000,60000,"SU_ARCLOUSEDASH"; } 560000:450001:470000:480000:490004,{ bonus bMaxHPrate,10; bonus2 bMagicAddSize,Size_All,10; bonus2 bSkillAtk,"SR_TIGERCANNON",min(BaseLevel,180)/15; autobonus3 "{ bonus2 bSkillAtk,\"SR_TIGERCANNON\",20; }",1000,60000,"CH_SOULCOLLECT"; } 560000:450004:470003:480003:490007,{ bonus bMaxSPrate,10; bonus bDelayrate,-15; bonus2 bSkillAtk,"SR_KNUCKLEARROW",min(BaseLevel,180)/15*2; autobonus3 "{ bonus2 bSkillAtk,\"SR_KNUCKLEARROW\",35; }",1000,60000,"CH_SOULCOLLECT"; } -570000:450002:470001:480001:490005,{ bonus bMatk,20; bonus bDelayrate,-10; bonus2 bSkillAtk,"WM_REVERBERATION",min(BaseLevel/15); autobonus3 "{ bonus2 bSkillAtk,\"WM_REVERBERATION\",20; }",1000,60000,"AC_CONCENTRATION"; } +570000:450002:470001:480001:490005,{ bonus bMatk,20; bonus bDelayrate,-10; bonus2 bSkillAtk,"WM_REVERBERATION",min(BaseLevel,180)/15; autobonus3 "{ bonus2 bSkillAtk,\"WM_REVERBERATION\",20; }",1000,60000,"AC_CONCENTRATION"; } 570000:450004:470003:480003:490007,{ bonus bBaseAtk,20; bonus2 bSkillCooldown,"WM_SEVERE_RAINSTORM",-2000; bonus2 bSkillAtk,"WM_SEVERE_RAINSTORM",min(BaseLevel,180)/15; autobonus3 "{ bonus2 bSkillAtk,\"WM_SEVERE_RAINSTORM\",20; }",1000,60000,"AC_CONCENTRATION"; } -580000:450002:470001:480001:490005,{ bonus bMatk,20; bonus bDelayrate,-10; bonus2 bSkillAtk,"WM_REVERBERATION",min(BaseLevel/15)*2; autobonus3 "{ bonus2 bSkillAtk,\"WM_REVERBERATION\",35; }",1000,60000,"AC_CONCENTRATION"; } +580000:450002:470001:480001:490005,{ bonus bMatk,20; bonus bDelayrate,-10; bonus2 bSkillAtk,"WM_REVERBERATION",min(BaseLevel,180)/15; autobonus3 "{ bonus2 bSkillAtk,\"WM_REVERBERATION\",35; }",1000,60000,"AC_CONCENTRATION"; } 580000:450004:470003:480003:490007,{ bonus bBaseAtk,20; bonus2 bSkillCooldown,"WM_SEVERE_RAINSTORM",-2000; bonus2 bSkillAtk,"WM_SEVERE_RAINSTORM",min(BaseLevel,180)/15; autobonus3 "{ bonus2 bSkillAtk,\"WM_SEVERE_RAINSTORM\",20; }",1000,60000,"AC_CONCENTRATION"; } 590000:450003:470002:480002:490006,{ bonus bMatk,20; bonus2 bSkillAtk,"AB_JUDEX",30; bonus2 bSkillAtk,"AB_ADORAMUS",min(BaseLevel,180)/15; autobonus3 "{ bonus2 bSkillAtk,\"AB_ADORAMUS\",20; }",1000,60000,"PR_MAGNIFICAT"; } 590000:450004:470003:480003:490007,{ bonus bAspd,2; bonus bCritAtkRate,10; bonus2 bSkillAtk,"AB_DUPLELIGHT",min(BaseLevel,180)/15*2; autobonus3 "{ bonus2 bSkillAtk,\"AB_DUPLELIGHT\",20; }",1000,60000,"PR_MAGNIFICAT"; } @@ -1833,7 +1834,7 @@ 600001:450004:470003:480003:490007,{ bonus bMaxHPrate,10; bonus bDelayrate,-15; .@i = min(BaseLevel,180)/15; bonus2 bSkillAtk,"RK_DRAGONBREATH",.@i; bonus2 bSkillAtk,"RK_DRAGONBREATH_WATER",.@i; autobonus3 "{ bonus2 bSkillAtk,\"RK_DRAGONBREATH\",20; bonus2 bSkillAtk,\"RK_DRAGONBREATH_WATER\",20; }",1000,60000,"LK_CONCENTRATION"; } 610000:450001:470000:480000:490004,{ bonus bAspd,2; bonus bCritAtkRate,10; bonus2 bAddEle,Ele_All,min(BaseLevel,180)/15; autobonus3 "{ bonus2 bAddEle,Ele_All,60; }",1000,60000,"ASC_EDP"; } 610000:450004:470003:480003:490007,{ bonus2 bAddClass,Class_All,10; bonus bDelayrate,-15; bonus2 bSkillAtk,"GC_ROLLINGCUTTER",min(BaseLevel,180)/15; autobonus3 "{ bonus2 bSkillAtk,\"GC_ROLLINGCUTTER\",20; }",1000,60000,"ASC_EDP"; } -640000:450002:470001:480001:490005,{ bonus bMatk,20; bonus2 bMagicAddSize,Size_All,10; bonus2 bSkillAtk,"WL_CRIMSONROCK",min(BaseLevel/15)*2; autobonus3 "{ bonus2 bSkillAtk,\"WL_CRIMSONROCK\",20; }",1000,60000,"HW_MAGICPOWER"; } +640000:450002:470001:480001:490005,{ bonus bMatk,20; bonus2 bMagicAddSize,Size_All,10; bonus2 bSkillAtk,"WL_CRIMSONROCK",min(BaseLevel,180)/15; autobonus3 "{ bonus2 bSkillAtk,\"WL_CRIMSONROCK\",20; }",1000,60000,"HW_MAGICPOWER"; } 640000:450003:470002:480002:490006,{ bonus bMatk,20; bonus bDelayrate,-10; bonus2 bSkillAtk,"WL_SOULEXPANSION",min(BaseLevel,180)/15; autobonus3 "{ bonus2 bSkillAtk,\"WL_SOULEXPANSION\",20; }",1000,60000,"HW_MAGICPOWER"; } 700001:450001:470000:480000:490004,{ bonus bAspd,2; bonus bCritAtkRate,10; bonus2 bSkillAtk,"SN_SHARPSHOOTING",min(BaseLevel,180)/15; autobonus3 "{ bonus2 bSkillAtk,\"SN_SHARPSHOOTING\",20; }",1000,60000,"SN_SIGHT"; } 700001:450004:470003:480003:490007,{ bonus bMaxHPrate,10; bonus bDelayrate,-15; bonus2 bSkillAtk,"RA_AIMEDBOLT",min(BaseLevel,180)/15*2; autobonus3 "{ bonus2 bSkillAtk,\"RA_AIMEDBOLT\",35; }",1000,60000,"SN_SIGHT"; } @@ -2019,9 +2020,12 @@ 19249:1654,{ .@r_weapon = getequiprefinerycnt(EQI_HAND_R); bonus2 bSkillAtk,"SO_PSYCHIC_WAVE",5*(.@r_weapon/2); } 19249:2004,{ .@r_weapon = getequiprefinerycnt(EQI_HAND_R); bonus2 bSkillAtk,"WL_HELLINFERNO",10*(.@r_weapon/2); } 19249:13076:13078,{ .@r = getequiprefinerycnt(EQI_HAND_R)+getequiprefinerycnt(EQI_HAND_L); bonus bVariableCastrate,-.@r; bonus2 bSkillAtk,"NJ_KOUENKA",5*(.@r/2); bonus2 bSkillAtk,"NJ_HYOUSENSOU",5*(.@r/2); bonus2 bSkillAtk,"NJ_HUUJIN",5*(.@r/2); } -19263:1168:1171,{ .@r_weapon = getequiprefinerycnt(EQI_HAND_R); bonus bBaseAtk,20*(.@r_weapon/2); } -19263:1413:1418,{ .@r_weapon = getequiprefinerycnt(EQI_HAND_R); bonus2 bSkillAtk,"LG_BANISHINGPOINT",7*(.@r_weapon/2); } -19263:1527:1537,{ .@r_weapon = getequiprefinerycnt(EQI_HAND_R); bonus2 bSkillAtk,"SR_TIGERCANNON",7*(.@r_weapon/2); } +19263:1168,{ .@r_weapon = getequiprefinerycnt(EQI_HAND_R); bonus bBaseAtk,20*(.@r_weapon/2); } +19263:1171,{ .@r_weapon = getequiprefinerycnt(EQI_HAND_R); bonus bBaseAtk,20*(.@r_weapon/2); } +19263:1413,{ .@r_weapon = getequiprefinerycnt(EQI_HAND_R); bonus2 bSkillAtk,"LG_BANISHINGPOINT",7*(.@r_weapon/2); } +19263:1418,{ .@r_weapon = getequiprefinerycnt(EQI_HAND_R); bonus2 bSkillAtk,"LG_BANISHINGPOINT",7*(.@r_weapon/2); } +19263:1527,{ .@r_weapon = getequiprefinerycnt(EQI_HAND_R); bonus2 bSkillAtk,"SR_TIGERCANNON",7*(.@r_weapon/2); } +19263:1537,{ .@r_weapon = getequiprefinerycnt(EQI_HAND_R); bonus2 bSkillAtk,"SR_TIGERCANNON",7*(.@r_weapon/2); } 19268:20717,{ bonus bBaseAtk,5*(readparam(bStr)/20); bonus bAspdRate,3*(readparam(bAgi)/20); bonus2 bSubEle,Ele_Neutral,(readparam(bVit)/20); bonus bVariableCastrate,-4*(readparam(bInt)/20); bonus bCritAtkRate,3*(readparam(bLuk)/20); } 19268:20718,{ bonus bBaseAtk,5*(readparam(bStr)/20); bonus bAspdRate,3*(readparam(bAgi)/20); bonus2 bSubEle,Ele_Neutral,(readparam(bVit)/20); bonus bVariableCastrate,-4*(readparam(bInt)/20); bonus bCritAtkRate,3*(readparam(bLuk)/20); } 19275:15210:20855,{ bonus bAspdRate,15; bonus2 bCriticalAddRace,RC_Fish,30; bonus2 bAddRace,RC_Fish,25; bonus bDefEle,Ele_Water; } @@ -2360,3 +2364,5 @@ 29033:29026,{ bonus bHit,5; bonus bFlee,5; } 2593:2163,{ bonus2 bSubRace,RC_Brute,getequiprefinerycnt(EQI_GARMENT); bonus2 bAddEle,Ele_Water,getequiprefinerycnt(EQI_HAND_L); } 2598:2158,{ bonus2 bSubRace,RC_DemiHuman,getequiprefinerycnt(EQI_GARMENT); bonus2 bAddEle,Ele_Undead,getequiprefinerycnt(EQI_HAND_L); } +18541:1745,{ if (getequiprefinerycnt(EQI_HAND_R) >= 10) bonus2 bVariableCastrate,"SN_SHARPSHOOTING",-50; } +1688:490022,{ bonus2 bAddRace,RC_Fish,20; bonus2 bAddEle,Ele_Water,20; bonus2 bMagicAddRace,RC_Fish,20; bonus2 bMagicAddEle,Ele_Water,20; } diff --git a/db/re/item_db_equip.yml b/db/re/item_db_equip.yml index 167f0b68d7..54870254c8 100644 --- a/db/re/item_db_equip.yml +++ b/db/re/item_db_equip.yml @@ -1330,6 +1330,42 @@ Body: WeaponLevel: 3 EquipLevelMin: 27 Refineable: true + - Id: 1150 + AegisName: Libra_Krasnaya_J + Name: Libra's Krasnaya + Type: Weapon + SubType: 2hSword + Weight: 3500 + Attack: 10 + Range: 1 + Slots: 1 + Jobs: + Crusader: true + Knight: true + Swordman: true + Locations: + Both_Hand: true + WeaponLevel: 4 + EquipLevelMin: 1 + Refineable: true + Script: | + bonus bAspdRate,10; + bonus bBaseAtk,70+BaseLevel; + bonus bUnbreakableWeapon; + if (BaseJob == Job_Rune_Knight) { + bonus bDelayrate,-10; + bonus2 bAddRace,RC_All,50; + bonus bLongAtkRate,25; + bonus2 bSubClass,Class_Boss,50; + bonus2 bSkillUseSP,"LK_SPIRALPIERCE",15; + .@r = getrefine(); + if (.@r>=7) { + .@val = 50; + if (.@r>=9) + .@val += 50; + bonus2 bIgnoreDefRaceRate,RC_All,.@val; + } + } - Id: 1151 AegisName: Slayer Name: Slayer @@ -13957,10 +13993,13 @@ Body: Locations: Right_Hand: true WeaponLevel: 1 - EquipLevelMin: 1 + EquipLevelMin: 30 Refineable: true Script: | bonus bUnbreakableWeapon; + bonus bMatkRate,15; + bonus bInt,5-(BaseLevel/10); + bonus bMaxSP,200-(40*(BaseLevel/10)); - Id: 1657 AegisName: Wand_Of_Affection Name: Wand Of Affection @@ -14396,6 +14435,32 @@ Body: } bonus bMatkRate,.@dmg; } + - Id: 1672 + AegisName: Safety_Rod + Name: Safety Rod + Type: Weapon + SubType: Staff + Weight: 500 + Attack: 10 + MagicAttack: 120 + Range: 1 + Slots: 1 + Jobs: + Acolyte: true + Monk: true + Priest: true + Locations: + Right_Hand: true + WeaponLevel: 4 + EquipLevelMin: 36 + Refineable: true + Script: | + bonus bInt,2; + bonus3 bAutoSpellWhenHit,"AL_HEAL",max(1,getskilllv("AL_HEAL")),20; + if (getrefine()>5) + .@val += getrefine()-5; + bonus2 bSubRace,RC_DemiHuman,5+.@val; + bonus2 bSubRace,RC_Player_Human,5+.@val; - Id: 1673 AegisName: Half_BF_Staff4 Name: Half BF Staff4 @@ -14777,6 +14842,80 @@ Body: Script: | bonus bMaxHP,100; bonus bUnbreakableWeapon; + - Id: 1688 + AegisName: Staff_of_Trust + Name: Thunder Wand + Type: Weapon + SubType: Staff + Weight: 1000 + Attack: 160 + MagicAttack: 145 + Range: 1 + Slots: 2 + Jobs: + Acolyte: true + Mage: true + Monk: true + Novice: true + Priest: true + Sage: true + SoulLinker: true + SuperNovice: true + Wizard: true + Locations: + Right_Hand: true + WeaponLevel: 3 + EquipLevelMin: 50 + Refineable: true + Script: | + .@r = getrefine(); + bonus bAtkEle,Ele_Wind; + bonus bUnbreakableWeapon; + if (.@r>=7) { + .@val = 10; + if (.@r>=9) + .@val += 15; + bonus2 bMagicAddEle,Ele_Water,.@val; + bonus2 bMagicAddRace,RC_Fish,.@val; + } + - Id: 1689 + AegisName: Staff_of_Trust2 + Name: "[Rental] Hunting Wand" + Type: Weapon + SubType: Staff + Attack: 160 + MagicAttack: 145 + Range: 1 + Jobs: + Acolyte: true + Mage: true + Monk: true + Novice: true + Priest: true + Sage: true + SoulLinker: true + SuperNovice: true + Wizard: true + Locations: + Right_Hand: true + WeaponLevel: 3 + EquipLevelMin: 50 + Refineable: true + Script: | + .@r = getrefine(); + bonus bAtkEle,Ele_Fire; + if (.@r>=7) { + bonus2 bMagicAddEle,Ele_Earth,10; + bonus2 bMagicAddEle,Ele_Water,10; + bonus2 bMagicAddRace,RC_DemiHuman,10; + bonus2 bMagicAddRace,RC_Insect,10; + } + if (.@r>=9) { + bonus2 bMagicAddEle,Ele_Earth,15; + bonus2 bMagicAddEle,Ele_Water,15; + bonus2 bMagicAddRace,RC_DemiHuman,15; + bonus2 bMagicAddRace,RC_Insect,15; + } - Id: 1690 AegisName: Amazing_Foxtail Name: Mysterious Foxtail Staff @@ -16521,13 +16660,12 @@ Body: NoMail: true NoAuction: true Script: | - bonus bAtkEle,Ele_Wind; bonus2 bAddRace,RC_Undead,5; bonus2 bAddEle,Ele_Water,10; bonus2 bAddEle,Ele_Earth,10; bonus2 bAddEle,Ele_Fire,10; bonus2 bAddEle,Ele_Wind,10; - bonus bAspdRate,5; + bonus bAspdRate,12; - Id: 1818 AegisName: Magma_Fist Name: Magma Fist @@ -17145,10 +17283,10 @@ Body: Script: | .@r = getrefine(); .@b = 40; - if (.@r>=5) { + if (.@r>=5) .@b += (.@r-5)*15+20; - } bonus2 bAddRace2,RC2_BioLab,.@b; + bonus bUnbreakableWeapon; - Id: 1841 AegisName: Claw_Of_Flash_ Name: Claw of Flash @@ -17249,10 +17387,8 @@ Body: Refineable: true Script: | .@r = getrefine(); - if (.@r >= 2) - bonus bBaseAtk,.@r/2; - if (.@r >= 3) - bonus bLongAtkRate,.@r/3*4; + bonus bBaseAtk,.@r/2*10; + bonus bLongAtkRate,.@r/3*4; if (.@r >= 9) bonus2 bSkillAtk,"SR_RAMPAGEBLASTER",10; if (.@r >= 11) @@ -17444,7 +17580,7 @@ Body: } if (.@r>=9) { bonus2 bSkillAtk,"SR_KNUCKLEARROW",15; - autobonus "{ bonus2 bAddSize,Size_All,15; }",1,10000,BF_WEAPON; + autobonus "{ bonus2 bAddSize,Size_All,15; }",10,10000,BF_WEAPON; } if (.@r>=11) { bonus bDelayrate,-20; @@ -18112,7 +18248,7 @@ Body: Script: | bonus bAspdRate,100; bonus bHPrecovRate,-100; - bonus2 bHPLossRate,50,5000; + bonus2 bHPLossRate,25,5000; bonus bDex,-readparam(bDex); - Id: 1929 AegisName: Guitar_C @@ -18256,7 +18392,7 @@ Body: Name: Contrabass Type: Weapon SubType: Musical - Buy: 20 + Buy: 20000 Weight: 250 Attack: 180 MagicAttack: 120 @@ -18273,7 +18409,7 @@ Body: EquipLevelMin: 130 Refineable: true Script: | - bonus2 bSkillCooldown,"WM_RANDOMIZESPELL",-20; + bonus2 bSkillCooldown,"WM_RANDOMIZESPELL",-2000; - Id: 1935 AegisName: Ukulele_Of_Newoz Name: Oz's New Ukulele @@ -18301,9 +18437,8 @@ Body: Name: Blue Violin Type: Weapon SubType: Musical - Buy: 10 Weight: 1500 - Attack: 180 + Attack: 200 Range: 2 Slots: 1 Jobs: @@ -18344,7 +18479,7 @@ Body: Name: Infinity Violin Type: Weapon SubType: Musical - Buy: 10 + Buy: 20 Weight: 500 Attack: 150 Range: 2 @@ -18411,7 +18546,7 @@ Body: .@r = getrefine(); bonus bDex,.@r; bonus bInt,.@r; - .@per = ((.@r > 9) ? 40 : ((.@r > 7) ? 20 : ((.@r > 5) ? 10 : 0))); + .@per = ((.@r >= 9) ? 40 : ((.@r >= 7) ? 20 : ((.@r >= 5) ? 10 : 0))); bonus2 bSkillAtk,"WM_REVERBERATION",.@per; bonus2 bVariableCastrate,"WM_REVERBERATION",-.@per; - Id: 1941 @@ -28606,10 +28741,11 @@ Body: Refineable: true Script: | bonus bUnbreakableGarment; + .@r = getrefine(); if (BaseClass == Job_Mage || BaseClass == Job_Archer || BaseClass == Job_Acolyte) - bonus bFlee2,5+(getequiprefinerycnt(EQI_GARMENT)*2); + bonus bFlee2,5+(min(.@r,10)*2); else if (BaseClass == Job_Swordman || BaseClass == Job_Merchant || BaseClass == Job_Thief) - bonus bShortWeaponDamageReturn,5+(getequiprefinerycnt(EQI_GARMENT)*2); + bonus bShortWeaponDamageReturn,5+(min(.@r,10)*2); - Id: 2525 AegisName: Cape_Of_Ancient_Lord_ Name: Ancient Cape @@ -52252,7 +52388,7 @@ Body: Defense: 10 Slots: 1 Locations: - Head_Top: true + Costume_Head_Top: true Refineable: true - Id: 5916 AegisName: Exosrcist_Glass @@ -69167,6 +69303,7 @@ Body: NoGuildStorage: true NoMail: true NoAuction: true + Refineable: true Script: | .@r = getrefine(); bonus bBaseAtk,10*(.@r/2); @@ -69207,6 +69344,7 @@ Body: NoGuildStorage: true NoMail: true NoAuction: true + Refineable: true Script: | .@r = getrefine(); bonus bBaseAtk,10*(.@r/2); @@ -83171,7 +83309,7 @@ Body: Type: Armor Buy: 10 Locations: - Head_Top: true + Costume_Head_Top: true EquipLevelMin: 1 View: 413 - Id: 19709 @@ -93762,7 +93900,7 @@ Body: AegisName: Up_Dragonic_Slayer Name: Patent Dragonic Slayer Type: Weapon - SubType: 1hSword + SubType: 2hSword Weight: 2000 Attack: 200 Range: 1 @@ -120391,13 +120529,17 @@ Body: EquipLevelMin: 1 View: 1827 - Id: 31721 - AegisName: Costume_Resonating_Drums + AegisName: C_ResonateTaego Name: C Resonating Drums Type: Armor Locations: Costume_Head_Top: true EquipLevelMin: 1 View: 1823 + Script: | + hateffect(HAT_EF_RESONATETAEGO,true); + UnEquipScript: | + hateffect(HAT_EF_RESONATETAEGO,false); - Id: 31723 AegisName: Costume_TW_Rice_Ball Name: C Tw Rice Ball @@ -123468,8 +123610,7 @@ Body: Type: Armor View: 1996 Locations: - Head_Top: true - Head_Low: true + Costume_Head_Mid: true - Id: 410013 AegisName: EXP_Processor_ Name: EXP Advisor # !todo check english name @@ -123574,7 +123715,7 @@ Body: Costume_Head_Mid: true View: 2055 - Id: 420003 - AegisName: aegis_420003 + AegisName: CD_In_MouthK Name: CD in Mouth Type: Armor View: 815 @@ -123592,8 +123733,7 @@ Body: Type: Armor View: 2020 Locations: - Head_Mid: true - Head_Low: true + Costume_Head_Low: true - Id: 420017 AegisName: aegis_420017 Name: Young leaves of the world tree (power) # !todo check english name @@ -123601,7 +123741,6 @@ Body: View: 848 Weight: 50 Locations: - Head_Mid: true Head_Low: true EquipLevelMin: 100 - Id: 420018 @@ -123611,7 +123750,6 @@ Body: View: 848 Weight: 50 Locations: - Head_Mid: true Head_Low: true EquipLevelMin: 100 - Id: 420019 @@ -123621,7 +123759,6 @@ Body: View: 848 Weight: 50 Locations: - Head_Mid: true Head_Low: true EquipLevelMin: 100 - Id: 420020 @@ -123631,7 +123768,6 @@ Body: View: 848 Weight: 50 Locations: - Head_Mid: true Head_Low: true EquipLevelMin: 100 - Id: 420021 @@ -123641,7 +123777,6 @@ Body: View: 848 Weight: 50 Locations: - Head_Mid: true Head_Low: true EquipLevelMin: 100 - Id: 420022 @@ -123651,17 +123786,15 @@ Body: View: 848 Weight: 50 Locations: - Head_Mid: true Head_Low: true EquipLevelMin: 100 - Id: 420025 - AegisName: aegis_420025 + AegisName: C_OneEyedJack Name: Costume One Eyed Jack # !todo check english name Type: Armor View: 2023 Locations: - Head_Mid: true - Head_Low: true + Costume_Head_Low: true - Id: 420029 AegisName: C_Imperial_Glory Name: "Costume: Imperial Glory" @@ -123676,7 +123809,6 @@ Body: View: 1143 Weight: 10 Locations: - Head_Mid: true Head_Low: true Script: | bonus bLongAtkRate,5; @@ -123687,7 +123819,6 @@ Body: View: 1089 Weight: 10 Locations: - Head_Mid: true Head_Low: true Script: | bonus bShortAtkRate,5; @@ -123805,9 +123936,9 @@ Body: Type: Armor View: 1085 Locations: - Head_Top: true - Head_Mid: true - Head_Low: true + Costume_Head_Top: true + Costume_Head_Mid: true + Costume_Head_Low: true Trade: Override: 100 NoDrop: true @@ -123823,9 +123954,9 @@ Body: Type: Armor View: 1481 Locations: - Head_Top: true - Head_Mid: true - Head_Low: true + Costume_Head_Top: true + Costume_Head_Mid: true + Costume_Head_Low: true Trade: Override: 100 NoDrop: true @@ -128335,8 +128466,8 @@ Body: Name: Costume Heavenly Fallen Angel's Wings # !todo check english name Type: Armor Locations: - Garment: true - Refineable: true + Costume_Garment: true + View: 3 - Id: 480062 AegisName: E_Illusion_Engine_A Name: Illusion engine wing type A (attributable) # !todo check english name @@ -128637,6 +128768,21 @@ Body: bonus bAspdRate,7; bonus bVariableCastrate,-10; bonus bCritAtkRate,10; + - Id: 490022 + AegisName: TrustRing + Name: Thunder Ring + Type: Armor + Weight: 300 + Slots: 1 + Locations: + Both_Accessory: true + EquipLevelMin: 100 + Script: | + bonus2 bAddRace,RC_All,5; + bonus bMatkRate,5; + bonus2 bAddEle,Ele_Water,10; + bonus2 bMagicAddEle,Ele_Water,10; + bonus2 bSubEle,Ele_Water,5; - Id: 490020 AegisName: Grace_Magic_Ring Name: Grace Magic Ring diff --git a/sql-files/item_db_re_equip.sql b/sql-files/item_db_re_equip.sql index e114bc1d14..b4e9e57f80 100644 --- a/sql-files/item_db_re_equip.sql +++ b/sql-files/item_db_re_equip.sql @@ -51,6 +51,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_novice`,`job_supernovice`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`) VALUES (1147,'Town_Sword_','Town Sword','Weapon','1hSword',42000,800,100,1,2,true,true,true,3,30,true); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`range`,`slots`,`job_novice`,`job_supernovice`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (1148,'Star_Dust_Blade','Star Dust Blade','Weapon','1hSword',20,1000,140,1,1,true,true,true,4,45,true,'bonus2 bAddEff,Eff_Stun,500;\nbonus bUnbreakableWeapon;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`range`,`slots`,`job_crusader`,`job_knight`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`) VALUES (1149,'Flamberge_','Flamberge','Weapon','1hSword',60000,1500,150,1,2,true,true,true,3,27,true); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`weight`,`attack`,`range`,`slots`,`job_crusader`,`job_knight`,`job_swordman`,`location_left_hand`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (1150,'Libra_Krasnaya_J','Libra\'s Krasnaya','Weapon','2hSword',3500,10,1,1,true,true,true,true,true,4,1,true,'bonus bAspdRate,10;\nbonus bBaseAtk,70+BaseLevel;\nbonus bUnbreakableWeapon;\nif (BaseJob == Job_Rune_Knight) {\n bonus bDelayrate,-10;\n bonus2 bAddRace,RC_All,50;\n bonus bLongAtkRate,25;\n bonus2 bSubClass,Class_Boss,50;\n bonus2 bSkillUseSP,"LK_SPIRALPIERCE",15;\n .@r = getrefine();\n if (.@r>=7) {\n .@val = 50;\n if (.@r>=9)\n .@val += 50;\n bonus2 bIgnoreDefRaceRate,RC_All,.@val;\n }\n}'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`range`,`slots`,`job_crusader`,`job_knight`,`job_swordman`,`location_left_hand`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`) VALUES (1151,'Slayer','Slayer','Weapon','2hSword',15000,1300,90,1,2,true,true,true,true,true,2,18,true); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`range`,`slots`,`job_crusader`,`job_knight`,`job_swordman`,`location_left_hand`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`) VALUES (1152,'Slayer_','Slayer','Weapon','2hSword',15000,1300,90,1,3,true,true,true,true,true,2,18,true); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`range`,`job_crusader`,`job_knight`,`job_swordman`,`location_left_hand`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`) VALUES (1153,'Slayer__','Slayer','Weapon','2hSword',15000,1300,90,1,true,true,true,true,true,2,18,true); @@ -529,7 +530,7 @@ REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`we REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`attack`,`magic_attack`,`range`,`job_acolyte`,`job_monk`,`job_priest`,`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 (1653,'Staff_Of_Healing_C','Staff of Healing','Weapon','Staff',20,10,100,1,true,true,true,true,3,1,100,true,true,true,true,true,true,true,true,'bonus bAtkEle,Ele_Holy;\nbonus bHealPower,18;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`magic_attack`,`range`,`slots`,`job_sage`,`class_third`,`class_third_upper`,`class_third_baby`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`,`unequip_script`) VALUES (1654,'Mental_Stick','Mental Stick','Weapon','Staff',20,500,40,170,1,1,true,true,true,true,true,3,102,true,'.@r = getrefine();\nif (.@r>5) {\n bonus2 bSkillAtk,"SO_PSYCHIC_WAVE",(.@r-6)*2;\n bonus bMaxHPrate,-(.@r-6)*2;\n}\nbonus2 bSkillVariableCast,"SO_PSYCHIC_WAVE",-3000;\nbonus2 bSkillUseSP,"SO_PSYCHIC_WAVE",-60;','itemheal 0,-100;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`attack`,`range`,`job_mage`,`job_sage`,`job_soullinker`,`job_wizard`,`location_right_hand`,`weapon_level`,`equip_level_min`,`script`) VALUES (1655,'Adventure_Staff','Adventure Staff','Weapon','Staff',60,1,true,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_mage`,`job_sage`,`job_soullinker`,`job_wizard`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (1656,'Academy_Wand','Academy Wand','Weapon','Staff',600,60,1,1,true,true,true,true,true,1,1,true,'bonus bUnbreakableWeapon;'); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`weight`,`attack`,`range`,`slots`,`job_mage`,`job_sage`,`job_soullinker`,`job_wizard`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (1656,'Academy_Wand','Academy Wand','Weapon','Staff',600,60,1,1,true,true,true,true,true,1,30,true,'bonus bUnbreakableWeapon;\nbonus bMatkRate,15;\nbonus bInt,5-(BaseLevel/10);\nbonus bMaxSP,200-(40*(BaseLevel/10));'); 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 (1657,'Wand_Of_Affection','Wand Of Affection','Weapon','Staff',20,500,30,160,1,2,true,true,true,true,true,3,100,true,'bonus bInt,2;\nbonus bAtkEle,Ele_Holy;\nbonus bHealPower,10;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`attack`,`magic_attack`,`range`,`job_acolyte`,`job_mage`,`job_monk`,`job_priest`,`job_sage`,`job_soullinker`,`job_wizard`,`location_right_hand`,`weapon_level`,`equip_level_min`,`trade_override`,`trade_nodrop`,`trade_notrade`,`trade_nocart`,`trade_nostorage`,`trade_noguildstorage`,`trade_nomail`,`trade_noauction`,`script`) VALUES (1658,'P_Staff3','Eden Staff III','Weapon','Staff',60,170,1,true,true,true,true,true,true,true,true,3,60,100,true,true,true,true,true,true,true,'bonus bInt,4;'); 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 (1659,'Recovery_Light','Light of Recovery','Weapon','Staff',56000,400,30,160,1,1,true,true,true,true,true,4,110,true,'bonus bAtkEle,Ele_Holy;\nbonus bUnbreakableWeapon;\n.@r = getrefine();\nbonus bHealPower,(.@r*6);\nbonus2 bSkillUseSP,"AL_HEAL",-(.@r*10);\nbonus2 bSkillUseSP,"AB_CHEAL",-(.@r*12);\nbonus2 bSkillUseSP,"AB_HIGHNESSHEAL",-(.@r*14);'); @@ -545,6 +546,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_monk`,`job_priest`,`job_sage`,`job_wizard`,`class_third`,`class_third_upper`,`class_third_baby`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`,`unequip_script`) VALUES (1669,'Thanos_Staff','Thanos Staff','Weapon','Staff',10,1000,100,200,1,1,true,true,true,true,true,true,true,true,4,120,true,'bonus bInt,6;\nbonus bVit,6;\nbonus bLuk,-6;\nbonus bHealPower,15;\nautobonus "{ bonus2 bHPRegenRate,300,2000; bonus2 bSPRegenRate,50,2000; }",50,60000,BF_MAGIC,"{ specialeffect2 EF_HEALSP; }";\nbonus2 bHPLossRate,100,10000;','heal -1000,0;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`magic_attack`,`range`,`slots`,`job_acolyte`,`job_mage`,`job_monk`,`job_priest`,`job_sage`,`job_soullinker`,`job_wizard`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`trade_override`,`trade_nodrop`,`script`) VALUES (1670,'RWC_Memory_Staff','RWC Memory Staff','Weapon','Staff',20,500,25,30,1,1,true,true,true,true,true,true,true,true,3,1,true,100,true,'.@r = getrefine();\nbonus bMatk,30*(.@r/3);\nif (.@r>=6)\n bonus2 bMagicAddRace,RC_All,(.@r>=9?10:5);\nif (.@r>=9)\n bonus4 bAutoSpell,"HW_MAGICPOWER",1,5,0;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`weight`,`attack`,`magic_attack`,`slots`,`job_acolyte`,`job_mage`,`job_monk`,`job_novice`,`job_priest`,`job_sage`,`job_soullinker`,`job_supernovice`,`job_wizard`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (1671,'Staff_Of_Evil_Slayer','Evil Slayer Vanquisher Staff','Weapon','Staff',800,30,155,1,true,true,true,true,true,true,true,true,true,true,3,100,true,'bonus2 bAddRace,RC_Undead,10;\nbonus2 bAddRace,RC_Demon,10;\nbonus2 bMagicAddRace,RC_Undead,10;\nbonus2 bMagicAddRace,RC_Demon,10;\n.@r = getrefine();\nif (.@r>=9) {\n .@dmg = 5;\n if (.@r>=12) {\n .@dmg += 7;\n }\n bonus bMatkRate,.@dmg;\n}'); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`weight`,`attack`,`magic_attack`,`range`,`slots`,`job_acolyte`,`job_monk`,`job_priest`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (1672,'Safety_Rod','Safety Rod','Weapon','Staff',500,10,120,1,1,true,true,true,true,4,36,true,'bonus bInt,2;\nbonus3 bAutoSpellWhenHit,"AL_HEAL",max(1,getskilllv("AL_HEAL")),20;\nif (getrefine()>5)\n .@val += getrefine()-5;\nbonus2 bSubRace,RC_DemiHuman,5+.@val;\nbonus2 bSubRace,RC_Player_Human,5+.@val;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`attack`,`magic_attack`,`range`,`job_acolyte`,`job_mage`,`job_monk`,`job_priest`,`job_sage`,`job_soullinker`,`job_wizard`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (1673,'Half_BF_Staff4','Half BF Staff4','Weapon','Staff',20,70,125,1,true,true,true,true,true,true,true,true,3,80,true,'bonus bInt,3;\nbonus bDex,2;\nbonus bDelayrate,-10;\nbonus2 bSPLossRate,5,12000;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`attack`,`magic_attack`,`range`,`job_acolyte`,`job_mage`,`job_monk`,`job_priest`,`job_sage`,`job_soullinker`,`job_wizard`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (1674,'Half_BF_Staff2','Half BF Staff2','Weapon','Staff',20,70,125,1,true,true,true,true,true,true,true,true,3,80,true,'bonus bInt,3;\nbonus bDex,3;\nbonus2 bMagicAddRace,RC_DemiHuman,10;\nbonus2 bMagicAddRace,RC_Player_Human,10;\nbonus3 bAddEff,Eff_Stun,200,ATF_MAGIC;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`magic_attack`,`range`,`slots`,`job_acolyte`,`job_mage`,`job_monk`,`job_priest`,`job_sage`,`job_soullinker`,`job_wizard`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (1675,'Walking_Stick_','Gentleman\'s Staff','Weapon','Staff',20,500,40,125,1,3,true,true,true,true,true,true,true,true,4,50,true,'bonus bDex,1;'); @@ -560,6 +562,8 @@ 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_summoner`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (1685,'DragonFry_Foxtail','Dragonfly Sitting Foxtail Staff','Weapon','Staff',20,300,70,100,1,1,true,true,2,20,true,'bonus bInt,1;\nbonus bMaxHP,100;\nbonus bMaxSP,150;\nbonus bUnbreakableWeapon;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`range`,`slots`,`job_summoner`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (1686,'BigSize_Foxtail','Large Foxtail Staff','Weapon','Staff',20,300,70,1,1,true,true,2,20,true,'bonus bLongAtkRate,8;\nbonus bDex,1;\nbonus bMaxHP,200;\nbonus bMaxSP,100;\nbonus bUnbreakableWeapon;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`magic_attack`,`range`,`slots`,`job_summoner`,`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 (1687,'Beginner_FoxTail','Beginner Foxtail Staff','Weapon','Staff',20,100,40,15,1,1,true,true,1,3,true,100,true,true,true,true,true,true,'bonus bMaxHP,100;\nbonus bUnbreakableWeapon;'); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`weight`,`attack`,`magic_attack`,`range`,`slots`,`job_acolyte`,`job_mage`,`job_monk`,`job_novice`,`job_priest`,`job_sage`,`job_soullinker`,`job_supernovice`,`job_wizard`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (1688,'Staff_of_Trust','Thunder Wand','Weapon','Staff',1000,160,145,1,2,true,true,true,true,true,true,true,true,true,true,3,50,true,'.@r = getrefine();\nbonus bAtkEle,Ele_Wind;\nbonus bUnbreakableWeapon;\nif (.@r>=7) {\n .@val = 10;\n if (.@r>=9)\n .@val += 15;\n bonus2 bMagicAddEle,Ele_Water,.@val;\n bonus2 bMagicAddRace,RC_Fish,.@val;\n}'); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`attack`,`magic_attack`,`range`,`job_acolyte`,`job_mage`,`job_monk`,`job_novice`,`job_priest`,`job_sage`,`job_soullinker`,`job_supernovice`,`job_wizard`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (1689,'Staff_of_Trust2','[Rental] Hunting Wand','Weapon','Staff',160,145,1,true,true,true,true,true,true,true,true,true,true,3,50,true,'.@r = getrefine();\nbonus bAtkEle,Ele_Fire;\nif (.@r>=7) {\n bonus2 bMagicAddEle,Ele_Earth,10;\n bonus2 bMagicAddEle,Ele_Water,10;\n bonus2 bMagicAddRace,RC_DemiHuman,10;\n bonus2 bMagicAddRace,RC_Insect,10;\n}\nif (.@r>=9) {\n bonus2 bMagicAddEle,Ele_Earth,15;\n bonus2 bMagicAddEle,Ele_Water,15;\n bonus2 bMagicAddRace,RC_DemiHuman,15;\n bonus2 bMagicAddRace,RC_Insect,15;\n}'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`magic_attack`,`range`,`slots`,`job_summoner`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (1690,'Amazing_Foxtail','Mysterious Foxtail Staff','Weapon','Staff',10000,400,80,180,1,3,true,true,2,60,true,'.@r = getrefine();\nbonus bMaxSP,10*(.@r/3)+50;\nbonus bMatk,10*(.@r/3);\nbonus bUnbreakableWeapon;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`magic_attack`,`range`,`slots`,`job_summoner`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (1691,'Strange_Foxtail','Strange God Foxtail Staff','Weapon','Staff',50000,500,100,240,1,2,true,true,3,100,true,'bonus bMaxSP,100;\n.@r = getrefine();\nbonus bMatkRate,2*(.@r/3);\nbonus bMaxSPrate,.@r/3;\nif (.@r>=7) {\n .@r = min(.@r,10)-7;\n bonus bBaseAtk,(20*.@r)+40;\n bonus bMatk,(48*.@r)+96;\n}\nbonus bUnbreakableWeapon;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`magic_attack`,`range`,`slots`,`job_summoner`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (1692,'Magical_Foxtail','Magical Foxtail Staff','Weapon','Staff',100000,600,120,260,1,2,true,true,3,140,true,'bonus bMaxSP,100;\n.@r = getrefine();\nbonus bMatkRate,2*(.@r/2);\nbonus bMaxSPrate,.@r/2;\nif (.@r>=7) {\n .@r = min(.@r,10)-7;\n bonus bBaseAtk,(24*.@r)+48;\n bonus bMatk,(52*.@r)+104;\n}\nbonus bUnbreakableWeapon;'); @@ -635,7 +639,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`,`job_monk`,`job_priest`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (1814,'Berserk','Berserk','Weapon','Knuckle',20,500,120,1,true,true,true,4,36,true,'bonus bAspdRate,12;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`range`,`slots`,`job_monk`,`job_priest`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (1815,'Claw_Of_Garm','Hatii Claw','Weapon','Knuckle',20,550,152,1,1,true,true,true,4,70,true,'bonus bAtkEle,Ele_Dark;\nbonus bMaxHPrate,-2;\nbonus2 bAddEff,Eff_Bleeding,200;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`range`,`slots`,`job_monk`,`job_priest`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (1816,'Berserk_','Berserk','Weapon','Knuckle',20,500,120,1,1,true,true,true,4,36,true,'bonus bAspdRate,12;'); -REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`attack`,`range`,`job_monk`,`job_priest`,`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 (1817,'Kaiser_Knuckle_C','Kaiser Knuckle','Weapon','Knuckle',1,159,1,true,true,true,4,1,100,true,true,true,true,true,true,true,true,'bonus bAtkEle,Ele_Wind;\nbonus2 bAddRace,RC_Undead,5;\nbonus2 bAddEle,Ele_Water,10;\nbonus2 bAddEle,Ele_Earth,10;\nbonus2 bAddEle,Ele_Fire,10;\nbonus2 bAddEle,Ele_Wind,10;\nbonus bAspdRate,5;'); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`attack`,`range`,`job_monk`,`job_priest`,`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 (1817,'Kaiser_Knuckle_C','Kaiser Knuckle','Weapon','Knuckle',1,159,1,true,true,true,4,1,100,true,true,true,true,true,true,true,true,'bonus2 bAddRace,RC_Undead,5;\nbonus2 bAddEle,Ele_Water,10;\nbonus2 bAddEle,Ele_Earth,10;\nbonus2 bAddEle,Ele_Fire,10;\nbonus2 bAddEle,Ele_Wind,10;\nbonus bAspdRate,12;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`range`,`slots`,`job_monk`,`job_priest`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (1818,'Magma_Fist','Magma Fist','Weapon','Knuckle',20,650,80,1,3,true,true,true,3,75,true,'bonus3 bAutoSpell,"SA_FLAMELAUNCHER",5,10;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`range`,`slots`,`job_monk`,`job_priest`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (1819,'Icicle_Fist','Icicle Fist','Weapon','Knuckle',20,650,80,1,3,true,true,true,3,75,true,'bonus3 bAutoSpell,"SA_FROSTWEAPON",5,10;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`range`,`slots`,`job_monk`,`job_priest`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (1820,'Electric_Fist','Electric Fist','Weapon','Knuckle',20,650,80,1,3,true,true,true,3,75,true,'bonus3 bAutoSpell,"SA_LIGHTNINGLOADER",5,10;'); @@ -658,17 +662,17 @@ 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`,`slots`,`job_monk`,`job_priest`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (1837,'Iron_nail','Iron Nail','Weapon','Knuckle',10,1500,100,1,true,true,true,3,50,true,'bonus bUnbreakableWeapon;\nbonus bIgnoreDefClass,Class_Normal;\nbonus bIgnoreDefClass,Class_Boss;\n.@r = (getrefine()/2);\nbonus bAspdRate,-5+.@r;\nif (getskilllv("MO_CHAINCOMBO") == 5) {\n bonus bBaseAtk,20;\n}\nif (getskilllv("MO_COMBOFINISH") == 5) {\n bonus bBaseAtk,20;\n}\nif (getskilllv("CH_TIGERFIST") == 5) {\n bonus bBaseAtk,20;\n}\nif (getskilllv("CH_CHAINCRUSH") == 10) {\n bonus bBaseAtk,40;\n}'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`attack`,`range`,`job_monk`,`job_priest`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (1838,'Half_BF_Knuckle1','Half BF Knuckle1','Weapon','Knuckle',20,30,1,true,true,true,3,80,true,'bonus bStr,2;\nbonus bAgi,1;\nbonus2 bAddRace,RC_DemiHuman,30;\nbonus2 bAddRace,RC_Player_Human,30;\nbonus2 bIgnoreDefRaceRate,RC_DemiHuman,10;\nbonus2 bIgnoreDefRaceRate,RC_Player_Human,10;\nbonus4 bAutoSpell,"CH_SOULCOLLECT",1,5,0;\nbonus bUnbreakableWeapon;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`range`,`slots`,`job_monk`,`job_priest`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (1839,'Scarlet_Knuckle','Crimson Knuckles','Weapon','Knuckle',20,1000,100,1,2,true,true,true,3,70,true,'.@r = getrefine();\nbonus bBaseAtk,(((BaseLevel-70)/10)*5)+(.@r<=15?pow(.@r,2):225);\nbonus bUnbreakableWeapon;'); -REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`magic_attack`,`range`,`job_monk`,`job_priest`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (1840,'Requiem_Knuckle','Requiem Knuckle','Weapon','Knuckle',20,500,150,100,1,true,true,true,4,100,true,'.@r = getrefine();\n.@b = 40;\nif (.@r>=5) {\n .@b += (.@r-5)*15+20;\n}\nbonus2 bAddRace2,RC2_BioLab,.@b;'); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`magic_attack`,`range`,`job_monk`,`job_priest`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (1840,'Requiem_Knuckle','Requiem Knuckle','Weapon','Knuckle',20,500,150,100,1,true,true,true,4,100,true,'.@r = getrefine();\n.@b = 40;\nif (.@r>=5)\n .@b += (.@r-5)*15+20;\nbonus2 bAddRace2,RC2_BioLab,.@b;\nbonus bUnbreakableWeapon;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`range`,`slots`,`job_monk`,`job_priest`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (1841,'Claw_Of_Flash_','Claw of Flash','Weapon','Knuckle',60000,400,140,1,3,true,true,true,4,105,true,'bonus bAspd,1;\nbonus bAspdRate,getrefine();\nbonus2 bAddSize,Size_Medium,getrefine();'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`attack`,`range`,`slots`,`job_monk`,`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 (1845,'Probation_Knuckle','Trial Sura\'s Knuckle','Weapon','Knuckle',20,140,1,1,true,true,true,true,true,3,100,true,100,true,true,true,true,true,true,true,'bonus2 bSkillAtk,"SR_TIGERCANNON",20;\nbonus bBaseAtk,6*(min(BaseLevel,160)/10);\nif (getrefine()>=7) {\n bonus bBaseAtk,3*getskilllv("MO_TRIPLEATTACK");\n}'); 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 (1846,'Combo_Battle_Glove_IL','Illusion Combo Battle Glove','Weapon','Knuckle',500,250,1,2,true,true,true,true,true,4,120,true,'.@r = getrefine();\nbonus2 bSkillAtk,"SR_SKYNETBLOW",(10+5*(.@r/2));\nbonus2 bSkillAtk,"SR_DRAGONCOMBO",(10+5*(.@r/2));\nbonus2 bSkillAtk,"SR_TIGERCANNON",(5*(.@r/3));'); -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 (1847,'Iron_Nail_K','Iron Nail','Weapon','Knuckle',1000,180,1,2,true,true,true,true,true,4,100,true,'.@r = getrefine();\nif (.@r >= 2)\n bonus bBaseAtk,.@r/2;\nif (.@r >= 3)\n bonus bLongAtkRate,.@r/3*4;\nif (.@r >= 9)\n bonus2 bSkillAtk,"SR_RAMPAGEBLASTER",10;\nif (.@r >= 11)\n bonus2 bSkillCooldown,"SR_RAMPAGEBLASTER",-1000;'); +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 (1847,'Iron_Nail_K','Iron Nail','Weapon','Knuckle',1000,180,1,2,true,true,true,true,true,4,100,true,'.@r = getrefine();\nbonus bBaseAtk,.@r/2*10;\nbonus bLongAtkRate,.@r/3*4;\nif (.@r >= 9)\n bonus2 bSkillAtk,"SR_RAMPAGEBLASTER",10;\nif (.@r >= 11)\n bonus2 bSkillCooldown,"SR_RAMPAGEBLASTER",-1000;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`attack`,`range`,`slots`,`job_monk`,`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 (1848,'Rebeginer_SR_Nuckle','Beginner Sura\'s Knuckle','Weapon','Knuckle',150,1,1,true,true,true,true,true,3,100,true,100,true,true,true,true,true,true,true,'bonus bAspdRate,10;\nif (getrefine()>=7) {\n bonus2 bSkillAtk,"SR_TIGERCANNON",15;\n}'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`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 (1862,'Burning_Knuckle_OS','Burning Knuckle-OS','Weapon','Knuckle',20,900,175,1,2,true,true,true,true,true,4,130,true,'.@r = getrefine();\nbonus2 bAddClass,Class_All,3;\nif (.@r >= 7) {\n bonus bAspdRate,7;\n if (.@r >= 9) {\n bonus2 bSkillAtk,"SR_RAMPAGEBLASTER",15;\n if (.@r >= 11) {\n bonus2 bAddSize,Size_Medium,20;\n bonus2 bAddSize,Size_Large,20;\n }\n }\n}'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`attack`,`range`,`slots`,`job_monk`,`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 (1864,'Evt_Iron_Nail_K','Sealed Iron Nail','Weapon','Knuckle',180,1,2,true,true,true,true,true,4,99,true,100,true,true,true,true,true,true,true,'.@r = getrefine();\nbonus bBaseAtk,10*(.@r/2);\nbonus bLongAtkRate,4*(.@r/3);\nif (.@r>=7) {\n bonus2 bSkillAtk,"SR_RAMPAGEBLASTER",10;\n}\nif (.@r>=9) {\n bonus2 bSkillCooldown,"SR_RAMPAGEBLASTER",-1000;\n}'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`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 (1865,'Raging_Dragon_Fist','Raging Dragon Fist','Weapon','Knuckle',20,700,210,1,2,true,true,true,true,true,4,170,true,'.@r = getrefine();\nbonus bBaseAtk,4*.@r;\nbonus2 bSkillAtk,"MO_CHAINCOMBO",30;\nif (.@r >= 9) {\n bonus2 bSkillAtk,"MO_COMBOFINISH",50;\n bonus2 bSkillAtk,"CH_CHAINCRUSH",50;\n}\nif (.@r >= 11)\n bonus2 bSkillAtk,"CH_CHAINCRUSH",30;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`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 (1866,'Dedicated_Bandage','Dedicated Bandage','Weapon','Knuckle',20,800,220,1,2,true,true,true,true,true,4,170,true,'.@r = getrefine();\nbonus bBaseAtk,4*.@r;\nbonus bLongAtkRate,10;\nif (.@r >= 9)\n bonus2 bSkillAtk,"SR_KNUCKLEARROW",40;\nif (.@r >= 11)\n bonus bDelayrate,-7;'); -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 (1867,'Ein_1HKNUCK','Safety Knuckle','Weapon','Knuckle',1800,210,1,2,true,true,true,true,true,4,170,true,'.@r = getrefine();\nbonus2 bAddClass,Class_All,10;\nbonus2 bSkillAtk,"SR_KNUCKLEARROW",10;\nif (.@r>=7) {\n bonus bAspdRate,15;\n bonus bBaseAtk,40;\n}\nif (.@r>=9) {\n bonus2 bSkillAtk,"SR_KNUCKLEARROW",15;\n autobonus "{ bonus2 bAddSize,Size_All,15; }",1,10000,BF_WEAPON;\n}\nif (.@r>=11) {\n bonus bDelayrate,-20;\n}'); +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 (1867,'Ein_1HKNUCK','Safety Knuckle','Weapon','Knuckle',1800,210,1,2,true,true,true,true,true,4,170,true,'.@r = getrefine();\nbonus2 bAddClass,Class_All,10;\nbonus2 bSkillAtk,"SR_KNUCKLEARROW",10;\nif (.@r>=7) {\n bonus bAspdRate,15;\n bonus bBaseAtk,40;\n}\nif (.@r>=9) {\n bonus2 bSkillAtk,"SR_KNUCKLEARROW",15;\n autobonus "{ bonus2 bAddSize,Size_All,15; }",10,10000,BF_WEAPON;\n}\nif (.@r>=11) {\n bonus bDelayrate,-20;\n}'); 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 (1870,'R_Knuckle','Royal Knuckle','Weapon','Knuckle',1500,190,1,2,true,true,true,true,true,4,170,true,'.@r = getrefine();\nbonus bLongAtkRate,15;\nbonus bBaseAtk,4*.@r;\nif (.@r>=9) {\n bonus2 bSkillAtk,"SR_RAMPAGEBLASTER",20;\n}\nif (.@r>=11) {\n bonus2 bAddRace,RC_Undead,20;\n bonus2 bAddRace,RC_Angel,20;\n bonus2 bSkillCooldown,"SR_RAMPAGEBLASTER",-1000;\n}'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`magic_attack`,`range`,`slots`,`job_barddancer`,`gender`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (1900,'Sinister_Viollin','Violin of Vicious Mind','Weapon','Musical',20,1300,130,50,1,1,true,'Male',true,4,160,true,'bonus bBaseAtk,pow(min(getrefine(),15),2);\nbonus bMatk,pow(min(getrefine(),15),2)/2;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`range`,`slots`,`job_barddancer`,`gender`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`) VALUES (1901,'Violin','Violin','Weapon','Musical',4000,700,50,1,3,true,'Male',true,1,2,true); @@ -698,19 +702,19 @@ 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_barddancer`,`class_upper`,`class_third_upper`,`gender`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (1925,'Cello','Cello','Weapon','Musical',20,700,110,1,3,true,true,true,'Male',true,3,70,true,'bonus bAgi,2;\nbonus bDex,3;\nbonus2 bAddSkillBlow,"BA_MUSICALSTRIKE",2;\nbonus2 bAddSkillBlow,"CG_ARROWVULCAN",3;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`range`,`slots`,`job_barddancer`,`class_upper`,`class_third_upper`,`gender`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (1926,'Harp_Of_Nepenthes','Harp of Nepenthes','Weapon','Musical',20,1000,120,1,2,true,true,true,'Male',true,4,60,true,'bonus bInt,2;\nbonus3 bAddEffOnSkill,"BA_MUSICALSTRIKE",Eff_Stun,(getrefine()>=9?2000:1000);'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`attack`,`range`,`job_barddancer`,`gender`,`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 (1927,'Krieger_Instrument1','Glorious Guitar','Weapon','Musical',20,50,1,true,'Male',true,4,80,true,100,true,true,true,true,true,true,true,'bonus2 bAddRace,RC_DemiHuman,95;\nbonus2 bAddRace,RC_Player_Human,95;\nbonus2 bIgnoreDefRaceRate,RC_DemiHuman,20;\nbonus2 bIgnoreDefRaceRate,RC_Player_Human,20;\nbonus bUnbreakableWeapon;\n.@r = getrefine();\nif (.@r>5) {\n bonus2 bAddRace,RC_DemiHuman,pow(min(14,.@r)-4,2);\n bonus2 bAddRace,RC_Player_Human,pow(min(14,.@r)-4,2);\n bonus2 bIgnoreDefRaceRate,RC_DemiHuman,5;\n bonus2 bIgnoreDefRaceRate,RC_Player_Human,5;\n}\nif (.@r>8)\n bonus4 bAutoSpellOnSkill,"CG_ARROWVULCAN","CG_TAROTCARD",5,100;'); -REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`attack`,`range`,`job_barddancer`,`class_upper`,`class_third_upper`,`gender`,`location_right_hand`,`weapon_level`,`trade_override`,`trade_nodrop`,`trade_notrade`,`trade_nosell`,`trade_nocart`,`trade_nostorage`,`trade_noguildstorage`,`trade_nomail`,`trade_noauction`,`script`) VALUES (1928,'Berserk_Guitar_I','Spirited Guitar','Weapon','Musical',40,1,true,true,true,'Male',true,4,100,true,true,true,true,true,true,true,true,'bonus bAspdRate,100;\nbonus bHPrecovRate,-100;\nbonus2 bHPLossRate,50,5000;\nbonus bDex,-readparam(bDex);'); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`attack`,`range`,`job_barddancer`,`class_upper`,`class_third_upper`,`gender`,`location_right_hand`,`weapon_level`,`trade_override`,`trade_nodrop`,`trade_notrade`,`trade_nosell`,`trade_nocart`,`trade_nostorage`,`trade_noguildstorage`,`trade_nomail`,`trade_noauction`,`script`) VALUES (1928,'Berserk_Guitar_I','Spirited Guitar','Weapon','Musical',40,1,true,true,true,'Male',true,4,100,true,true,true,true,true,true,true,true,'bonus bAspdRate,100;\nbonus bHPrecovRate,-100;\nbonus2 bHPLossRate,25,5000;\nbonus bDex,-readparam(bDex);'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`attack`,`range`,`job_barddancer`,`gender`,`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 (1929,'Guitar_C','Guitar','Weapon','Musical',177,1,true,'Male',true,3,1,100,true,true,true,true,true,true,true,true,'bonus2 bAddSize,Size_All,40;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`magic_attack`,`range`,`slots`,`job_barddancer`,`class_third`,`class_third_upper`,`class_third_baby`,`gender`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (1930,'Green_Whistle','Green Whistle','Weapon','Musical',20,800,170,50,1,1,true,true,true,true,'Male',true,3,102,true,'.@r = getrefine();\nif (.@r>5) {\n bonus2 bSkillUseSP,"MI_RUSH_WINDMILL",(.@r-5)*4;\n bonus2 bSkillUseSP,"WM_LULLABY_DEEPSLEEP",(.@r-5)*4;\n}\nbonus2 bSkillVariableCast,"MI_RUSH_WINDMILL",-2000;\nbonus2 bSkillVariableCast,"WM_LULLABY_DEEPSLEEP",-2000;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`attack`,`range`,`job_barddancer`,`gender`,`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 (1931,'P_String_Inst1','Eden Guitar I','Weapon','Musical',125,1,true,'Male',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_barddancer`,`gender`,`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 (1932,'TE_Woe_Guitar','TE Woe Guitar','Weapon','Musical',100,1,true,'Male',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_Poison,1000;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`magic_attack`,`range`,`slots`,`job_barddancer`,`class_third`,`class_third_upper`,`class_third_baby`,`gender`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`,`unequip_script`) VALUES (1933,'Thanos_Violin','Thanos Violin','Weapon','Musical',10,2000,200,130,1,1,true,true,true,true,'Male',true,4,120,true,'bonus bInt,6;\nbonus bVit,6;\nbonus bLuk,-6;\nbonus2 bHPDrainRate,50,5;\nbonus2 bSPDrainRate,10,5;\nbonus bLongAtkRate,20;\nbonus2 bHPLossRate,100,10000;','heal -1000,0;'); -REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`magic_attack`,`range`,`slots`,`job_barddancer`,`class_third`,`class_third_upper`,`class_third_baby`,`gender`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (1934,'Contabass','Contrabass','Weapon','Musical',20,250,180,120,1,2,true,true,true,true,'Male',true,3,130,true,'bonus2 bSkillCooldown,"WM_RANDOMIZESPELL",-20;'); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`magic_attack`,`range`,`slots`,`job_barddancer`,`class_third`,`class_third_upper`,`class_third_baby`,`gender`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (1934,'Contabass','Contrabass','Weapon','Musical',20000,250,180,120,1,2,true,true,true,true,'Male',true,3,130,true,'bonus2 bSkillCooldown,"WM_RANDOMIZESPELL",-2000;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`range`,`slots`,`job_barddancer`,`class_third`,`class_third_upper`,`class_third_baby`,`gender`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (1935,'Ukulele_Of_Newoz','Oz\'s New Ukulele','Weapon','Musical',20,1000,160,1,2,true,true,true,true,'Male',true,4,130,true,'bonus2 bSkillUseSP,"MI_RUSH_WINDMILL",20;'); -REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`range`,`slots`,`job_barddancer`,`gender`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (1936,'Ru_Blue_Violin','Blue Violin','Weapon','Musical',10,1500,180,2,1,true,'Male',true,3,100,true,'bonus bDex,5;\nbonus bVit,5;'); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`weight`,`attack`,`range`,`slots`,`job_barddancer`,`gender`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (1936,'Ru_Blue_Violin','Blue Violin','Weapon','Musical',1500,200,2,1,true,'Male',true,3,100,true,'bonus bDex,5;\nbonus bVit,5;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`weight`,`attack`,`range`,`slots`,`job_barddancer`,`class_third`,`class_third_upper`,`class_third_baby`,`gender`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (1937,'Ru_Gold_Violin','Ru Gold Violin','Weapon','Musical',1500,180,1,2,true,true,true,true,'Male',true,3,120,true,'bonus bDex,8;\nbonus bVit,8;'); -REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`range`,`slots`,`job_barddancer`,`class_third`,`class_third_upper`,`class_third_baby`,`gender`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`trade_override`,`trade_nodrop`,`trade_notrade`,`trade_nocart`,`trade_noguildstorage`,`trade_nomail`,`trade_noauction`) VALUES (1938,'Infinity_Violin','Infinity Violin','Weapon','Musical',10,500,150,2,1,true,true,true,true,'Male',true,4,100,true,100,true,true,true,true,true,true); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`range`,`slots`,`job_barddancer`,`class_third`,`class_third_upper`,`class_third_baby`,`gender`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`trade_override`,`trade_nodrop`,`trade_notrade`,`trade_nocart`,`trade_noguildstorage`,`trade_nomail`,`trade_noauction`) VALUES (1938,'Infinity_Violin','Infinity Violin','Weapon','Musical',20,500,150,2,1,true,true,true,true,'Male',true,4,100,true,100,true,true,true,true,true,true); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`range`,`slots`,`job_barddancer`,`gender`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (1939,'Scarlet_Viollin','Crimson Violin','Weapon','Musical',20,800,80,2,2,true,'Male',true,3,70,true,'.@r = getrefine();\nbonus bBaseAtk,(((BaseLevel-70)/10)*5)+(.@r<=15?pow(.@r,2):225);'); -REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`weight`,`attack`,`range`,`slots`,`job_barddancer`,`class_third`,`class_third_upper`,`class_third_baby`,`gender`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (1940,'Trumpet_Shell','Trumpet Shell','Weapon','Musical',600,125,1,1,true,true,true,true,'Male',true,4,130,true,'.@r = getrefine();\nbonus bDex,.@r;\nbonus bInt,.@r;\n.@per = ((.@r > 9) ? 40 : ((.@r > 7) ? 20 : ((.@r > 5) ? 10 : 0)));\nbonus2 bSkillAtk,"WM_REVERBERATION",.@per;\nbonus2 bVariableCastrate,"WM_REVERBERATION",-.@per;'); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`weight`,`attack`,`range`,`slots`,`job_barddancer`,`class_third`,`class_third_upper`,`class_third_baby`,`gender`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (1940,'Trumpet_Shell','Trumpet Shell','Weapon','Musical',600,125,1,1,true,true,true,true,'Male',true,4,130,true,'.@r = getrefine();\nbonus bDex,.@r;\nbonus bInt,.@r;\n.@per = ((.@r >= 9) ? 40 : ((.@r >= 7) ? 20 : ((.@r >= 5) ? 10 : 0)));\nbonus2 bSkillAtk,"WM_REVERBERATION",.@per;\nbonus2 bVariableCastrate,"WM_REVERBERATION",-.@per;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`range`,`slots`,`job_barddancer`,`gender`,`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 (1941,'Unity_Violin','Unity Violin','Weapon','Musical',20,400,76,2,1,true,'Male',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`,`price_buy`,`weight`,`attack`,`magic_attack`,`range`,`job_barddancer`,`gender`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (1942,'Requiem_Violin','Requiem Violin','Weapon','Musical',20,500,160,120,1,true,'Male',true,4,100,true,'.@r = getrefine();\n.@b = 40;\nbonus bUnbreakableWeapon;\nif (.@r>=5) {\n .@b += (.@r-5)*15+20;\n}\nif (.@r>=7)\n bonus2 bSkillAtk,"CG_ARROWVULCAN",200;\nbonus2 bAddRace2,RC2_BioLab,.@b;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`weight`,`attack`,`range`,`slots`,`job_barddancer`,`class_third`,`class_third_upper`,`class_third_baby`,`gender`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (1944,'Hippie_Guitar','Hippie Guitar','Weapon','Musical',1000,140,2,2,true,true,true,true,'Male',true,3,100,true,'.@r = getrefine();\n.@lvl = getskilllv("BA_MUSICALLESSON");\nbonus bAspdRate,.@lvl;\nif (.@r>=7)\n bonus bBaseAtk,(5*.@lvl);\nif (.@r>=9)\n bonus bAspd,1;'); @@ -1220,7 +1224,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_novice`,`job_supernovice`,`location_garment`,`equip_level_min`,`refineable`,`script`) VALUES (2521,'Angel\'s_Warmth','Angelic Cardigan','Armor',10000,400,6,1,true,true,true,20,true,'bonus bHPrecovRate,5;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`defense`,`location_garment`,`refineable`,`script`) VALUES (2522,'Undershirt','Undershirt','Armor',20000,150,5,true,true,'bonus bMdef,1;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`defense`,`slots`,`location_garment`,`refineable`,`script`) VALUES (2523,'Undershirt_','Undershirt','Armor',20000,150,5,1,true,true,'bonus bMdef,1;'); -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`,`refineable`,`script`) VALUES (2524,'Valkyrie_Manteau','Valkyrian Manteau','Armor',500,10,1,true,false,false,true,true,true,true,'bonus bUnbreakableGarment;\nif (BaseClass == Job_Mage || BaseClass == Job_Archer || BaseClass == Job_Acolyte)\n bonus bFlee2,5+(getequiprefinerycnt(EQI_GARMENT)*2);\nelse if (BaseClass == Job_Swordman || BaseClass == Job_Merchant || BaseClass == Job_Thief)\n bonus bShortWeaponDamageReturn,5+(getequiprefinerycnt(EQI_GARMENT)*2);'); +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`,`refineable`,`script`) VALUES (2524,'Valkyrie_Manteau','Valkyrian Manteau','Armor',500,10,1,true,false,false,true,true,true,true,'bonus bUnbreakableGarment;\n.@r = getrefine();\nif (BaseClass == Job_Mage || BaseClass == Job_Archer || BaseClass == Job_Acolyte)\n bonus bFlee2,5+(min(.@r,10)*2);\nelse if (BaseClass == Job_Swordman || BaseClass == Job_Merchant || BaseClass == Job_Thief)\n bonus bShortWeaponDamageReturn,5+(min(.@r,10)*2);'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`defense`,`slots`,`job_all`,`job_novice`,`job_supernovice`,`location_garment`,`equip_level_min`,`refineable`,`script`) VALUES (2525,'Cape_Of_Ancient_Lord_','Ancient Cape','Armor',82000,600,9,1,true,false,false,true,40,true,'bonus bAgi,1;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`defense`,`location_garment`,`equip_level_min`,`refineable`,`script`) VALUES (2526,'Dragon_Scale_Coat','Coat of Dragon Scale','Armor',20,10,14,true,50,true,'bonus bMaxHP,300;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`defense`,`slots`,`job_all`,`job_novice`,`job_supernovice`,`class_upper`,`class_third_upper`,`location_garment`,`equip_level_min`,`refineable`,`script`) VALUES (2527,'Dragon_Breath','Dragon Breath','Armor',20,600,16,1,true,false,false,true,true,true,48,true,'bonus2 bSubRace,RC_Dragon,15;'); @@ -2561,7 +2565,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`,`weight`,`defense`,`slots`,`job_blacksmith`,`class_third`,`class_third_upper`,`class_third_baby`,`location_head_top`,`equip_level_min`,`refineable`,`view`,`trade_override`,`trade_nodrop`,`trade_notrade`,`trade_nocart`,`trade_noguildstorage`,`trade_nomail`,`trade_noauction`,`script`) VALUES (5907,'Sea_Captain_Hat_','Sea Captain Hat','Armor',200,20,1,true,true,true,true,true,100,true,1128,100,true,true,true,true,true,true,'bonus2 bSkillAtk,"NC_AXEBOOMERANG",20;\n.@dmg = 20;\n.@r = getrefine();\nif (.@r>=7) {\n .@dmg += getskilllv("BS_WEAPONRESEARCH");\n}\nif (.@r>=9) {\n .@dmg += getskilllv("NC_TRAININGAXE");\n}\nbonus2 bSkillAtk,"NC_AXETORNADO",.@dmg;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_head_top`,`equip_level_min`,`view`) VALUES (5909,'C_Valkyrie_Circlet','C Valkyrie Circlet','Armor',true,1,940); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_head_Low`,`equip_level_min`,`view`,`script`,`unequip_script`) VALUES (5914,'Earmuff_Flowerform','C Flutter Butterfly','Armor',true,1,1378,'hateffect HAT_EF_FLUTTER_BUTTERFLY,true;','hateffect HAT_EF_FLUTTER_BUTTERFLY,false;'); -REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`defense`,`slots`,`location_head_top`,`refineable`,`view`) VALUES (5915,'Roundly_Woolly_Hat','Costume Angel Veil','Armor',20,300,10,1,true,true,1168); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`defense`,`slots`,`location_costume_head_top`,`refineable`,`view`) VALUES (5915,'Roundly_Woolly_Hat','Costume Angel Veil','Armor',20,300,10,1,true,true,1168); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`defense`,`location_head_mid`,`equip_level_min`,`view`,`script`) VALUES (5916,'Exosrcist_Glass','Exorcist Glasses','Armor',200,1,true,10,1169,'bonus2 bAddRace,RC_Demon,5;\nbonus2 bSubRace,RC_Demon,5;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`location_head_low`,`equip_level_min`,`view`,`script`) VALUES (5917,'Yellow_Scarf','Yellow Scarf','Armor',100,true,90,1170,'bonus bLongAtkDef,3;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`location_head_mid`,`equip_level_min`,`view`,`script`) VALUES (5918,'Gambler_Seal','Gambler Seal','Armor',500,true,70,1202,'.@dex = readparam(bDex);\n.@luk = readparam(bLuk);\n.@critical = 3 + (.@luk / 10);\n.@critical_dmg = 3 - (.@dex/10) * 2;\n.@sub_arrowstorm = 10;\n.@sub_gateofhell = 10;\nbonus bBaseAtk,(.@luk/10)*2;\nbonus bMatk,(.@luk / 10) * 2;\nif (.@luk > 107) {\n .@critical += 5;\n .@critical_dmg += 10;\n}\nif (.@luk > 119) {\n .@critical += 10;\n .@critical_dmg += 17;\n .@sub_arrowstorm += 30;\n .@sub_gateofhell += 30;\n}\nbonus bCritical,.@critical;\nbonus bCritAtkRate,.@critical_dmg;\nbonus2 bSubSkill,"RA_ARROWSTORM",.@sub_arrowstorm;\nbonus2 bSubSkill,"SR_GATEOFHELL",.@sub_gateofhell;'); @@ -3336,8 +3340,8 @@ REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`we 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 (18178,'Virtual_Bow_OS','Virtual Bow-OS','Weapon','Bow',20,1200,200,5,2,true,true,true,true,true,true,4,130,true,'.@r = getrefine();\nbonus2 bAddClass,Class_All,3;\nif (.@r >= 7) {\n bonus bLongAtkRate,7;\n if (.@r >= 9) {\n .@dmg = 30;\n if (.@r >= 11) {\n .@dmg += 20;\n }\n bonus2 bSkillAtk,"RA_ARROWSTORM",.@dmg;\n }\n}'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`range`,`slots`,`job_barddancer`,`class_third`,`class_third_upper`,`class_third_baby`,`location_left_hand`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (18179,'MH_P89_OS','MH-P89-OS','Weapon','Bow',20,1200,170,5,2,true,true,true,true,true,true,4,130,true,'.@r = getrefine();\nbonus2 bAddClass,Class_All,3;\nif (.@r >= 7) {\n bonus bLongAtkRate,7;\n if (.@r >= 9) {\n bonus2 bSkillCooldown,"WM_SEVERE_RAINSTORM",-2000;\n if (.@r >= 11) {\n bonus2 bSkillAtk,"WM_SEVERE_RAINSTORM",15;\n }\n }\n}'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`magic_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 (18180,'AC_B44_OS','AC-B44-OS','Weapon','Bow',20,600,190,135,5,2,true,true,true,true,true,true,4,130,true,'.@r = getrefine();\n.@dmg = 5;\nif (.@r >= 7) {\n bonus bAspdRate,7;\n if (.@r >= 9) {\n bonus2 bSkillAtk,"SC_TRIANGLESHOT",15;\n if (.@r >= 11) {\n .@dmg += 10;\n }\n }\n}\nbonus2 bWeaponDamageRate,W_BOW,.@dmg;'); -REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`attack`,`range`,`slots`,`job_hunter`,`job_rogue`,`class_third`,`class_third_upper`,`class_third_baby`,`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`,`script`) VALUES (18182,'Evt_Royal_Bow_K','Sealed Royal Bow','Weapon','Bow',180,5,2,true,true,true,true,true,true,true,4,99,100,true,true,true,true,true,true,true,'.@r = getrefine();\nbonus bBaseAtk,10*(.@r/2);\nbonus2 bSkillAtk,"RA_ARROWSTORM",12*(.@r/3);\nif (.@r>=7) {\n bonus bAspdRate,10;\n}\nif (.@r>=9) {\n bonus bLongAtkRate,5;\n}'); -REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`attack`,`range`,`slots`,`job_barddancer`,`job_hunter`,`job_rogue`,`class_third`,`class_third_upper`,`class_third_baby`,`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`,`script`) VALUES (18183,'Evt_Narcis_Bow','Sealed Narcissus Bow','Weapon','Bow',180,5,2,true,true,true,true,true,true,true,true,4,99,100,true,true,true,true,true,true,true,'.@r = getrefine();\nbonus bBaseAtk,10*(.@r/2);\nbonus bLongAtkRate,4*(.@r/3);\nif (.@r>=7) {\n bonus2 bSkillAtk,"WM_SEVERE_RAINSTORM",10;\n}\nif (.@r>=9) {\n bonus2 bSkillCooldown,"WM_SEVERE_RAINSTORM",-2000;\n}'); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`attack`,`range`,`slots`,`job_hunter`,`job_rogue`,`class_third`,`class_third_upper`,`class_third_baby`,`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 (18182,'Evt_Royal_Bow_K','Sealed Royal Bow','Weapon','Bow',180,5,2,true,true,true,true,true,true,true,4,99,true,100,true,true,true,true,true,true,true,'.@r = getrefine();\nbonus bBaseAtk,10*(.@r/2);\nbonus2 bSkillAtk,"RA_ARROWSTORM",12*(.@r/3);\nif (.@r>=7) {\n bonus bAspdRate,10;\n}\nif (.@r>=9) {\n bonus bLongAtkRate,5;\n}'); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`attack`,`range`,`slots`,`job_barddancer`,`job_hunter`,`job_rogue`,`class_third`,`class_third_upper`,`class_third_baby`,`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 (18183,'Evt_Narcis_Bow','Sealed Narcissus Bow','Weapon','Bow',180,5,2,true,true,true,true,true,true,true,true,4,99,true,100,true,true,true,true,true,true,true,'.@r = getrefine();\nbonus bBaseAtk,10*(.@r/2);\nbonus bLongAtkRate,4*(.@r/3);\nif (.@r>=7) {\n bonus2 bSkillAtk,"WM_SEVERE_RAINSTORM",10;\n}\nif (.@r>=9) {\n bonus2 bSkillCooldown,"WM_SEVERE_RAINSTORM",-2000;\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 (18184,'Rapid_Fire','Rapid Fire','Weapon','Bow',20,1500,185,5,2,true,true,true,true,true,true,4,170,true,'.@r = getrefine();\nbonus bLongAtkRate,10;\nbonus bBaseAtk,4*.@r;\nif (.@r>=11)\n .@val = 35;\nelse if (.@r>=9)\n .@val = 20;\nbonus2 bSkillAtk,"SC_TRIANGLESHOT",.@val;'); 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 (18185,'Sharp_Star_Bow','Sharp Star Bow','Weapon','Bow',20,1500,150,5,2,true,true,true,true,true,true,4,170,true,'.@r = getrefine();\nbonus bCritical,5;\nbonus bCritAtkRate,.@r;\nif (.@r>=9)\n bonus bLongAtkRate,7;\nif (.@r>=11)\n bonus2 bSkillAtk,"SN_SHARPSHOOTING",10;'); 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 (18186,'Aiming_Bow','Aiming Bow','Weapon','Bow',20,1000,210,5,2,true,true,true,true,true,true,4,170,true,'.@r = getrefine();\nbonus bDelayrate,-1*(5+.@r);\nif (.@r>=9)\n bonus2 bSkillAtk,"RA_AIMEDBOLT",30;\nif (.@r>=11) {\n bonus2 bSkillAtk,"RA_AIMEDBOLT",15;\n bonus2 bSkillCooldown,"RA_AIMEDBOLT",-1000;\n}'); @@ -4149,7 +4153,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`,`location_costume_head_top`,`view`) VALUES (19704,'C_Afro_Wig_Red','Costume Red Afro Wig','Armor',true,970); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`location_costume_head_top`,`equip_level_min`,`view`) VALUES (19706,'C_Red_Dress_Hat','Costume Red Dress Hat','Armor',10,true,1,670); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`location_costume_head_top`,`view`,`script`) VALUES (19707,'C_Polar_Bear_Cap','Costume Polar Bear Cap','Armor',20,true,966,'bonus bUnbreakableHelm;'); -REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`location_head_top`,`equip_level_min`,`view`) VALUES (19708,'C_White_Snake_Hat','Costume White Snake Hat','Armor',10,true,1,413); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`location_costume_head_top`,`equip_level_min`,`view`) VALUES (19708,'C_White_Snake_Hat','Costume White Snake Hat','Armor',10,true,1,413); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`location_costume_head_top`,`equip_level_min`,`view`) VALUES (19709,'C_Yellow_Ribbon','Costume Yellow Ribbon','Armor',10,true,1,310); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`location_costume_head_top`,`location_costume_head_Mid`,`equip_level_min`,`view`,`trade_override`,`trade_nodrop`) VALUES (19710,'C_Wings_Of_Victory','Costume Wings Of Victory','Armor',10,true,true,1,365,100,true); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`location_costume_head_top`,`equip_level_min`,`view`) VALUES (19712,'C_Little_Angel_Doll','Costume Little Angel Doll','Armor',10,true,1,344); @@ -5066,7 +5070,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_knight`,`class_third`,`class_third_upper`,`class_third_baby`,`location_left_hand`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (21052,'Vernan','Vernan','Weapon','2hSword',20,6500,300,1,2,true,true,true,true,true,true,4,170,true,'.@r = getrefine();\nbonus bLongAtkRate,.@r;\nbonus2 bAddClass,Class_All,5;\nif (.@r>=9) {\n bonus2 bSkillAtk,"LK_SPIRALPIERCE",30;\n bonus2 bSkillAtk,"RK_SONICWAVE",30;\n}\nif (.@r>=11) {\n bonus2 bSkillCooldown,"RK_SONICWAVE",-1500;\n}'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`weight`,`attack`,`range`,`slots`,`job_knight`,`class_third`,`class_third_upper`,`class_third_baby`,`location_left_hand`,`location_right_hand`,`weapon_level`,`equip_level_min`,`script`) VALUES (21054,'Ein_BHSWORD','Claw Sword','Weapon','2hSword',3500,300,1,2,true,true,true,true,true,true,4,170,'.@r = getrefine();\nbonus bCritical,5;\nbonus2 bAddClass,Class_All,15;\nif (.@r>=7) {\n bonus bCritAtkRate,25;\n bonus bAspdRate,10;\n}\nif (.@r>=9) {\n autobonus "{ bonus2 bAddSize,Size_All,20; }",1,5000,BF_WEAPON;\n}\nif (.@r>=11) {\n bonus bDelayrate,-20;\n bonus bCritical,7;\n}'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`weight`,`attack`,`range`,`slots`,`job_knight`,`class_third`,`class_third_upper`,`class_third_baby`,`location_left_hand`,`location_right_hand`,`weapon_level`,`equip_level_min`,`script`) VALUES (21055,'G_Knight_Sword','Guardian Knight Claymore','Weapon','2hSword',4000,280,1,2,true,true,true,true,true,true,4,170,'.@r = getrefine();\nbonus2 bAddClass,Class_All,5;\nbonus bBaseAtk,4*.@r;\nif (.@r>=9) {\n bonus bCritAtkRate,25;\n bonus bCritical,5;\n}\nif (.@r>=11) {\n bonus2 bAddRace,RC_Undead,20;\n bonus2 bAddRace,RC_Angel,20;\n bonus bUnbreakableWeapon;\n}'); -REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`weight`,`attack`,`range`,`slots`,`job_knight`,`class_third`,`class_third_upper`,`class_third_baby`,`location_left_hand`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (21058,'Up_Dragonic_Slayer','Patent Dragonic Slayer','Weapon','1hSword',2000,200,1,2,true,true,true,true,true,true,4,150,true,'.@r = getrefine();\nbonus bMaxHPrate,.@r/2*5;\nbonus bMaxSPrate,.@r/2*5;\nbonus2 bSkillAtk,"RK_DRAGONBREATH",.@r/3*5;\nbonus2 bSkillAtk,"RK_DRAGONBREATH_WATER",.@r/3*5;\nif (.@r>=7) {\n bonus bDelayrate,-10;\n bonus bVariableCastrate,-10;\n}\nif (.@r>=9) {\n bonus bLongAtkRate,10;\n}\nif (.@r>=11) {\n bonus bDelayrate,-7;\n bonus bMaxSPrate,5;\n}'); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`weight`,`attack`,`range`,`slots`,`job_knight`,`class_third`,`class_third_upper`,`class_third_baby`,`location_left_hand`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (21058,'Up_Dragonic_Slayer','Patent Dragonic Slayer','Weapon','2hSword',2000,200,1,2,true,true,true,true,true,true,4,150,true,'.@r = getrefine();\nbonus bMaxHPrate,.@r/2*5;\nbonus bMaxSPrate,.@r/2*5;\nbonus2 bSkillAtk,"RK_DRAGONBREATH",.@r/3*5;\nbonus2 bSkillAtk,"RK_DRAGONBREATH_WATER",.@r/3*5;\nif (.@r>=7) {\n bonus bDelayrate,-10;\n bonus bVariableCastrate,-10;\n}\nif (.@r>=9) {\n bonus bLongAtkRate,10;\n}\nif (.@r>=11) {\n bonus bDelayrate,-7;\n bonus bMaxSPrate,5;\n}'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`location_costume_head_Mid`,`location_costume_head_Low`,`view`) VALUES (21202,'C_Eat_Coin','Costume Eatcoin Helm','Armor',100,true,true,1869); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`location_head_mid`,`location_head_low`,`view`) VALUES (21205,'aegis_21205','Nut Cracker','Armor',100,true,true,1991); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_head_Mid`,`location_costume_head_Low`,`view`) VALUES (21206,'aegis_21206','Costume Nutcracker','Armor',true,true,1991); @@ -6813,7 +6817,7 @@ REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_cos REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_head_Mid`,`equip_level_min`,`view`) VALUES (31718,'Costume_Sky_Lantern_Mid','C Blessing Sky Lantern Mid','Armor',true,1,1720); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_head_Low`,`equip_level_min`,`view`) VALUES (31719,'Costume_Master_Of_Flames','C Master Of Flames','Armor',true,1,1890); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_head_top`,`equip_level_min`,`view`) VALUES (31720,'Costume_Vesper_Hat','C Vesper Hat','Armor',true,1,1827); -REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_head_top`,`equip_level_min`,`view`) VALUES (31721,'Costume_Resonating_Drums','C Resonating Drums','Armor',true,1,1823); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_head_top`,`equip_level_min`,`view`,`script`,`unequip_script`) VALUES (31721,'C_ResonateTaego','C Resonating Drums','Armor',true,1,1823,'hateffect(HAT_EF_RESONATETAEGO,true);','hateffect(HAT_EF_RESONATETAEGO,false);'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_head_top`,`equip_level_min`,`view`) VALUES (31723,'Costume_TW_Rice_Ball','C Tw Rice Ball','Armor',true,1,892); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_head_top`,`equip_level_min`,`view`) VALUES (31724,'Costume_TW_Bulgogi','C Tw Bulgogi','Armor',true,1,1773); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_head_top`,`view`) VALUES (31728,'C_Nobility_Hat','Costume Ribbon Straw Hat','Armor',true,1181); @@ -7029,7 +7033,7 @@ REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_cos REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_head_top`,`refineable`,`view`,`trade_override`,`trade_nodrop`,`trade_notrade`,`trade_nosell`,`trade_nocart`,`trade_nostorage`,`trade_noguildstorage`,`trade_nomail`,`trade_noauction`) VALUES (400127,'Ep18_Mini_Elly','Mini Elly','Armor',true,true,2077,100,True,True,True,True,True,True,True,True); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_head_top`,`view`) VALUES (400128,'aegis_400128','Costume Dropping Elly','Armor',true,2077); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`defense`,`slots`,`location_head_top`,`equip_level_min`,`refineable`,`view`,`script`) VALUES (400134,'Thanos_Helm_1','Thanos Warrior Helmet','Armor',100,10,1,true,190,true,511,'.@r = getrefine();\nbonus2 bAddClass,Class_All,4*(.@r/3);\nif (.@r>=7) {\n bonus bAspdRate,10;\n if (.@r>=9) {\n bonus bShortAtkRate,10;\n if (.@r>=11) {\n bonus2 bAddEle,Ele_All,15;\n }\n }\n}'); -REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_head_top`,`location_head_low`,`view`) VALUES (410005,'C_Magic_Heir_TW','Costume Magic Heir','Armor',true,true,1996); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_head_Mid`,`view`) VALUES (410005,'C_Magic_Heir_TW','Costume Magic Heir','Armor',true,1996); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`slots`,`location_head_mid`,`view`,`script`) VALUES (410013,'EXP_Processor_','EXP Advisor','Armor',1,true,1266,'bonus2 bExpAddRace,RC_All,1;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_head_top`,`location_head_low`,`view`,`script`) VALUES (410016,'aegis_410016','Battle Processor','Armor',true,true,1552,'bonus bMatk,20;\nbonus bBaseAtk,20;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`slots`,`location_head_top`,`location_head_low`,`view`,`script`) VALUES (410017,'Battle_Processor_','Battle Processor','Armor',1,true,true,1552,'bonus bMatk,10;\nbonus bBaseAtk,10;'); @@ -7037,18 +7041,18 @@ REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`slots`,`loca REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`slots`,`location_head_top`,`location_head_low`,`equip_level_min`,`view`,`trade_override`,`trade_nodrop`,`trade_notrade`,`trade_nocart`,`trade_nostorage`,`trade_noguildstorage`,`trade_nomail`,`trade_noauction`,`script`) VALUES (410019,'Booster_Mask_B','Booster Mask B-type','Armor',1,true,true,130,917,100,true,true,true,true,true,true,true,'bonus bVariableCastrate,-8;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`slots`,`location_head_top`,`location_head_low`,`equip_level_min`,`view`,`trade_override`,`trade_nodrop`,`trade_notrade`,`trade_nocart`,`trade_nostorage`,`trade_noguildstorage`,`trade_nomail`,`trade_noauction`,`script`) VALUES (410020,'Booster_Mask_C','Booster Mask C-type','Armor',1,true,true,130,906,100,true,true,true,true,true,true,true,'bonus bAspdRate,8;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_head_Mid`,`view`) VALUES (410029,'C_Wonder_Egg_Basket','Costume Wonder Egg Basket','Armor',true,2055); -REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`location_head_mid`,`location_head_low`,`equip_level_min`,`view`,`script`) VALUES (420003,'aegis_420003','CD in Mouth','Armor',200,true,true,10,815,'bonus2 bMagicAtkEle,Ele_All,5;\nbonus5 bAutoSpell,"MG_SOULSTRIKE",10,100,BF_SHORT|BF_WEAPON,1;'); -REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_head_mid`,`location_head_low`,`view`) VALUES (420010,'C_Cons_Of_Darkness','Costume Dark Master','Armor',true,true,2020); -REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`location_head_mid`,`location_head_low`,`equip_level_min`,`view`) VALUES (420017,'aegis_420017','Young leaves of the world tree (power)','Armor',50,true,true,100,848); -REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`location_head_mid`,`location_head_low`,`equip_level_min`,`view`) VALUES (420018,'aegis_420018','Young Leaf of the World Tree (Handicraft)','Armor',50,true,true,100,848); -REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`location_head_mid`,`location_head_low`,`equip_level_min`,`view`) VALUES (420019,'aegis_420019','Young Leaf of the World Tree (Agility)','Armor',50,true,true,100,848); -REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`location_head_mid`,`location_head_low`,`equip_level_min`,`view`) VALUES (420020,'aegis_420020','Young leaves of the world tree (luck)','Armor',50,true,true,100,848); -REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`location_head_mid`,`location_head_low`,`equip_level_min`,`view`) VALUES (420021,'aegis_420021','Young leaves of the world tree (health)','Armor',50,true,true,100,848); -REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`location_head_mid`,`location_head_low`,`equip_level_min`,`view`) VALUES (420022,'aegis_420022','Young leaves of the world tree (intelligence)','Armor',50,true,true,100,848); -REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_head_mid`,`location_head_low`,`view`) VALUES (420025,'aegis_420025','Costume One Eyed Jack','Armor',true,true,2023); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`location_head_mid`,`location_head_low`,`equip_level_min`,`view`,`script`) VALUES (420003,'CD_In_MouthK','CD in Mouth','Armor',200,true,true,10,815,'bonus2 bMagicAtkEle,Ele_All,5;\nbonus5 bAutoSpell,"MG_SOULSTRIKE",10,100,BF_SHORT|BF_WEAPON,1;'); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_head_Low`,`view`) VALUES (420010,'C_Cons_Of_Darkness','Costume Dark Master','Armor',true,2020); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`location_head_low`,`equip_level_min`,`view`) VALUES (420017,'aegis_420017','Young leaves of the world tree (power)','Armor',50,true,100,848); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`location_head_low`,`equip_level_min`,`view`) VALUES (420018,'aegis_420018','Young Leaf of the World Tree (Handicraft)','Armor',50,true,100,848); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`location_head_low`,`equip_level_min`,`view`) VALUES (420019,'aegis_420019','Young Leaf of the World Tree (Agility)','Armor',50,true,100,848); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`location_head_low`,`equip_level_min`,`view`) VALUES (420020,'aegis_420020','Young leaves of the world tree (luck)','Armor',50,true,100,848); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`location_head_low`,`equip_level_min`,`view`) VALUES (420021,'aegis_420021','Young leaves of the world tree (health)','Armor',50,true,100,848); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`location_head_low`,`equip_level_min`,`view`) VALUES (420022,'aegis_420022','Young leaves of the world tree (intelligence)','Armor',50,true,100,848); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_head_Low`,`view`) VALUES (420025,'C_OneEyedJack','Costume One Eyed Jack','Armor',true,2023); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_head_Low`,`view`) VALUES (420029,'C_Imperial_Glory','Costume: Imperial Glory','Armor',true,2056); -REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`location_head_mid`,`location_head_low`,`view`,`script`) VALUES (420030,'aegis_420030','A feather in the mouth','Armor',10,true,true,1143,'bonus bLongAtkRate,5;'); -REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`location_head_mid`,`location_head_low`,`view`,`script`) VALUES (420031,'aegis_420031','Ninja\'s Blue Mask','Armor',10,true,true,1089,'bonus bShortAtkRate,5;'); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`location_head_low`,`view`,`script`) VALUES (420030,'aegis_420030','A feather in the mouth','Armor',10,true,1143,'bonus bLongAtkRate,5;'); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`location_head_low`,`view`,`script`) VALUES (420031,'aegis_420031','Ninja\'s Blue Mask','Armor',10,true,1089,'bonus bShortAtkRate,5;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`location_head_top`,`location_head_mid`,`equip_level_min`,`view`,`script`) VALUES (436000,'aegis_436000','Thanatos\'s Maeror Mask','Armor',100,true,true,99,666,'bonus2 bMagicAddRace,RC_Player_Human,10;\nbonus2 bMagicAddRace,RC_Player_Doram,10;\nbonus bMatkRate,3;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`location_head_top`,`location_head_mid`,`equip_level_min`,`view`,`script`) VALUES (436001,'aegis_436001','Thanatos\'s Despero Mask','Armor',100,true,true,99,693,'bonus2 bAddRace,RC_Player_Human,10;\nbonus2 bAddRace,RC_Player_Doram,10;\nbonus2 bAddClass,Class_All,3;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`defense`,`location_head_top`,`location_head_mid`,`equip_level_min`,`view`,`script`) VALUES (436002,'aegis_436002','Thanatos\'s Odium Mask','Armor',100,3,true,true,99,667,'bonus2 bSubRace,RC_Player_Human,5;\nbonus2 bSubRace,RC_Player_Doram,5;\nbonus bMaxHPrate,5;'); @@ -7057,8 +7061,8 @@ 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`,`slots`,`location_head_top`,`location_head_mid`,`equip_level_min`,`view`,`script`) VALUES (436005,'aegis_436005','Thanatos\'s Maeror Mask','Armor',100,1,true,true,99,666,'bonus2 bMagicAddRace,RC_Player_Human,10;\nbonus2 bMagicAddRace,RC_Player_Doram,10;\nbonus bMatkRate,3;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_head_top`,`location_costume_head_Low`,`equip_level_min`,`view`) VALUES (440000,'C_SharkHead','Costume Shark Hat','Armor',true,true,1,1919); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_head_top`,`location_costume_head_Mid`,`location_costume_head_Low`,`equip_level_min`,`view`) VALUES (440002,'C_Happy_Cat_TW','Costume Happy Cat','Armor',true,true,true,1,1980); -REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_head_top`,`location_head_mid`,`location_head_low`,`view`,`trade_override`,`trade_nodrop`,`trade_notrade`,`trade_nocart`,`trade_nostorage`,`trade_noguildstorage`,`trade_nomail`,`trade_noauction`) VALUES (440003,'C_Pretty_Rabbit_Hood_E','Costume beginner rabbit hood','Armor',true,true,true,1085,100,true,true,true,true,true,true,true); -REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_head_top`,`location_head_mid`,`location_head_low`,`view`,`trade_override`,`trade_nodrop`,`trade_notrade`,`trade_nocart`,`trade_nostorage`,`trade_noguildstorage`,`trade_nomail`,`trade_noauction`) VALUES (440006,'C_Black_Cat_Hood_kr','Costume black cat hood','Armor',true,true,true,1481,100,true,true,true,true,true,true,true); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_head_top`,`location_costume_head_Mid`,`location_costume_head_Low`,`view`,`trade_override`,`trade_nodrop`,`trade_notrade`,`trade_nocart`,`trade_nostorage`,`trade_noguildstorage`,`trade_nomail`,`trade_noauction`) VALUES (440003,'C_Pretty_Rabbit_Hood_E','Costume beginner rabbit hood','Armor',true,true,true,1085,100,true,true,true,true,true,true,true); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_head_top`,`location_costume_head_Mid`,`location_costume_head_Low`,`view`,`trade_override`,`trade_nodrop`,`trade_notrade`,`trade_nocart`,`trade_nostorage`,`trade_noguildstorage`,`trade_nomail`,`trade_noauction`) VALUES (440006,'C_Black_Cat_Hood_kr','Costume black cat hood','Armor',true,true,true,1481,100,true,true,true,true,true,true,true); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`defense`,`slots`,`location_armor`,`refineable`,`script`) VALUES (450000,'IDTest_armor','IDTest armor','Armor',10,10,10,1,true,true,'bonus bMaxHP,100;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`defense`,`slots`,`location_armor`,`equip_level_min`,`refineable`,`script`) VALUES (450001,'Attacker_Booster_Plate_','Attacker Booster Plate','Armor',120,1,true,100,true,'bonus bBaseAtk,100;\nbonus bDelayrate,-5;\n.@r = getrefine();\nif (.@r>=2) {\n bonus2 bAddClass,Class_All,.@r/2;\n}\nif (.@r>=3) {\n bonus bCritAtkRate,.@r/3;\n}\nif (.@r>=7) {\n bonus bBaseAtk,50;\n}\nif (.@r>=9) {\n bonus bDelayrate,-5;\n}'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`defense`,`slots`,`location_armor`,`equip_level_min`,`refineable`,`script`) VALUES (450002,'Elemental_Booster_Robe_','Elemental Booster Robe','Armor',80,1,true,100,true,'bonus bMatk,100;\nbonus bVariableCastrate,-5;\n.@r = getrefine();\nif (.@r>=2) {\n bonus bMatkRate,.@r/2;\n}\nif (.@r>=3) {\n bonus bVariableCastrate,.@r/3*-1;\n}\nif (.@r>=7) {\n bonus bMatk,50;\n}\nif (.@r>=9) {\n bonus bVariableCastrate,-5;\n}'); @@ -7220,7 +7224,7 @@ REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`defense`,`sl REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`defense`,`slots`,`location_garment`,`equip_level_min`,`refineable`,`script`) VALUES (480020,'Auto_Engine_A','Automatic Engine Wing Type A','Armor',900,70,1,true,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`,`equip_level_min`,`refineable`,`script`) VALUES (480021,'Auto_Engine_B','Automatic Engine Wing Type B','Armor',900,70,1,true,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`,`job_all`,`job_novice`,`location_garment`,`equip_level_min`,`refineable`,`script`) VALUES (480054,'Morrigane\'s_Manteau_IL','Illusion Morrigane\'s Manteau','Armor',600,12,1,true,false,true,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_garment`,`refineable`) VALUES (480056,'aegis_480056','Costume Heavenly Fallen Angel\'s Wings','Armor',true,true); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_garment`,`view`) VALUES (480056,'aegis_480056','Costume Heavenly Fallen Angel\'s Wings','Armor',true,3); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`defense`,`slots`,`location_garment`,`equip_level_min`,`trade_override`,`trade_nodrop`,`trade_notrade`,`trade_nocart`,`trade_nostorage`,`trade_noguildstorage`,`trade_nomail`,`trade_noauction`,`script`) VALUES (480062,'E_Illusion_Engine_A','Illusion engine wing type A (attributable)','Armor',50,1,true,130,100,true,true,true,true,true,true,true,'.@r = getrefine();\nbonus bMaxHP,1000+100*(.@r/2);\nif (.@r>=7) {\n bonus bAspdRate,5;\n}'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`defense`,`slots`,`location_garment`,`equip_level_min`,`trade_override`,`trade_nodrop`,`trade_notrade`,`trade_nocart`,`trade_nostorage`,`trade_noguildstorage`,`trade_nomail`,`trade_noauction`,`script`) VALUES (480063,'E_Illusion_Engine_B','Illusion engine wing type B (attributable)','Armor',50,1,true,130,100,true,true,true,true,true,true,true,'.@r = getrefine();\nbonus bMaxHP,1000+100*(.@r/2);\nif (.@r>=7) {\n bonus bVariableCastrate,-5;\n}'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_garment`,`view`) VALUES (480069,'C_Wing_Of_Angel_Move','Costume Heavenly Angel Wings','Armor',true,61); @@ -7240,6 +7244,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`,`weight`,`defense`,`slots`,`location_right_accessory`,`equip_level_min`,`trade_override`,`trade_nodrop`,`trade_notrade`,`trade_nocart`,`trade_nostorage`,`trade_noguildstorage`,`trade_nomail`,`trade_noauction`,`script`) VALUES (490018,'Imperial_Magic_Ring','Imperial Magic Ring','Armor',0,8,1,true,125,100,true,true,true,true,true,true,true,'bonus bAspdRate,5;\nbonus bVariableCastrate,-7;\nbonus2 bMagicAddEle,Ele_All,7;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`defense`,`slots`,`location_right_accessory`,`equip_level_min`,`trade_override`,`trade_nodrop`,`trade_notrade`,`trade_nocart`,`trade_nostorage`,`trade_noguildstorage`,`trade_nomail`,`trade_noauction`,`script`) VALUES (490019,'Grace_Attack_Ring','Grace Attack Ring','Armor',0,10,1,true,150,100,true,true,true,true,true,true,true,'bonus bAspdRate,7;\nbonus bVariableCastrate,-10;\nbonus bCritAtkRate,10;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`defense`,`slots`,`location_right_accessory`,`equip_level_min`,`trade_override`,`trade_nodrop`,`trade_notrade`,`trade_nocart`,`trade_nostorage`,`trade_noguildstorage`,`trade_nomail`,`trade_noauction`,`script`) VALUES (490020,'Grace_Magic_Ring','Grace Magic Ring','Armor',0,10,1,true,150,100,true,true,true,true,true,true,true,'bonus bAspdRate,7;\nbonus bVariableCastrate,-10;\nbonus2 bMagicAddEle,Ele_All,10;'); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`slots`,`location_right_accessory`,`location_left_accessory`,`equip_level_min`,`script`) VALUES (490022,'TrustRing','Thunder Ring','Armor',300,1,true,true,100,'bonus2 bAddRace,RC_All,5;\nbonus bMatkRate,5;\nbonus2 bAddEle,Ele_Water,10;\nbonus2 bMagicAddEle,Ele_Water,10;\nbonus2 bSubEle,Ele_Water,5;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`slots`,`location_right_accessory`,`equip_level_min`,`script`) VALUES (490024,'Auto_B_R','Automatic Booster R','Armor',100,1,true,160,'bonus2 bAddClass,Class_All,5;\nbonus bMaxHPrate,5;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`slots`,`location_left_accessory`,`equip_level_min`,`script`) VALUES (490025,'Auto_B_L','Automatic Booster L','Armor',100,1,true,160,'bonus2 bAddClass,Class_All,5;\nbonus bMaxSPrate,5;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`slots`,`location_right_accessory`,`equip_level_min`,`script`) VALUES (490026,'Auto_BC_R','Automatic Battle Chip R','Armor',100,1,true,160,'bonus bMatkRate,5;\nbonus bMaxHPrate,5;');