From 913434317c2efce49990372dcde8b39599d448f0 Mon Sep 17 00:00:00 2001 From: idk-whoami <60462533+idk-whoami@users.noreply.github.com> Date: Mon, 22 Nov 2021 21:44:56 +0700 Subject: [PATCH] Corrected script for some item (#6364) --- db/re/item_combo_db.txt | 9 ++ db/re/item_db_equip.yml | 265 ++++++++++++++++++++++++++++++-- db/re/item_db_etc.yml | 6 +- db/re/item_db_usable.yml | 68 +++++++- db/re/item_group_db.yml | 184 ++++++++++++++++++++++ sql-files/item_db_re_equip.sql | 25 ++- sql-files/item_db_re_etc.sql | 6 +- sql-files/item_db_re_usable.sql | 11 +- src/map/itemdb.hpp | 1 + src/map/script_constants.hpp | 1 + 10 files changed, 548 insertions(+), 28 deletions(-) diff --git a/db/re/item_combo_db.txt b/db/re/item_combo_db.txt index 9d5cdf52ac..ed1eeb6059 100644 --- a/db/re/item_combo_db.txt +++ b/db/re/item_combo_db.txt @@ -2620,3 +2620,12 @@ 480025:4250,{ .@r = getequiprefinerycnt(EQI_GARMENT); bonus2 bSubSize,Size_Large,5; if (.@r>=8) { bonus2 bAddSize,Size_Large,25; bonus2 bMagicAddSize,Size_Large,25; } } 480025:4254,{ .@r = getequiprefinerycnt(EQI_GARMENT); bonus2 bSubSize,Size_Medium,5; if (.@r>=8) { bonus2 bAddSize,Size_Medium,25; bonus2 bMagicAddSize,Size_Medium,25; } } 480053:4211,{ bonus bMdef,5; bonus bMaxHPrate,10; bonus2 bSubEle,Ele_Neutral,20; } +20799:18137:1752,{ .@r = getequiprefinerycnt(EQI_GARMENT); bonus2 bSkillAtk,"RA_ARROWSTORM",(5*.@r); bonus2 bSkillAtk,"WM_SEVERE_RAINSTORM",(5*.@r); if(getequiprefinerycnt(EQI_HAND_R)>=10) { bonus bAspd,1; } } +20799:18138:1754,{ .@r = getequiprefinerycnt(EQI_GARMENT); bonus2 bSkillAtk,"RA_ARROWSTORM",(5*.@r); bonus2 bSkillAtk,"WM_SEVERE_RAINSTORM",(5*.@r); if(getequiprefinerycnt(EQI_HAND_R)>=10) { bonus bAspd,1; } } +20799:18140:1755,{ .@r = getequiprefinerycnt(EQI_GARMENT); bonus2 bSkillAtk,"RA_ARROWSTORM",(5*.@r); bonus2 bSkillAtk,"WM_SEVERE_RAINSTORM",(5*.@r); if(getequiprefinerycnt(EQI_HAND_R)>=10) { bonus bAspd,1; } } +20799:18139:1756,{ .@r = getequiprefinerycnt(EQI_GARMENT); bonus2 bSkillAtk,"RA_ARROWSTORM",(5*.@r); bonus2 bSkillAtk,"WM_SEVERE_RAINSTORM",(5*.@r); if(getequiprefinerycnt(EQI_HAND_R)>=10) { bonus bAspd,1; } } +400048:4804,{ bonus bUseSPrate,-10; bonus bHealPower,10; } +400048:4803,{ bonus bDelayrate,-10; bonus bHealPower,20; } +400048:4805,{ bonus bVariableCastrate,-10; bonus bHealPower,5; } +400048:4850,{ bonus bVariableCastrate,-10; bonus bHealPower,5; } +//490098:29371,{ if ((eaclass()&EAJL_THIRD && BaseJob == Job_Wizard) { bonus2 bSkillUseSP,"WL_CRIMSONROCK",50; bonus2 bSkillCooldown,"WL_CRIMSONROCK",-2000; } } diff --git a/db/re/item_db_equip.yml b/db/re/item_db_equip.yml index 9795e53d7f..3480ffc272 100644 --- a/db/re/item_db_equip.yml +++ b/db/re/item_db_equip.yml @@ -79684,6 +79684,20 @@ Body: if (.@r >= 9) bonus bCritical,5; } + - Id: 18962 + AegisName: Panda_Balloon + Name: Panda Balloon + Type: Armor + Weight: 200 + Locations: + Head_Low: true + ArmorLevel: 1 + EquipLevelMin: 1 + View: 1115 + Script: | + bonus bAllStats,1; + bonus bAspd,1; + bonus bUnbreakableHelm; - Id: 18968 AegisName: Jinn_Marin_Balloon Name: Demon Blue Poring Bubble @@ -84700,6 +84714,27 @@ Body: bonus bVariableCastrate,-10; if (.@r>=9) bonus bVariableCastrate,-10; + - Id: 19437 + AegisName: LittleGarden + Name: Little Garden + Type: Armor + View: 1830 + Weight: 100 + Locations: + Head_Mid: true + ArmorLevel: 1 + EquipLevelMin: 100 + Script: | + bonus bBaseAtk,40; + bonus bCritAtkRate,5; + if (readparam(bLuk)>=90) { + bonus bBaseAtk,60; + bonus bCritAtkRate,10; + } + if (readparam(bLuk)>=125) { + bonus bBaseAtk,80; + bonus bCritAtkRate,20; + } - Id: 19439 AegisName: Subject_Aura Name: Vicious Mind Aura @@ -94996,6 +95031,30 @@ Body: hateffect(HAT_EF_C_POPPING_PORING_AURA,true); UnEquipScript: | hateffect(HAT_EF_C_POPPING_PORING_AURA,false); + - Id: 20556 + AegisName: C_99LV_ShadowC_Black + Name: Costume Aura of Night + Type: Armor + Locations: + Costume_Garment: true + ArmorLevel: 1 + EquipLevelMin: 1 + Script: | + hateffect(HAT_EF_99LV_ShadowC_Black,true); + UnEquipScript: | + hateffect(HAT_EF_99LV_ShadowC_Black,false); + - Id: 20567 + AegisName: C_160LV_ShadowC_Black + Name: Costume Aura of Darkness + Type: Armor + Locations: + Costume_Garment: true + ArmorLevel: 1 + EquipLevelMin: 1 + Script: | + hateffect(HAT_EF_160LV_ShadowC_Black,true); + UnEquipScript: | + hateffect(HAT_EF_160LV_ShadowC_Black,false); - Id: 20570 AegisName: C_HeartChocoBag Name: Costume HeartChocoBag @@ -96144,6 +96203,28 @@ Body: Script: | bonus bFlee,getrefine() * 2; bonus bFlee2,8 + (BaseLevel > 129 ? 2 : 0); + - Id: 20774 + AegisName: Cutoff_Manteau + Name: King of Void's Garment + Type: Armor + Weight: 500 + Defense: 16 + Slots: 1 + Jobs: + All: true + Novice: false + Classes: + All_Upper: true + Locations: + Garment: true + ArmorLevel: 1 + EquipLevelMin: 70 + Refineable: true + Script: | + bonus bMdef,2; + bonus bMatkRate,1; + bonus bMaxHPrate,5; + bonus2 bAddEle,Ele_Neutral,2; - Id: 20778 AegisName: RedLotus_Stole Name: Red Lotus Stole @@ -98398,8 +98479,6 @@ Body: Weight: 400 Defense: 38 Slots: 1 - Classes: - All_Third: true Locations: Garment: true ArmorLevel: 1 @@ -98432,8 +98511,6 @@ Body: Weight: 400 Defense: 38 Slots: 1 - Classes: - All_Third: true Locations: Garment: true ArmorLevel: 1 @@ -98466,8 +98543,6 @@ Body: Weight: 400 Defense: 38 Slots: 1 - Classes: - All_Third: true Locations: Garment: true ArmorLevel: 1 @@ -98500,8 +98575,6 @@ Body: Weight: 400 Defense: 38 Slots: 1 - Classes: - All_Third: true Locations: Garment: true ArmorLevel: 1 @@ -98534,8 +98607,6 @@ Body: Weight: 400 Defense: 38 Slots: 1 - Classes: - All_Third: true Locations: Garment: true ArmorLevel: 1 @@ -98568,8 +98639,6 @@ Body: Weight: 400 Defense: 38 Slots: 1 - Classes: - All_Third: true Locations: Garment: true ArmorLevel: 1 @@ -98680,6 +98749,14 @@ Body: Costume_Garment: true ArmorLevel: 1 View: 92 + - Id: 20989 + AegisName: C_Mainspring_Screw + Name: Costume Mainspring Screw + Type: Armor + Locations: + Costume_Garment: true + ArmorLevel: 1 + View: 93 - Id: 20990 AegisName: C_Rotating_Gears Name: "Costume: Rotating Gears" @@ -131919,6 +131996,32 @@ Body: Locations: Costume_Head_Top: true ArmorLevel: 1 + - Id: 400048 + AegisName: Gift_of_Panagia + Name: Gift of Panagia + Type: Armor + View: 1948 + Weight: 200 + Slots: 1 + Locations: + Head_Top: true + ArmorLevel: 1 + EquipLevelMin: 100 + Refineable: true + Script: | + .@r = getrefine(); + bonus bVit,5; + bonus bInt,5; + bonus bHealPower,10; + bonus2 bResEff,Eff_Stun,5000; + if (.@r>=7) { + bonus bDelayrate,-20; + bonus bHealPower,10; + } + if (.@r>=9) + bonus bHealPower,20; + if (.@r>=10) + bonus bUseSPrate,-20; - Id: 400049 AegisName: aegis_400049 Name: Stripe Hat @@ -132061,6 +132164,50 @@ Body: bonus2 bMagicAddSize,Size_Small,15; bonus2 bMagicAddSize,Size_Medium,15; } + - Id: 400060 + AegisName: Freyja_Crown_J + Name: Shiny Kitty Crown + Type: Armor + View: 328 + Weight: 1000 + Defense: 18 + Locations: + Head_Top: true + ArmorLevel: 1 + EquipLevelMin: 100 + Refineable: true + Script: | + .@r = getrefine(); + bonus bMdef,15; + bonus bDelayrate,-10; + bonus2 bSkillAtk,"SU_CN_METEOR",10; + bonus2 bSkillAtk,"SU_SV_STEMSPEAR",10; + bonus bHPGainValue,30*.@r; + bonus bSPGainValue,3*.@r; + bonus bAspdRate,3*getskilllv("SU_CHATTERING"); + if (getskilllv("SU_SPIRITOFLAND") == 1) { + .@val = -4*(getskilllv("SU_CN_POWDERING")+getskilllv("SU_CN_METEOR")+getskilllv("SU_NYANGGRASS")+getskilllv("SU_SV_STEMSPEAR")+getskilllv("SU_SV_ROOTTWIST")); + bonus2 bVariableCastrate,"SU_CN_METEOR",.@val; + bonus2 bVariableCastrate,"SU_SV_STEMSPEAR",.@val; + } + if (getskilllv("SU_NYANGGRASS") == 5) + bonus bDelayrate,-20; + if (getskilllv("SU_MEOWMEOW") == 5) + bonus2 bMagicAddClass,Class_Boss,25; + if (.@r>=7) { + bonus2 bVariableCastrate,"SU_STOOP",-50; + bonus2 bVariableCastrate,"SU_LOPE",-50; + bonus2 bSkillAtk,"SU_CN_METEOR",15; + bonus2 bSkillAtk,"SU_SV_STEMSPEAR",15; + } + if (.@r>=9) { + bonus2 bVariableCastrate,"SU_STOOP",-50; + bonus2 bVariableCastrate,"SU_LOPE",-50; + bonus2 bSkillAtk,"SU_CN_METEOR",25; + bonus2 bSkillAtk,"SU_SV_STEMSPEAR",25; + } + if (.@r>=10) + autobonus "{ bonus bUseSPrate,-100; }",20,20000,BF_MAGIC; - Id: 400061 AegisName: aegis_400061 Name: Sagittarius Celestial Coronet @@ -132947,6 +133094,14 @@ Body: Costume_Head_Mid: true ArmorLevel: 1 View: 2095 + - Id: 410095 + AegisName: C_White_Cat_On_Shoulder + Name: Costume White Cat on Shoulder + Type: Armor + Locations: + Costume_Head_Mid: true + ArmorLevel: 1 + View: 2151 - Id: 420003 AegisName: CD_In_MouthK Name: CD in Mouth @@ -133083,6 +133238,14 @@ Body: ArmorLevel: 1 Script: | bonus bShortAtkRate,5; + - Id: 420033 + AegisName: aegis_420033 + Name: Costume Airy Twin Tails (White) + Type: Armor + Locations: + Costume_Head_Low: true + ArmorLevel: 1 + View: 2028 - Id: 420053 AegisName: C_Shadow_Devil Name: Costume Shadow Devil @@ -133105,6 +133268,14 @@ Body: Script: | bonus2 bMagicAtkEle,Ele_All,7; bonus bVariableCastrate,-3; + - Id: 420079 + AegisName: aegis_420079 + Name: Costume Inner Color Long + Type: Armor + Locations: + Costume_Head_Low: true + ArmorLevel: 1 + View: 2155 - Id: 436000 AegisName: aegis_436000 Name: Thanatos's Maeror Mask @@ -138358,6 +138529,43 @@ Body: Costume_Garment: true ArmorLevel: 1 View: 82 + - Id: 480077 + AegisName: aegis_480077 + Name: Lava Manteau + Type: Armor + Weight: 300 + Defense: 25 + Slots: 1 + Locations: + Garment: true + ArmorLevel: 1 + EquipLevelMin: 100 + Refineable: true + Script: | + .@r = getrefine(); + bonus bMdef,5; + bonus bMaxHPrate,2; + bonus bMaxSPrate,2; + bonus2 bAddSize,Size_All,5; + bonus2 bSubClass,Class_Boss,5; + bonus2 bSkillAtk,"NC_AXETORNADO",20*getskilllv("NC_AXEBOOMERANG"); + bonus2 bSkillAtk,"NC_POWERSWING",20*getskilllv("NC_AXEBOOMERANG"); + if (getskilllv("NC_MAGICDECOY") == 5) + bonus bPerfectHitAddRate,50; + if (getskilllv("NC_MAGMA_ERUPTION") == 5) { + bonus2 bSubEle,Ele_Fire,50; + bonus2 bSubEle,Ele_Earth,50; + } + if (.@r>=5) { + bonus bMaxHPrate,3; + bonus bMaxSPrate,3; + bonus bAspdRate,5; + } + if (.@r>=7) { + bonus bMaxHPrate,5; + bonus bMaxSPrate,5; + bonus bAspdRate,5; + } - Id: 480083 AegisName: Egirnion_Manteau Name: Aegirnion Manteau @@ -139382,6 +139590,39 @@ Body: bonus bLongAtkRate,5; bonus bShortAtkRate,5; bonus bBaseAtk,30; + - Id: 490098 + AegisName: aegis_490098 + Name: Ring of Pazuzu + Type: Armor + Weight: 100 + Slots: 1 + Locations: + Both_Accessory: true + ArmorLevel: 1 + EquipLevelMin: 100 + Script: | + bonus bInt,7; + bonus bMdef,15; + bonus2 bMagicAddSize,Size_All,10; + bonus2 bSkillAtk,"WZ_VERMILION",(BaseLevel*6); + bonus2 bSkillAtk,"WL_CRIMSONROCK",(BaseLevel/3); + bonus2 bSkillAtk,"WL_CHAINLIGHTNING",(BaseLevel/3); + if (getskilllv("WL_CHAINLIGHTNING") == 5) { + bonus2 bSkillUseSP,"WL_CHAINLIGHTNING",35; + bonus2 bSkillCooldown,"WL_CHAINLIGHTNING",-500; + } + if (getskilllv("WL_DRAINLIFE") == 5) { + bonus bVariableCastrate,-15; + bonus bMagicHPGainValue,100; + bonus bMagicSPGainValue,10; + } + if (getskilllv("WL_RADIUS") == 3) { + bonus2 bMagicAtkEle,Ele_Fire,10; + bonus2 bMagicAtkEle,Ele_Wind,10; + bonus2 bMagicAtkEle,Ele_Neutral,10; + } + if (getskilllv("WL_RECOGNIZEDSPELL") == 5) + bonus bDelayrate,-30; - Id: 490099 AegisName: Thanatos_Pendant Name: Thanatos' Necklace # !todo check english name diff --git a/db/re/item_db_etc.yml b/db/re/item_db_etc.yml index eea99ba7ac..5ab938052c 100644 --- a/db/re/item_db_etc.yml +++ b/db/re/item_db_etc.yml @@ -13735,7 +13735,7 @@ Body: bonus2 bSubRace,RC_Player_Human,5; - Id: 4850 AegisName: Heal_Amount3 - Name: Heal Amount2 + Name: Archbishop2Lv Type: Card Buy: 20 Script: | @@ -13743,7 +13743,7 @@ Body: bonus bUseSPrate,5; - Id: 4851 AegisName: Heal_Amount4 - Name: Heal Amount3 + Name: Archbishop3Lv Type: Card Buy: 20 Script: | @@ -13751,7 +13751,7 @@ Body: bonus bUseSPrate,10; - Id: 4852 AegisName: Heal_Amount5 - Name: Heal Amount4 + Name: Archbishop4Lv Type: Card Buy: 20 Script: | diff --git a/db/re/item_db_usable.yml b/db/re/item_db_usable.yml index 43caff52fd..d954b8a9fb 100644 --- a/db/re/item_db_usable.yml +++ b/db/re/item_db_usable.yml @@ -2266,6 +2266,13 @@ Body: Weight: 1 Script: | /*upgradeui 9551;*/ + - Id: 9553 + AegisName: C_CatPaw_7Day_Box_ + Name: Endless Cat Hand Ticket 7day Box + Type: Usable + Weight: 10 + Script: | + rentitem 22998,604800; - Id: 9785 AegisName: Frozen_Box_IL Name: Frozen Refine Box @@ -12954,7 +12961,7 @@ Body: Weight: 150 Script: | specialeffect2 EF_POTION_BERSERK; - bonus_script "{ bonus2 bAddClass,Class_All,5; bonus bMatkRate,5; bonus bMaxHPrate,3; bonus bMaxSPrate,3; }",60,0,0,EFST_GM_BATTLE; + bonus_script "{ bonus2 bAddClass,Class_All,5; bonus bMatkRate,5; bonus bMaxHPrate,-3; bonus bMaxSPrate,-3; }",600,0,0,EFST_GM_BATTLE; /* showscript */ - Id: 12792 AegisName: P_Combat_Pill @@ -12964,7 +12971,7 @@ Body: Weight: 150 Script: | specialeffect2 EF_POTION_BERSERK; - bonus_script "{ bonus2 bAddClass,Class_All,10; bonus bMatkRate,10; bonus bMaxHPrate,5; bonus bMaxSPrate,5; }",60,0,0,EFST_GM_BATTLE; + bonus_script "{ bonus2 bAddClass,Class_All,10; bonus bMatkRate,10; bonus bMaxHPrate,-5; bonus bMaxSPrate,-5; }",600,0,0,EFST_GM_BATTLE; - Id: 12793 AegisName: Combat_Pill_Box10 Name: Combat Pill Box10 @@ -46745,6 +46752,32 @@ Body: NoAuction: true Script: | getitem callfunc("F_Rand",24180,24181,24182,24183,24184,24185),1; + - Id: 22814 + AegisName: CatPaw_Ticket + Name: Cat Hand Ticket + Type: Usable + Buy: 2 + Weight: 10 + Trade: + Override: 100 + Script: | + callfunc "F_CashStore"; + - Id: 22819 + AegisName: G_Almighty + Name: Citizen Oda's Miracle Elixr + Type: Usable + Weight: 10 + Trade: + Override: 100 + NoDrop: true + NoTrade: true + NoSell: true + NoCart: true + NoGuildStorage: true + NoAuction: true + Script: | + bonus_script "{ bonus bAllStats,10; bonus bBaseAtk,30; bonus bMatk,30; }",3600; + sc_start SC_SPEEDUP0,600000,25; - Id: 22822 AegisName: Summer_Vacation_Costumes Name: Summer Vacation Costumes @@ -47549,6 +47582,14 @@ Body: Weight: 10 Script: | sc_start SC_DORAM_BUF_02, 180000, 0; + - Id: 22998 + AegisName: C_CatPaw_Ticket + Name: Endless Cat Hand Ticket + Type: Delayconsume + Trade: + Override: 100 + Script: | + callfunc "F_CashStore"; - Id: 23001 AegisName: Enchant_Stone_Box8 Name: Costume Enchant Stone Box 8 @@ -47775,6 +47816,15 @@ Body: Weight: 10 Script: | /*upgradeui 23100;*/ + - Id: 23115 + AegisName: Class_Shadow_Cube + Name: Class Shadow Cube + Type: Usable + Weight: 10 + Flags: + Container: true + Script: | + getgroupitem(IG_CLASS_SHADOW_CUBE); - Id: 23123 AegisName: Bullet_Case_Flare Name: Flare Bullet Cartridge @@ -49364,6 +49414,13 @@ Body: Container: true Script: | getitem callfunc("F_Rand",31754,31755,31756,31757,31758,31759,31760,31761),1; + - Id: 101097 + AegisName: aegis_101097 + Name: "[Scroll] Unlimited Drink" + Type: Usable + Weight: 10 + Script: | + bonus_script "{ bonus bMaxHPrate,5; bonus bMaxSPrate,5; bonus bCritAtkRate,5; bonus bLongAtkRate,5; bonus2 bMagicAddEle,Ele_All,5; bonus bNoCastCancel;}",1800; - Id: 101107 AegisName: Cannon_Box_Ice Name: Cannon Box Ice @@ -50938,6 +50995,13 @@ Body: Container: true Script: | getitem callfunc("F_Rand",24177,24171,24178,24170,24174,24173,24179,24175,24176,24172),1; + - Id: 101126 + AegisName: aegis_101126 + Name: "[Scroll] Halloween Candy" + Type: Healing + Weight: 10 + Script: | + percentheal 30,30; - Id: 1100003 AegisName: Concentrated_R_P Name: Concentrated Red Potion diff --git a/db/re/item_group_db.yml b/db/re/item_group_db.yml index c1c9b75d05..744cfc6f79 100644 --- a/db/re/item_group_db.yml +++ b/db/re/item_group_db.yml @@ -23531,4 +23531,188 @@ Body: Rate: 100 - Item: Honey Rate: 130 + - Group: CLASS_SHADOW_CUBE + SubGroups: + - SubGroup: 1 + List: + - Item: S_Ninja_Shield + Rate: 58 + - Item: S_Taekwon_Shield + Rate: 58 + - Item: S_DoramPhysical_Shield + Rate: 58 + - Item: S_DoramMagical_Shield + Rate: 58 + - Item: S_Rebellion_Armor + Rate: 58 + - Item: S_Kagerou_Armor + Rate: 58 + - Item: S_Oboro_Armor + Rate: 58 + - Item: S_Rebellion_Shoes + Rate: 58 + - Item: S_Kagerou_Shoes + Rate: 58 + - Item: S_Oboro_Shoes + Rate: 58 + - Item: S_DoramPhysical_Armor + Rate: 58 + - Item: S_DoramPhysical_Shoes + Rate: 58 + - Item: S_DoramMagical_Armor + Rate: 58 + - Item: S_DoramMagical_Shoes + Rate: 58 + - Item: S_Star_Emperor_Armor + Rate: 58 + - Item: S_Star_Emperor_Shoes + Rate: 58 + - Item: S_Soul_Reaper_Armor + Rate: 58 + - Item: S_Soul_Reaper_Shoes + Rate: 58 + - Item: S_Bard_Shoes + Rate: 59 + - Item: S_Dancer_Shoes + Rate: 59 + - Item: S_Bard_Armor + Rate: 59 + - Item: S_Dancer_Armor + Rate: 59 + - Item: S_SuperNovice_Weapon + Rate: 59 + - Item: S_Gunslinger_Weapon + Rate: 59 + - Item: S_Taekwon_Weapon + Rate: 59 + - Item: S_Ninja_Weapon + Rate: 59 + - Item: S_DoramMagical_Weapon + Rate: 59 + - Item: S_DoramPhysical_Weapon + Rate: 59 + - Item: S_Minstrel_Weapon + Rate: 59 + - Item: S_Wanderer_Weapon + Rate: 59 + - Item: S_Minstrel_Shield + Rate: 59 + - Item: S_Wanderer_Shield + Rate: 59 + - Item: S_SuperNovice_Shield + Rate: 59 + - Item: S_Gunslinger_Shield + Rate: 59 + - Item: S_Knight_Shoes + Rate: 118 + - Item: S_Crusader_Shoes + Rate: 118 + - Item: S_Blacksmith_Shoes + Rate: 118 + - Item: S_Alchemist_Shoes + Rate: 118 + - Item: S_Priest_Shoes + Rate: 118 + - Item: S_Monk_Shoes + Rate: 118 + - Item: S_Assassin_Shoes + Rate: 118 + - Item: S_Rogue_Shoes + Rate: 118 + - Item: S_Wizard_Shoes + Rate: 118 + - Item: S_Sage_Shoes + Rate: 118 + - Item: S_Hunter_Shoes + Rate: 118 + - Item: S_Knight_Armor + Rate: 118 + - Item: S_Crusader_Armor + Rate: 118 + - Item: S_Blacksmith_Armor + Rate: 118 + - Item: S_Alchemist_Armor + Rate: 118 + - Item: S_Priest_Armor + Rate: 118 + - Item: S_Monk_Armor + Rate: 118 + - Item: S_Assassin_Armor + Rate: 118 + - Item: S_Rogue_Armor + Rate: 118 + - Item: S_Wizard_Armor + Rate: 118 + - Item: S_Sage_Armor + Rate: 118 + - Item: S_Hunter_Armor + Rate: 118 + - Item: S_Runeknight_Weapon + Rate: 118 + - Item: S_Royalguard_Weapon + Rate: 118 + - Item: S_Mechanic_weapon + Rate: 118 + - Item: S_Genetic_Weapon + Rate: 118 + - Item: S_Archbishop_Weapon + Rate: 118 + - Item: S_Sura_weapon + Rate: 118 + - Item: S_Guillotine_Weapon + Rate: 118 + - Item: S_Shadowchaser_Weapon + Rate: 118 + - Item: S_Warlock_Weapon + Rate: 118 + - Item: S_Sorcerer_Weapon + Rate: 118 + - Item: S_Ranger_Weapon + Rate: 118 + - Item: S_Runeknight_Shield + Rate: 118 + - Item: S_Royalguard_Shield + Rate: 118 + - Item: S_Mechanic_Shield + Rate: 118 + - Item: S_Genetic_Shield + Rate: 118 + - Item: S_Archbishop_Shield + Rate: 118 + - Item: S_Sura_Shield + Rate: 118 + - Item: S_Guillotine_Shield + Rate: 118 + - Item: S_Shadowchaser_Shield + Rate: 118 + - Item: S_Warlock_Shield + Rate: 118 + - Item: S_Sorcerer_Shield + Rate: 118 + - Item: S_Ranger_Shield + Rate: 118 + - Item: S_Swordman_earring + Rate: 235 + - Item: S_Merchant_earring + Rate: 235 + - Item: S_Acolyte_earring + Rate: 235 + - Item: S_Magician_earring + Rate: 235 + - Item: S_Swordman_Pendant + Rate: 235 + - Item: S_Merchant_Pendant + Rate: 235 + - Item: S_Acolyte_Pendant + Rate: 235 + - Item: S_Thief_Pendant + Rate: 235 + - Item: S_Magician_Pendant + Rate: 235 + - Item: S_Archer_Pendant + Rate: 235 + - Item: S_Thief_earring + Rate: 235 + - Item: S_Archer_earring + Rate: 235 diff --git a/sql-files/item_db_re_equip.sql b/sql-files/item_db_re_equip.sql index dd2e3baa9d..66c772564a 100644 --- a/sql-files/item_db_re_equip.sql +++ b/sql-files/item_db_re_equip.sql @@ -3773,6 +3773,7 @@ REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`slo REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`defense`,`location_head_low`,`armor_level`,`equip_level_min`,`view`,`script`) VALUES (18956,'Chocolate_Bomb','Chocolate Bomb','Armor',100,1,true,1,1,1110,'bonus bStr,1;\nbonus bInt,1;\nbonus bLuk,1;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`slots`,`location_head_top`,`armor_level`,`equip_level_min`,`view`,`script`) VALUES (18959,'Old_Pink_Poo_Hat','Old Pink Poo Hat','Armor',20,1200,1,true,1,1,1102,'bonus2 bSubRace,RC_Player_Human,13;\nbonus2 bSubRace,RC_Player_Doram,13;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`defense`,`slots`,`location_head_top`,`armor_level`,`refineable`,`view`,`script`) VALUES (18960,'Love_Daddy_2013','Love Daddy 2013','Armor',10,10,10,1,true,1,true,1104,'.@r = getrefine();\nbonus2 bAddClass,Class_All,2;\nbonus bMatkRate,2;\nif (readparam(bStr) >= 90) {\n bonus bBaseAtk,15;\n if (.@r >= 9)\n bonus bBaseAtk,15;\n }\n if (readparam(bInt) >= 90) {\n bonus bMatk,15;\n if (.@r >= 9)\n bonus bMatk,15;\n }\n if (readparam(bVit) >= 90) {\n bonus bMaxHP,500;\n if (.@r >= 9)\n bonus bMaxHP,500;\n }\n if (readparam(bAgi) >= 90) {\n bonus bAspdRate,2;\n if (.@r >= 9)\n bonus bAspdRate,3;\n }\n if (readparam(bDex) >= 90) {\n bonus bLongAtkRate,3;\n if (.@r >= 9)\n bonus bLongAtkRate,3;\n }\n if (readparam(bLuk) >= 90) {\n bonus bCritical,5;\n if (.@r >= 9)\n bonus bCritical,5;\n}'); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`location_head_low`,`equip_level_min`,`view`,`script`) VALUES (18962,'Panda_Balloon','Panda Balloon','Armor',200,true,1,1115,'bonus bAllStats,1;\nbonus bAspd,1;\nbonus bUnbreakableHelm;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`defense`,`location_head_low`,`armor_level`,`equip_level_min`,`view`,`script`) VALUES (18968,'Jinn_Marin_Balloon','Demon Blue Poring Bubble','Armor',50,5,true,1,1,1133,'bonus bInt,1;\nbonus bDex,1;\nbonus bMaxHP,100;\nbonus bBaseAtk,5;\nbonus bMatk,5;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`defense`,`slots`,`location_head_top`,`armor_level`,`equip_level_min`,`refineable`,`view`,`trade_override`,`trade_nodrop`,`trade_notrade`,`trade_nosell`,`trade_nocart`,`trade_noguildstorage`,`trade_nomail`,`trade_noauction`,`script`) VALUES (18970,'Magical_Moon_Cat','Magical Moon Cat','Armor',20,100,5,1,true,1,1,true,1308,100,true,true,true,true,true,true,true,'skill "ALL_CATCRY",1;\nbonus bAllStats,3;\nbonus bDelayrate,-5-(getrefine()/2);\nbonus bVariableCastrate,-5-(getrefine()/2);'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`defense`,`slots`,`job_knight`,`class_third`,`class_third_upper`,`class_third_baby`,`location_head_top`,`armor_level`,`equip_level_min`,`refineable`,`view`,`trade_override`,`trade_nodrop`,`trade_notrade`,`trade_nosell`,`trade_nocart`,`trade_noguildstorage`,`trade_nomail`,`trade_noauction`,`script`) VALUES (18971,'Old_Rune_Circlet','Old Rune Circlet','Armor',10,100,10,1,true,true,true,true,true,1,170,true,623,100,true,true,true,true,true,true,true,'bonus bAllStats,1;\nbonus bMdef,5;\n.@r = getrefine();\nbonus bBaseAtk,4*.@r;\nbonus bAspd,.@r/5;\nbonus bMaxHPrate,.@r/2;\nbonus bMaxSPrate,.@r/2;\nbonus2 bSkillAtk,"RK_IGNITIONBREAK",20*.@r/2;\nbonus2 bSkillAtk,"RK_HUNDREDSPEAR",15*.@r/2;'); @@ -3994,6 +3995,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_Low`,`armor_level`,`equip_level_min`,`view`,`script`,`unequip_script`) VALUES (19433,'C_Resonate_Taego','Costume Resonate Taego','Armor',true,1,1,1823,'hateffect(HAT_EF_RESONATETAEGO,true);','hateffect(HAT_EF_RESONATETAEGO,false);'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`slots`,`location_head_top`,`equip_level_min`,`refineable`,`view`,`script`) VALUES (19435,'PoringBeret_TW','Poring Beret','Armor',200,1,true,1,true,1825,'bonus2 bSubRace,RC_DemiHuman,10;\nbonus2 bSubRace,RC_Player_Human,10;\nbonus2 bSubRace,RC_Player_Doram,10;\nif (getrefine()>=9)\n skill "BS_GREED",1;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`defense`,`slots`,`location_head_top`,`equip_level_min`,`refineable`,`view`,`script`) VALUES (19436,'VesperHeadGear','Vesper Headgear','Armor',400,8,1,true,100,true,1827,'.@r = getrefine();\nbonus bDex,2;\nbonus bVariableCastrate,-10;\nif (.@r>=7)\n bonus bVariableCastrate,-10;\nif (.@r>=9)\n bonus bVariableCastrate,-10;'); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`location_head_mid`,`equip_level_min`,`view`,`script`) VALUES (19437,'LittleGarden','Little Garden','Armor',100,true,100,1830,'bonus bBaseAtk,40;\nbonus bCritAtkRate,5;\nif (readparam(bLuk)>=90) {\n bonus bBaseAtk,60;\n bonus bCritAtkRate,10;\n}\nif (readparam(bLuk)>=125) {\n bonus bBaseAtk,80;\n bonus bCritAtkRate,20;\n}'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`defense`,`location_head_low`,`armor_level`,`equip_level_min`,`view`) VALUES (19439,'Subject_Aura','Vicious Mind Aura','Armor',100,5,true,1,170,1267); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`defense`,`location_head_mid`,`equip_level_min`,`view`,`script`) VALUES (19443,'Star_Eyepatch_JP','Star Eyepatch','Armor',300,200,true,99,800,'bonus bVit,3;\nbonus2 bResEff,Eff_Stun,3000;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`defense`,`slots`,`location_head_mid`,`equip_level_min`,`view`,`script`) VALUES (19444,'Star_Eyepatch_JP_','Star Eyepatch','Armor',300,200,1,true,99,800,'bonus bVit,3;\nbonus2 bResEff,Eff_Stun,3000;'); @@ -4947,6 +4949,8 @@ 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_garment`,`armor_level`,`equip_level_min`,`view`) VALUES (20546,'C_Backside_Ribbon_Bell','Costume Giant Ribbon Bell','Armor',true,1,1,46); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_garment`,`armor_level`,`equip_level_min`,`script`,`unequip_script`) VALUES (20547,'C_Ghost_Effect','Costume Ghost Effect','Armor',true,1,1,'hateffect(HAT_EF_C_GHOST_EFFECT,true);','hateffect(HAT_EF_C_GHOST_EFFECT,false);'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_garment`,`armor_level`,`equip_level_min`,`script`,`unequip_script`) VALUES (20548,'Costume_Popping_Poring_Aura','Costume Popping Poring Aura','Armor',true,1,1,'hateffect(HAT_EF_C_POPPING_PORING_AURA,true);','hateffect(HAT_EF_C_POPPING_PORING_AURA,false);'); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_Garment`,`equip_level_min`,`script`,`unequip_script`) VALUES (20556,'C_99LV_ShadowC_Black','Costume Aura of Night','Armor',true,1,'hateffect(HAT_EF_99LV_ShadowC_Black,true);','hateffect(HAT_EF_99LV_ShadowC_Black,false);'); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_Garment`,`equip_level_min`,`script`,`unequip_script`) VALUES (20567,'C_160LV_ShadowC_Black','Costume Aura of Darkness','Armor',true,1,'hateffect(HAT_EF_160LV_ShadowC_Black,true);','hateffect(HAT_EF_160LV_ShadowC_Black,false);'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_garment`,`armor_level`,`equip_level_min`,`view`) VALUES (20570,'C_HeartChocoBag','Costume HeartChocoBag','Armor',true,1,1,47); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_garment`,`armor_level`,`view`,`script`,`unequip_script`) VALUES (20571,'C_Valkyrie_Wing','Costume Valkyrie Wings','Armor',true,1,48,'hateffect HAT_EF_C_VALKYRIE_WING,true;','hateffect HAT_EF_C_VALKYRIE_WING,false;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_garment`,`armor_level`,`equip_level_min`,`view`) VALUES (20572,'C_WingOfHeart','Costume WingOfHeart','Armor',true,1,1,50); @@ -5018,6 +5022,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_garment`,`armor_level`,`equip_level_min`,`view`) VALUES (20764,'C_Fallen_Angel_Wing','Costume Fallen Angel Wing','Armor',true,1,1,3); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_garment`,`armor_level`,`equip_level_min`,`view`) VALUES (20765,'C_Archangel_Wing','Costume Archangel Wing','Armor',true,1,1,49); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`defense`,`location_garment`,`armor_level`,`equip_level_min`,`refineable`,`script`) VALUES (20773,'Excelion_Wing','Excelion Wing','Armor',20,900,40,true,1,99,true,'bonus bFlee,getrefine() * 2;\nbonus bFlee2,8 + (BaseLevel > 129 ? 2 : 0);'); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`defense`,`slots`,`job_all`,`job_novice`,`class_upper`,`class_third_upper`,`location_garment`,`equip_level_min`,`refineable`,`script`) VALUES (20774,'Cutoff_Manteau','King of Void\'s Garment','Armor',500,16,1,true,false,true,true,true,70,true,'bonus bMdef,2;\nbonus bMatkRate,1;\nbonus bMaxHPrate,5;\nbonus2 bAddEle,Ele_Neutral,2;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`defense`,`slots`,`location_garment`,`armor_level`,`equip_level_min`,`refineable`,`script`) VALUES (20778,'RedLotus_Stole','Red Lotus Stole','Armor',20,700,8,1,true,1,1,true,'.@r = getrefine();\nbonus bMaxSPrate,10;\nbonus bMdef,3;\nbonus bUseSPrate,-1*(1+(2*.@r/3));\nif (.@r>=10) {\n bonus bSPGainValue,20;\n}'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`defense`,`slots`,`location_garment`,`armor_level`,`equip_level_min`,`refineable`,`trade_override`,`trade_nodrop`,`trade_notrade`,`trade_nocart`,`trade_noguildstorage`,`trade_nomail`,`trade_noauction`,`script`) VALUES (20779,'Rift_Manteau','Rift Manteau','Armor',20,500,16,1,true,1,100,true,100,true,true,true,true,true,true,'.@r = getrefine();\nbonus bMaxHP,(.@r >= 9 ? 1300 : .@r >= 7 ? 700 : 300);\nbonus bMaxSP,-50;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`defense`,`slots`,`location_garment`,`armor_level`,`equip_level_min`,`refineable`,`trade_override`,`trade_nodrop`,`trade_notrade`,`trade_nocart`,`trade_noguildstorage`,`trade_nomail`,`trade_noauction`,`script`) VALUES (20780,'Unity_STR_Manteau','Unity STR Manteau','Armor',32000,300,20,1,true,1,1,true,100,true,true,true,true,true,true,'.@r = getrefine();\nif (BaseLevel<100) {\n bonus2 bExpAddRace,RC_All,4;\n bonus bMaxHPrate,2*(.@r/2);\n}'); @@ -5107,16 +5112,17 @@ REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,` REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`defense`,`slots`,`location_garment`,`armor_level`,`trade_override`,`trade_nodrop`,`trade_notrade`,`trade_nocart`,`trade_nostorage`,`trade_noguildstorage`,`trade_nomail`,`trade_noauction`,`script`) VALUES (20953,'H_AD_Hood','High Adventurer Hood','Armor',25,1,true,1,100,true,true,true,true,true,true,true,'bonus bHit,10;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`defense`,`slots`,`location_garment`,`armor_level`,`refineable`,`script`) VALUES (20955,'Chrismas_Tree','Christmas Guardian Tree','Armor',100,20,1,true,1,true,'.@r = getrefine();\nbonus bMatkRate,(.@r/2);\nbonus2 bAddClass,Class_All,(.@r/2);\nif (.@r>=9) {\n bonus bMatk,30;\n bonus bBaseAtk,30;\n}\nif (.@r>=11) {\n autobonus "{ bonus2 bMagicAtkEle,Ele_Neutral,20; bonus2 bMagicAtkEle,Ele_Holy,20; }",1,10000,BF_WEAPON;\n}'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`defense`,`slots`,`location_garment`,`armor_level`,`equip_level_min`,`refineable`,`script`) VALUES (20962,'Skin_Of_Typhon','Typhon\'s Skin','Armor',20,600,15,1,true,1,100,true,'bonus2 bSubRace,RC_Player_Human,5;\nbonus2 bSubRace,RC_DemiHuman,5;\nbonus2 bSubRace,RC_Fish,5;\nbonus2 bSubEle,Ele_Neutral,5;\nbonus2 bSubEle,Ele_Poison,5;\nbonus bAgi,5;\nbonus bVit,5;\nbonus bMdef,10;\n.@r = getrefine();\nif (.@r>=7) {\n .@sp = 10;\n if (.@r>=8) {\n .@s = (readparam(bAgi)+readparam(bVit))/20;\n bonus bMatk,15*.@s;\n bonus bDef,20*.@s;\n if (.@r>=9) {\n .@sp += 10;\n }\n }\n bonus bMagicSPGainValue,.@sp;\n}'); -REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`defense`,`slots`,`class_third`,`class_third_upper`,`class_third_baby`,`location_garment`,`armor_level`,`equip_level_min`,`refineable`,`script`) VALUES (20963,'Temporal_M_Str','Temporal Str Manteau','Armor',400,38,1,true,true,true,true,1,100,true,'.@r = getrefine();\nbonus2 bAddClass,Class_All,(.@r/2);\nbonus bBaseAtk,10*(.@r/2);\nbonus2 bAddSize,Size_All,5*(.@r/4);\nif (.@r>=7) {\n bonus2 bAddClass,Class_All,7;\n}\nif (.@r>=9) {\n bonus2 bIgnoreDefRaceRate,RC_Demon,20;\n bonus2 bIgnoreMDefRaceRate,RC_Demon,20;\n bonus2 bIgnoreDefRaceRate,RC_Brute,20;\n bonus2 bIgnoreMDefRaceRate,RC_Brute,20;\n}\nif (.@r>=11) {\n bonus2 bIgnoreDefRaceRate,RC_Demon,10;\n bonus2 bIgnoreMDefRaceRate,RC_Demon,10;\n bonus2 bIgnoreDefRaceRate,RC_Brute,10;\n bonus2 bIgnoreMDefRaceRate,RC_Brute,10;\n}'); -REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`defense`,`slots`,`class_third`,`class_third_upper`,`class_third_baby`,`location_garment`,`armor_level`,`equip_level_min`,`refineable`,`script`) VALUES (20964,'Temporal_M_Agi','Temporal Agi Manteau','Armor',400,38,1,true,true,true,true,1,100,true,'.@r = getrefine();\nbonus bCritAtkRate,3*(.@r/2);\nbonus bBaseAtk,10*(.@r/2);\nbonus2 bAddSize,Size_All,5*(.@r/4);\nif (.@r>=7) {\n bonus2 bAddClass,Class_All,7;\n}\nif (.@r>=9) {\n bonus2 bIgnoreDefRaceRate,RC_Demon,20;\n bonus2 bIgnoreMDefRaceRate,RC_Demon,20;\n bonus2 bIgnoreDefRaceRate,RC_Brute,20;\n bonus2 bIgnoreMDefRaceRate,RC_Brute,20;\n}\nif (.@r>=11) {\n bonus2 bIgnoreDefRaceRate,RC_Demon,10;\n bonus2 bIgnoreMDefRaceRate,RC_Demon,10;\n bonus2 bIgnoreDefRaceRate,RC_Brute,10;\n bonus2 bIgnoreMDefRaceRate,RC_Brute,10;\n}'); -REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`defense`,`slots`,`class_third`,`class_third_upper`,`class_third_baby`,`location_garment`,`armor_level`,`equip_level_min`,`refineable`,`script`) VALUES (20965,'Temporal_M_Vit','Temporal Vit Manteau','Armor',400,38,1,true,true,true,true,1,100,true,'.@r = getrefine();\nbonus bBaseAtk,10*(.@r/2);\nbonus bMaxHP,400*(.@r/2);\nbonus bMaxHPrate,3*(.@r/4);\nif (.@r>=7) {\n bonus2 bAddClass,Class_All,7;\n}\nif (.@r>=9) {\n bonus2 bIgnoreDefRaceRate,RC_Demon,20;\n bonus2 bIgnoreMDefRaceRate,RC_Demon,20;\n bonus2 bIgnoreDefRaceRate,RC_Brute,20;\n bonus2 bIgnoreMDefRaceRate,RC_Brute,20;\n}\nif (.@r>=11) {\n bonus2 bIgnoreDefRaceRate,RC_Demon,10;\n bonus2 bIgnoreMDefRaceRate,RC_Demon,10;\n bonus2 bIgnoreDefRaceRate,RC_Brute,10;\n bonus2 bIgnoreMDefRaceRate,RC_Brute,10;\n}'); -REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`defense`,`slots`,`class_third`,`class_third_upper`,`class_third_baby`,`location_garment`,`armor_level`,`equip_level_min`,`refineable`,`script`) VALUES (20966,'Temporal_M_Int','Temporal Int Manteau','Armor',400,38,1,true,true,true,true,1,100,true,'.@r = getrefine();\nbonus bMatkRate,(.@r/2);\nbonus bMatk,10*(.@r/2);\nbonus2 bMagicAtkEle,Ele_All,3*(.@r/4);\nif (.@r>=7) {\n bonus bMatkRate,7;\n}\nif (.@r>=9) {\n bonus2 bIgnoreDefRaceRate,RC_Demon,20;\n bonus2 bIgnoreMDefRaceRate,RC_Demon,20;\n bonus2 bIgnoreDefRaceRate,RC_Brute,20;\n bonus2 bIgnoreMDefRaceRate,RC_Brute,20;\n}\nif (.@r>=11) {\n bonus2 bIgnoreDefRaceRate,RC_Demon,10;\n bonus2 bIgnoreMDefRaceRate,RC_Demon,10;\n bonus2 bIgnoreDefRaceRate,RC_Brute,10;\n bonus2 bIgnoreMDefRaceRate,RC_Brute,10;\n}'); -REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`defense`,`slots`,`class_third`,`class_third_upper`,`class_third_baby`,`location_garment`,`armor_level`,`equip_level_min`,`refineable`,`script`) VALUES (20967,'Temporal_M_Dex','Temporal Dex Manteau','Armor',400,38,1,true,true,true,true,1,100,true,'.@r = getrefine();\nbonus bLongAtkRate,(.@r/2);\nbonus bBaseAtk,10*(.@r/2);\nbonus bCritAtkRate,3*(.@r/4);\nif (.@r>=7) {\n bonus2 bAddClass,Class_All,7;\n}\nif (.@r>=9) {\n bonus2 bIgnoreDefRaceRate,RC_Demon,20;\n bonus2 bIgnoreMDefRaceRate,RC_Demon,20;\n bonus2 bIgnoreDefRaceRate,RC_Brute,20;\n bonus2 bIgnoreMDefRaceRate,RC_Brute,20;\n}\nif (.@r>=11) {\n bonus2 bIgnoreDefRaceRate,RC_Demon,10;\n bonus2 bIgnoreMDefRaceRate,RC_Demon,10;\n bonus2 bIgnoreDefRaceRate,RC_Brute,10;\n bonus2 bIgnoreMDefRaceRate,RC_Brute,10;\n}'); -REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`defense`,`slots`,`class_third`,`class_third_upper`,`class_third_baby`,`location_garment`,`armor_level`,`equip_level_min`,`refineable`,`script`) VALUES (20968,'Temporal_M_Luk','Temporal Luk Manteau','Armor',400,38,1,true,true,true,true,1,100,true,'.@r = getrefine();\nbonus bCritAtkRate,3*(.@r/2);\nbonus bCritical,3*(.@r/2);\nbonus bAspdRate,5*(.@r/4);\nif (.@r>=7) {\n bonus2 bAddClass,Class_All,7;\n}\nif (.@r>=9) {\n bonus2 bIgnoreDefRaceRate,RC_Demon,20;\n bonus2 bIgnoreMDefRaceRate,RC_Demon,20;\n bonus2 bIgnoreDefRaceRate,RC_Brute,20;\n bonus2 bIgnoreMDefRaceRate,RC_Brute,20;\n}\nif (.@r>=11) {\n bonus2 bIgnoreDefRaceRate,RC_Demon,10;\n bonus2 bIgnoreMDefRaceRate,RC_Demon,10;\n bonus2 bIgnoreDefRaceRate,RC_Brute,10;\n bonus2 bIgnoreMDefRaceRate,RC_Brute,10;\n}'); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`defense`,`slots`,`location_garment`,`armor_level`,`equip_level_min`,`refineable`,`script`) VALUES (20963,'Temporal_M_Str','Temporal Str Manteau','Armor',400,38,1,true,1,100,true,'.@r = getrefine();\nbonus2 bAddClass,Class_All,(.@r/2);\nbonus bBaseAtk,10*(.@r/2);\nbonus2 bAddSize,Size_All,5*(.@r/4);\nif (.@r>=7) {\n bonus2 bAddClass,Class_All,7;\n}\nif (.@r>=9) {\n bonus2 bIgnoreDefRaceRate,RC_Demon,20;\n bonus2 bIgnoreMDefRaceRate,RC_Demon,20;\n bonus2 bIgnoreDefRaceRate,RC_Brute,20;\n bonus2 bIgnoreMDefRaceRate,RC_Brute,20;\n}\nif (.@r>=11) {\n bonus2 bIgnoreDefRaceRate,RC_Demon,10;\n bonus2 bIgnoreMDefRaceRate,RC_Demon,10;\n bonus2 bIgnoreDefRaceRate,RC_Brute,10;\n bonus2 bIgnoreMDefRaceRate,RC_Brute,10;\n}'); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`defense`,`slots`,`location_garment`,`armor_level`,`equip_level_min`,`refineable`,`script`) VALUES (20964,'Temporal_M_Agi','Temporal Agi Manteau','Armor',400,38,1,true,1,100,true,'.@r = getrefine();\nbonus bCritAtkRate,3*(.@r/2);\nbonus bBaseAtk,10*(.@r/2);\nbonus2 bAddSize,Size_All,5*(.@r/4);\nif (.@r>=7) {\n bonus2 bAddClass,Class_All,7;\n}\nif (.@r>=9) {\n bonus2 bIgnoreDefRaceRate,RC_Demon,20;\n bonus2 bIgnoreMDefRaceRate,RC_Demon,20;\n bonus2 bIgnoreDefRaceRate,RC_Brute,20;\n bonus2 bIgnoreMDefRaceRate,RC_Brute,20;\n}\nif (.@r>=11) {\n bonus2 bIgnoreDefRaceRate,RC_Demon,10;\n bonus2 bIgnoreMDefRaceRate,RC_Demon,10;\n bonus2 bIgnoreDefRaceRate,RC_Brute,10;\n bonus2 bIgnoreMDefRaceRate,RC_Brute,10;\n}'); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`defense`,`slots`,`location_garment`,`armor_level`,`equip_level_min`,`refineable`,`script`) VALUES (20965,'Temporal_M_Vit','Temporal Vit Manteau','Armor',400,38,1,true,1,100,true,'.@r = getrefine();\nbonus bBaseAtk,10*(.@r/2);\nbonus bMaxHP,400*(.@r/2);\nbonus bMaxHPrate,3*(.@r/4);\nif (.@r>=7) {\n bonus2 bAddClass,Class_All,7;\n}\nif (.@r>=9) {\n bonus2 bIgnoreDefRaceRate,RC_Demon,20;\n bonus2 bIgnoreMDefRaceRate,RC_Demon,20;\n bonus2 bIgnoreDefRaceRate,RC_Brute,20;\n bonus2 bIgnoreMDefRaceRate,RC_Brute,20;\n}\nif (.@r>=11) {\n bonus2 bIgnoreDefRaceRate,RC_Demon,10;\n bonus2 bIgnoreMDefRaceRate,RC_Demon,10;\n bonus2 bIgnoreDefRaceRate,RC_Brute,10;\n bonus2 bIgnoreMDefRaceRate,RC_Brute,10;\n}'); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`defense`,`slots`,`location_garment`,`armor_level`,`equip_level_min`,`refineable`,`script`) VALUES (20966,'Temporal_M_Int','Temporal Int Manteau','Armor',400,38,1,true,1,100,true,'.@r = getrefine();\nbonus bMatkRate,(.@r/2);\nbonus bMatk,10*(.@r/2);\nbonus2 bMagicAtkEle,Ele_All,3*(.@r/4);\nif (.@r>=7) {\n bonus bMatkRate,7;\n}\nif (.@r>=9) {\n bonus2 bIgnoreDefRaceRate,RC_Demon,20;\n bonus2 bIgnoreMDefRaceRate,RC_Demon,20;\n bonus2 bIgnoreDefRaceRate,RC_Brute,20;\n bonus2 bIgnoreMDefRaceRate,RC_Brute,20;\n}\nif (.@r>=11) {\n bonus2 bIgnoreDefRaceRate,RC_Demon,10;\n bonus2 bIgnoreMDefRaceRate,RC_Demon,10;\n bonus2 bIgnoreDefRaceRate,RC_Brute,10;\n bonus2 bIgnoreMDefRaceRate,RC_Brute,10;\n}'); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`defense`,`slots`,`location_garment`,`armor_level`,`equip_level_min`,`refineable`,`script`) VALUES (20967,'Temporal_M_Dex','Temporal Dex Manteau','Armor',400,38,1,true,1,100,true,'.@r = getrefine();\nbonus bLongAtkRate,(.@r/2);\nbonus bBaseAtk,10*(.@r/2);\nbonus bCritAtkRate,3*(.@r/4);\nif (.@r>=7) {\n bonus2 bAddClass,Class_All,7;\n}\nif (.@r>=9) {\n bonus2 bIgnoreDefRaceRate,RC_Demon,20;\n bonus2 bIgnoreMDefRaceRate,RC_Demon,20;\n bonus2 bIgnoreDefRaceRate,RC_Brute,20;\n bonus2 bIgnoreMDefRaceRate,RC_Brute,20;\n}\nif (.@r>=11) {\n bonus2 bIgnoreDefRaceRate,RC_Demon,10;\n bonus2 bIgnoreMDefRaceRate,RC_Demon,10;\n bonus2 bIgnoreDefRaceRate,RC_Brute,10;\n bonus2 bIgnoreMDefRaceRate,RC_Brute,10;\n}'); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`defense`,`slots`,`location_garment`,`armor_level`,`equip_level_min`,`refineable`,`script`) VALUES (20968,'Temporal_M_Luk','Temporal Luk Manteau','Armor',400,38,1,true,1,100,true,'.@r = getrefine();\nbonus bCritAtkRate,3*(.@r/2);\nbonus bCritical,3*(.@r/2);\nbonus bAspdRate,5*(.@r/4);\nif (.@r>=7) {\n bonus2 bAddClass,Class_All,7;\n}\nif (.@r>=9) {\n bonus2 bIgnoreDefRaceRate,RC_Demon,20;\n bonus2 bIgnoreMDefRaceRate,RC_Demon,20;\n bonus2 bIgnoreDefRaceRate,RC_Brute,20;\n bonus2 bIgnoreMDefRaceRate,RC_Brute,20;\n}\nif (.@r>=11) {\n bonus2 bIgnoreDefRaceRate,RC_Demon,10;\n bonus2 bIgnoreMDefRaceRate,RC_Demon,10;\n bonus2 bIgnoreDefRaceRate,RC_Brute,10;\n bonus2 bIgnoreMDefRaceRate,RC_Brute,10;\n}'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`defense`,`location_garment`,`armor_level`,`equip_level_min`,`refineable`,`script`) VALUES (20969,'Rainbow_Muffler_Jp','Rainbow Muffler','Armor',20,300,12,true,1,100,true,'.@r = getrefine();\n.@lvl = getskilllv("WM_GLOOMYDAY");\nif (.@r >= 7) {\n .@val = 10;\n} else if (.@r >= 5) {\n .@val = 5;\n}\nelse {\n .@val = 2;\n}\nbonus bMaxHPrate,.@val;\nbonus bMaxSPrate,.@val;\nbonus bMatkRate,.@val+(4*.@lvl);\nbonus2 bSubRace,RC_Player_Human,5;\nbonus2 bSubRace,RC_Player_Doram,5;\nbonus2 bSkillAtk,"WM_METALICSOUND",4*.@lvl;\nif (getskilllv("WM_FRIGG_SONG") == 5) {\n bonus2 bSkillCooldown,"WM_METALICSOUND",-200;\n bonus bAspdRate,10;\n}\nif (getskilllv("WM_LULLABY_DEEPSLEEP") == 5) {\n skill "AL_HEAL",10;\n bonus bMagicHPGainValue,200;\n bonus bMagicSPGainValue,20;\n}'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`defense`,`slots`,`location_garment`,`equip_level_min`,`refineable`,`script`) VALUES (20973,'Spiritual_Cloth','Spiritual Cloth','Armor',900,12,1,true,100,true,'.@r = getrefine();\nbonus bMdef,10;\nbonus bMaxHPrate,3;\nbonus bMaxSPrate,3;\nbonus bDelayrate,-5;\nbonus2 bSubRace,RC_DemiHuman,5;\nbonus2 bSubRace,RC_Player_Human,5;\nbonus2 bSubRace,RC_Player_Doram,5;\nif (.@r >= 5) {\n bonus bMaxHPrate,7;\n bonus bMaxSPrate,7;\n bonus bDelayrate,-5;\n}\nif (.@r >= 7) {\n bonus bMaxHPrate,10;\n bonus bMaxSPrate,10;\n bonus bDelayrate,-5;\n}'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_garment`,`armor_level`,`view`) VALUES (20985,'aegis_20985','Costume Gourd Bottle','Armor',true,1,82); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_garment`,`armor_level`,`view`) VALUES (20988,'C_Mechanical_Butterfly','Costume: Mechanical Butterfly','Armor',true,1,92); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_Garment`,`view`) VALUES (20989,'C_Mainspring_Screw','Costume Mainspring Screw','Armor',true,93); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_garment`,`armor_level`) VALUES (20990,'C_Rotating_Gears','Costume: Rotating Gears','Armor',true,1); 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`,`trade_override`,`trade_nodrop`,`script`) VALUES (21000,'Upg_Twohand_Sword','Upg Two-Handed Sword','Weapon','2hSword',20,1500,100,1,1,true,true,true,true,true,3,1,true,100,true,'.@r = getrefine();\nbonus bBaseAtk,(.@r*12);\nbonus bMatk,(.@r*5);\nif (BaseLevel>70)\n bonus bBaseAtk,(((BaseLevel-70)/10)*10);'); 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`,`script`) VALUES (21001,'Velum_Claymore','Vellum Claymore','Weapon','2hSword',20,3500,260,1,true,true,true,true,true,4,95,true,'bonus2 bAddRace,RC_Player_Human,80;\nbonus2 bAddRace,RC_Player_Doram,80;\nbonus2 bIgnoreDefRaceRate,RC_Player_Human,30;\nbonus2 bIgnoreDefRaceRate,RC_Player_Doram,30;\n.@r = getrefine();\nif (.@r>=6) {\n bonus2 bAddRace,RC_Player_Human,40;\n bonus2 bAddRace,RC_Player_Doram,40;\n}\nif (.@r>=9) {\n bonus bShortWeaponDamageReturn,20;\n bonus bMagicDamageReturn,20;\n bonus5 bAutoSpellWhenHit,"NPC_MAGICMIRROR",8,300,BF_MAGIC,0;\n}'); @@ -7145,6 +7151,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`,`slots`,`location_head_top`,`armor_level`,`equip_level_min`,`refineable`,`view`,`script`) VALUES (400044,'aegis_400044','Phantom Cap','Armor',100,1,true,1,130,true,1899,'.@r = getrefine();\nbonus bMatk,20*(.@r/2);\nif (.@r>=7) {\n bonus bVariableCastrate,-15;\n}\nif (.@r>=9) {\n bonus2 bMagicAtkEle,Ele_All,15;\n}\nif (.@r>=11) {\n bonus bFixedCast,-200;\n bonus2 bMagicAddSize,Size_Small,15;\n bonus2 bMagicAddSize,Size_Medium,15;\n}'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_head_top`,`armor_level`,`refineable`,`view`) VALUES (400045,'aegis_400045','Pierced apple','Armor',true,1,true,1952); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_head_top`,`armor_level`,`view`) VALUES (400046,'aegis_400046','Costume pierced apple','Armor',true,1,1952); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`slots`,`location_head_top`,`equip_level_min`,`refineable`,`view`,`script`) VALUES (400048,'Gift_of_Panagia','Gift of Panagia','Armor',200,1,true,100,true,1948,'.@r = getrefine();\nbonus bVit,5;\nbonus bInt,5;\nbonus bHealPower,10;\nbonus2 bResEff,Eff_Stun,5000;\nif (.@r>=7) {\n bonus bDelayrate,-20;\n bonus bHealPower,10;\n}\nif (.@r>=9)\n bonus bHealPower,20;\nif (.@r>=10)\n bonus bUseSPrate,-20;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`slots`,`location_head_top`,`armor_level`,`equip_level_min`,`refineable`,`view`,`script`) VALUES (400049,'aegis_400049','Stripe Hat','Armor',100,1,true,1,130,true,1728,'.@r = getrefine();\nbonus bBaseAtk,20*(.@r/2);\nif (.@r>=7) {\n bonus bVariableCastrate,-15;\n}\nif (.@r>=9) {\n bonus bLongAtkRate,15;\n}\nif (.@r>=11) {\n bonus bFixedCast,-200;\n bonus2 bAddSize,Size_Small,15;\n bonus2 bAddSize,Size_Medium,15;\n}'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`defense`,`slots`,`job_all`,`job_novice`,`location_head_top`,`armor_level`,`equip_level_min`,`refineable`,`view`,`script`) VALUES (400053,'Morrigane\'s_Helm_IL','Illusion Morrigane\'s Helm','Armor',500,15,1,true,false,true,1,130,true,257,'.@r = getrefine();\nbonus bCritical,5;\nbonus bStr,5;\nif (.@r>=7) {\n bonus bBaseAtk,50;\n}\nif (.@r>=9) {\n bonus bAspdRate,10;\n}'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`slots`,`location_head_top`,`armor_level`,`equip_level_min`,`refineable`,`view`,`script`) VALUES (400054,'Large_Sorcerer_Crown','Great Magician\'s Ceremonial Crown','Armor',100,1,true,1,130,true,1811,'.@r = getrefine();\nbonus bMatk,20*(.@r/2);\nif (.@r>=7) {\n bonus bVariableCastrate,-15;\n}\nif (.@r>=9) {\n bonus2 bMagicAtkEle,Ele_All,15;\n}\nif (.@r>=11) {\n bonus bFixedCast,-200;\n bonus2 bMagicAddSize,Size_Small,15;\n bonus2 bMagicAddSize,Size_Medium,15;\n}'); @@ -7152,6 +7159,7 @@ REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`job_all`,`jo REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_head_Low`,`armor_level`,`view`) VALUES (400056,'VIP_Hair_Female','Costume: Blue Devil Wig','Armor',true,1,1990); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_head_Low`,`armor_level`,`view`) VALUES (400057,'VIP_Hair_Male','Costume: Red Lotus Demon Wig','Armor',true,1,1989); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`slots`,`location_head_top`,`armor_level`,`equip_level_min`,`refineable`,`view`,`script`) VALUES (400059,'aegis_400059','Scorpio Celestial Coronet','Armor',100,1,true,1,130,true,606,'.@r = getrefine();\nbonus bMatk,20*(.@r/2);\nif (.@r>=7) {\n bonus bVariableCastrate,-15;\n}\nif (.@r>=9) {\n bonus2 bMagicAtkEle,Ele_All,15;\n}\nif (.@r>=11) {\n bonus bFixedCast,-200;\n bonus2 bMagicAddSize,Size_Small,15;\n bonus2 bMagicAddSize,Size_Medium,15;\n}'); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`defense`,`location_head_top`,`equip_level_min`,`refineable`,`view`,`script`) VALUES (400060,'Freyja_Crown_J','Shiny Kitty Crown','Armor',1000,18,true,100,true,328,'.@r = getrefine();\nbonus bMdef,15;\nbonus bDelayrate,-10;\nbonus2 bSkillAtk,"SU_CN_METEOR",10;\nbonus2 bSkillAtk,"SU_SV_STEMSPEAR",10;\nbonus bHPGainValue,30*.@r;\nbonus bSPGainValue,3*.@r;\nbonus bAspdRate,3*getskilllv("SU_CHATTERING");\nif (getskilllv("SU_SPIRITOFLAND") == 1) {\n .@val = -4*(getskilllv("SU_CN_POWDERING")+getskilllv("SU_CN_METEOR")+getskilllv("SU_NYANGGRASS")+getskilllv("SU_SV_STEMSPEAR")+getskilllv("SU_SV_ROOTTWIST"));\n bonus2 bVariableCastrate,"SU_CN_METEOR",.@val;\n bonus2 bVariableCastrate,"SU_SV_STEMSPEAR",.@val;\n}\nif (getskilllv("SU_NYANGGRASS") == 5)\n bonus bDelayrate,-20;\nif (getskilllv("SU_MEOWMEOW") == 5)\n bonus2 bMagicAddClass,Class_Boss,25;\nif (.@r>=7) {\n bonus2 bVariableCastrate,"SU_STOOP",-50;\n bonus2 bVariableCastrate,"SU_LOPE",-50;\n bonus2 bSkillAtk,"SU_CN_METEOR",15;\n bonus2 bSkillAtk,"SU_SV_STEMSPEAR",15;\n}\nif (.@r>=9) {\n bonus2 bVariableCastrate,"SU_STOOP",-50;\n bonus2 bVariableCastrate,"SU_LOPE",-50;\n bonus2 bSkillAtk,"SU_CN_METEOR",25;\n bonus2 bSkillAtk,"SU_SV_STEMSPEAR",25;\n}\nif (.@r>=10)\n autobonus "{ bonus bUseSPrate,-100; }",20,20000,BF_MAGIC;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`slots`,`location_head_top`,`armor_level`,`equip_level_min`,`refineable`,`view`,`script`) VALUES (400061,'aegis_400061','Sagittarius Celestial Coronet','Armor',100,1,true,1,130,true,618,'.@r = getrefine();\nbonus bBaseAtk,20*(.@r/2);\nif (.@r>=7) {\n bonus bVariableCastrate,-15;\n}\nif (.@r>=9) {\n bonus bLongAtkRate,15;\n}\nif (.@r>=11) {\n bonus bFixedCast,-200;\n bonus2 bAddSize,Size_Small,15;\n bonus2 bAddSize,Size_Medium,15;\n}'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_head_top`,`armor_level`) VALUES (400073,'C_Romance_Rose_TW','Costume Romantic Rose','Armor',true,1); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_head_top`,`armor_level`,`view`) VALUES (400074,'C_Disapear_Time_TW','Costume Lost Time','Armor',true,1,1998); @@ -7191,6 +7199,7 @@ 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`,`armor_level`,`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,1,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`,`armor_level`,`view`) VALUES (410029,'C_Wonder_Egg_Basket','Costume Wonder Egg Basket','Armor',true,1,2055); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_head_Mid`,`armor_level`,`view`) VALUES (410061,'C_Deviruchi_Apron','Costume Deviruchi Apron','Armor',true,1,2095); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_head_Mid`,`view`) VALUES (410095,'C_White_Cat_On_Shoulder','Costume White Cat on Shoulder','Armor',true,2151); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`location_head_mid`,`location_head_low`,`armor_level`,`equip_level_min`,`view`,`script`) VALUES (420003,'CD_In_MouthK','CD in Mouth','Armor',200,true,true,1,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`,`armor_level`,`view`) VALUES (420010,'C_Cons_Of_Darkness','Costume Dark Master','Armor',true,1,2020); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_head_Low`,`armor_level`,`view`) VALUES (420014,'aegis_420014','Costume Japanese Hair','Armor',true,1,2027); @@ -7205,8 +7214,10 @@ 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_Low`,`armor_level`,`view`) VALUES (420029,'C_Imperial_Glory','Costume: Imperial Glory','Armor',true,1,2056); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`location_head_low`,`armor_level`,`view`,`script`) VALUES (420030,'aegis_420030','A feather in the mouth','Armor',10,true,1,1143,'bonus bLongAtkRate,5;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`location_head_low`,`armor_level`,`view`,`script`) VALUES (420031,'aegis_420031','Ninja\'s Blue Mask','Armor',10,true,1,1089,'bonus bShortAtkRate,5;'); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_head_Low`,`view`) VALUES (420033,'aegis_420033','Costume Airy Twin Tails (White)','Armor',true,2028); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_head_Low`,`armor_level`,`view`) VALUES (420053,'C_Shadow_Devil','Costume Shadow Devil','Armor',true,1,2096); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`defense`,`location_head_low`,`armor_level`,`equip_level_min`,`view`,`script`) VALUES (420066,'SurviveOrb_K_LT','Survive Orb-LT','Armor',300,2,true,2,150,1488,'bonus2 bMagicAtkEle,Ele_All,7;\nbonus bVariableCastrate,-3;'); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_head_Low`,`view`) VALUES (420079,'aegis_420079','Costume Inner Color Long','Armor',true,2155); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`location_head_top`,`location_head_mid`,`armor_level`,`equip_level_min`,`view`,`script`) VALUES (436000,'aegis_436000','Thanatos\'s Maeror Mask','Armor',100,true,true,1,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`,`armor_level`,`equip_level_min`,`view`,`script`) VALUES (436001,'aegis_436001','Thanatos\'s Despero Mask','Armor',100,true,true,1,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`,`armor_level`,`equip_level_min`,`view`,`script`) VALUES (436002,'aegis_436002','Thanatos\'s Odium Mask','Armor',100,3,true,true,1,99,667,'bonus2 bSubRace,RC_Player_Human,5;\nbonus2 bSubRace,RC_Player_Doram,5;\nbonus bMaxHPrate,5;'); @@ -7396,6 +7407,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`,`defense`,`slots`,`location_garment`,`armor_level`,`equip_level_min`,`refineable`,`trade_override`,`trade_nodrop`,`trade_notrade`,`trade_nocart`,`trade_nostorage`,`trade_noguildstorage`,`trade_nomail`,`trade_noauction`,`script`) VALUES (480063,'E_Illusion_Engine_B','Illusion engine wing type B (attributable)','Armor',50,1,true,1,130,true,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`,`armor_level`,`view`) VALUES (480069,'C_Wing_Of_Angel_Move','Costume Heavenly Angel Wings','Armor',true,1,61); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_garment`,`armor_level`,`view`) VALUES (480071,'Calabash','Costume Vial','Armor',true,1,82); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`defense`,`slots`,`location_garment`,`equip_level_min`,`refineable`,`script`) VALUES (480077,'aegis_480077','Lava Manteau','Armor',300,25,1,true,100,true,'.@r = getrefine();\nbonus bMdef,5;\nbonus bMaxHPrate,2;\nbonus bMaxSPrate,2;\nbonus2 bAddSize,Size_All,5;\nbonus2 bSubClass,Class_Boss,5;\nbonus2 bSkillAtk,"NC_AXETORNADO",20*getskilllv("NC_AXEBOOMERANG");\nbonus2 bSkillAtk,"NC_POWERSWING",20*getskilllv("NC_AXEBOOMERANG");\nif (getskilllv("NC_MAGICDECOY") == 5)\n bonus bPerfectHitAddRate,50;\nif (getskilllv("NC_MAGMA_ERUPTION") == 5) {\n bonus2 bSubEle,Ele_Fire,50;\n bonus2 bSubEle,Ele_Earth,50;\n}\nif (.@r>=5) {\n bonus bMaxHPrate,3;\n bonus bMaxSPrate,3;\n bonus bAspdRate,5;\n}\nif (.@r>=7) {\n bonus bMaxHPrate,5;\n bonus bMaxSPrate,5;\n bonus bAspdRate,5;\n}'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`defense`,`slots`,`location_garment`,`armor_level`,`equip_level_min`,`refineable`,`script`) VALUES (480083,'Egirnion_Manteau','Aegirnion Manteau','Armor',300,40,1,true,1,140,true,'bonus bMaxHPrate,10;\nbonus bMaxSPrate,5;\nif (getrefine()>=9) {\n bonus bVariableCastrate,-10;\n}'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`defense`,`slots`,`location_garment`,`armor_level`,`equip_level_min`,`refineable`,`script`) VALUES (480090,'Gray_W_Muffler','Gray Wolf Muffler','Armor',900,70,1,true,1,190,true,'.@r = getrefine();\nbonus bMaxHP,1500+100*(.@r/2);\nif (.@r>=7) {\n bonus bVariableCastrate,-7;\n}'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`defense`,`slots`,`location_garment`,`armor_level`,`equip_level_min`,`refineable`,`script`) VALUES (480091,'Gray_W_Manteau','Gray Wolf Manteau','Armor',900,70,1,true,1,190,true,'.@r = getrefine();\nbonus bMaxHP,2500+150*(.@r/2);\nif (.@r>=7) {\n bonus bAspdRate,7;\n}'); @@ -7458,6 +7470,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_left_accessory`,`armor_level`,`equip_level_min`,`script`) VALUES (490091,'aegis_490091','Aegir necklace','Armor',200,5,1,true,1,40,'bonus bLongAtkRate,2;\nbonus bShortAtkRate,2;\nbonus bBaseAtk,10;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`defense`,`slots`,`location_right_accessory`,`armor_level`,`equip_level_min`,`script`) VALUES (490092,'Egirnion_Ring','Aegirnion Ring','Armor',200,10,1,true,1,140,'bonus2 bMagicAtkEle,Ele_All,5;\nbonus bMatk,30;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`defense`,`slots`,`location_left_accessory`,`armor_level`,`equip_level_min`,`script`) VALUES (490093,'Egirnion_Necklace','Aegirnion Necklace','Armor',200,10,1,true,1,140,'bonus bLongAtkRate,5;\nbonus bShortAtkRate,5;\nbonus bBaseAtk,30;'); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`slots`,`location_right_accessory`,`location_left_accessory`,`equip_level_min`,`script`) VALUES (490098,'aegis_490098','Ring of Pazuzu','Armor',100,1,true,true,100,'bonus bInt,7;\nbonus bMdef,15;\nbonus2 bMagicAddSize,Size_All,10;\nbonus2 bSkillAtk,"WZ_VERMILION",(BaseLevel*6);\nbonus2 bSkillAtk,"WL_CRIMSONROCK",(BaseLevel/3);\nbonus2 bSkillAtk,"WL_CHAINLIGHTNING",(BaseLevel/3);\nif (getskilllv("WL_CHAINLIGHTNING") == 5) {\n bonus2 bSkillUseSP,"WL_CHAINLIGHTNING",35;\n bonus2 bSkillCooldown,"WL_CHAINLIGHTNING",-500;\n}\nif (getskilllv("WL_DRAINLIFE") == 5) {\n bonus bVariableCastrate,-15;\n bonus bMagicHPGainValue,100;\n bonus bMagicSPGainValue,10;\n}\nif (getskilllv("WL_RADIUS") == 3) {\n bonus2 bMagicAtkEle,Ele_Fire,10;\n bonus2 bMagicAtkEle,Ele_Wind,10;\n bonus2 bMagicAtkEle,Ele_Neutral,10;\n}\nif (getskilllv("WL_RECOGNIZEDSPELL") == 5)\n bonus bDelayrate,-30;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`location_right_accessory`,`armor_level`,`script`) VALUES (490099,'Thanatos_Pendant','Thanatos\' Necklace','Armor',100,true,1,'bonus bMatkRate,5;\nbonus2 bAddClass,Class_All,5;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`slots`,`location_right_accessory`,`armor_level`,`script`) VALUES (490100,'Blue_Mental_Pendant','Red force pendant','Armor',100,1,true,1,'bonus bMatkRate,5;\nbonus2 bAddClass,Class_All,5;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`slots`,`location_right_accessory`,`armor_level`,`script`) VALUES (490101,'Red_Force_Pendant','Blue mental pendant','Armor',100,1,true,1,'bonus bMatkRate,5;\nbonus2 bAddClass,Class_All,5;'); diff --git a/sql-files/item_db_re_etc.sql b/sql-files/item_db_re_etc.sql index 34bc18a617..a564d4555b 100644 --- a/sql-files/item_db_re_etc.sql +++ b/sql-files/item_db_re_etc.sql @@ -1121,9 +1121,9 @@ 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`,`script`) VALUES (4847,'2011Valentin_Devil','Spelled Stone','Card',20,10,'bonus bBaseAtk,10;\nbonus bMatk,10;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`script`) VALUES (4848,'Immuned1','Immune Level 1','Card',20,'bonus2 bSubEle,Ele_Neutral,5;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`script`) VALUES (4849,'Cranial1','Cranial Level 1','Card',20,'bonus2 bSubRace,RC_DemiHuman,5;\nbonus2 bSubRace,RC_Player_Human,5;'); -REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`script`) VALUES (4850,'Heal_Amount3','Heal Amount2','Card',20,'bonus bHealPower,6;\nbonus bUseSPrate,5;'); -REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`script`) VALUES (4851,'Heal_Amount4','Heal Amount3','Card',20,'bonus bHealPower,12;\nbonus bUseSPrate,10;'); -REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`script`) VALUES (4852,'Heal_Amount5','Heal Amount4','Card',20,'bonus bHealPower,20;\nbonus bUseSPrate,15;'); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`script`) VALUES (4850,'Heal_Amount3','Archbishop2Lv','Card',20,'bonus bHealPower,6;\nbonus bUseSPrate,5;'); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`script`) VALUES (4851,'Heal_Amount4','Archbishop3Lv','Card',20,'bonus bHealPower,12;\nbonus bUseSPrate,10;'); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`script`) VALUES (4852,'Heal_Amount5','Archbishop4Lv','Card',20,'bonus bHealPower,20;\nbonus bUseSPrate,15;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`script`) VALUES (4853,'S_Str','Special Str','Card',20,'.@r = getrefine();\nbonus bStr,1;\nif (.@r>=8) {\n bonus bStr,3;\n if (.@r>=9) {\n bonus2 bAddClass,Class_All,1;\n if (.@r>=12) {\n bonus bFixedCastrate,-7;\n bonus bAspd,1;\n }\n }\n}'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`script`) VALUES (4854,'S_Agi','Special Agi','Card',20,'.@r = getrefine();\nbonus bAgi,1;\nif (.@r>=8) {\n bonus bAgi,3;\n if (.@r>=9) {\n bonus2 bAddClass,Class_All,1;\n if (.@r>=12) {\n bonus bFixedCastrate,-7;\n bonus bAspd,1;\n }\n }\n}'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`script`) VALUES (4855,'S_Vital','Special Vit','Card',20,'.@r = getrefine();\nbonus bVit,1;\nif (.@r>=8) {\n bonus bVit,3;\n if (.@r>=9) {\n bonus bMaxSP,1;\n if (.@r>=12) {\n bonus bFixedCastrate,-7;\n bonus bAspd,1;\n }\n }\n}'); diff --git a/sql-files/item_db_re_usable.sql b/sql-files/item_db_re_usable.sql index 0277297fc5..f81bd6bee8 100644 --- a/sql-files/item_db_re_usable.sql +++ b/sql-files/item_db_re_usable.sql @@ -196,6 +196,7 @@ REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`scr REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`trade_override`,`trade_nodrop`,`trade_notrade`,`trade_nocart`,`trade_nostorage`,`trade_noguildstorage`,`trade_nomail`,`trade_noauction`,`script`) VALUES (9529,'Ein_Ddbox2','Magical Modification Permit','DelayConsume',10,100,true,true,true,true,true,true,true,'/* upgradeui 9529; */'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`script`) VALUES (9550,'Gemstone_Of_Time','Gemstone of Time','Delayconsume',1,'/*upgradeui 9550;*/'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`script`) VALUES (9551,'Time_Unseal_Key','Time Unseal Key','Delayconsume',1,'/*upgradeui 9551;*/'); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`script`) VALUES (9553,'C_CatPaw_7Day_Box_','Endless Cat Hand Ticket 7day Box','Usable',10,'rentitem 22998,604800;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`script`) VALUES (9785,'Frozen_Box_IL','Frozen Refine Box','DelayConsume',10,'/* upgradeui 9785; */'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`nouse_override`,`nouse_sitting`,`trade_override`,`trade_nodrop`,`trade_notrade`,`trade_nosell`,`trade_nocart`,`trade_noguildstorage`,`trade_nomail`,`trade_noauction`,`script`) VALUES (9894,'aegis_9894','[Scroll] Adrenaline Lv.5 Scroll','Delayconsume',2,10,100,true,100,true,true,true,true,true,true,true,'itemskill "BS_ADRENALINE",5;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`nouse_override`,`nouse_sitting`,`trade_override`,`trade_nodrop`,`trade_notrade`,`trade_nosell`,`trade_nocart`,`trade_noguildstorage`,`trade_nomail`,`trade_noauction`,`script`) VALUES (9895,'aegis_9895','[Scroll] Abrasive','Usable',2,10,100,true,100,true,true,true,true,true,true,true,'specialeffect2 EF_MAGICALATTHIT;\nsc_start SC_INCCRI,300000,30;'); @@ -1101,8 +1102,8 @@ REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,` REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`) VALUES (12788,'No100_Firecracker','No100 Firecracker','Usable',2,20); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`) VALUES (12789,'Juicy_Fruit','Juicy Fruit','Usable',2,100); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`trade_override`,`trade_nodrop`,`trade_notrade`,`trade_nosell`,`trade_nocart`,`trade_noguildstorage`,`trade_nomail`,`trade_noauction`,`script`) VALUES (12790,'Change_Name_Card','Character Name Change Coupon','Usable',100,true,true,true,true,true,true,true,'CharRename++;'); -REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`script`) VALUES (12791,'Combat_Pill','Combat Pill','Usable',20,150,'specialeffect2 EF_POTION_BERSERK;\nbonus_script "{ bonus2 bAddClass,Class_All,5; bonus bMatkRate,5; bonus bMaxHPrate,3; bonus bMaxSPrate,3; }",60,0,0,EFST_GM_BATTLE;\n/* showscript */'); -REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`script`) VALUES (12792,'P_Combat_Pill','P Combat Pill','Usable',20,150,'specialeffect2 EF_POTION_BERSERK;\nbonus_script "{ bonus2 bAddClass,Class_All,10; bonus bMatkRate,10; bonus bMaxHPrate,5; bonus bMaxSPrate,5; }",60,0,0,EFST_GM_BATTLE;'); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`script`) VALUES (12791,'Combat_Pill','Combat Pill','Usable',20,150,'specialeffect2 EF_POTION_BERSERK;\nbonus_script "{ bonus2 bAddClass,Class_All,5; bonus bMatkRate,5; bonus bMaxHPrate,-3; bonus bMaxSPrate,-3; }",600,0,0,EFST_GM_BATTLE;\n/* showscript */'); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`script`) VALUES (12792,'P_Combat_Pill','P Combat Pill','Usable',20,150,'specialeffect2 EF_POTION_BERSERK;\nbonus_script "{ bonus2 bAddClass,Class_All,10; bonus bMatkRate,10; bonus bMaxHPrate,-5; bonus bMaxSPrate,-5; }",600,0,0,EFST_GM_BATTLE;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`script`) VALUES (12793,'Combat_Pill_Box10','Combat Pill Box10','Usable',20,'getitem 12791,10;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`script`) VALUES (12794,'P_Combat_Pill_Box10','P Combat Pill Box10','Usable',20,'getitem 12792,10;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`trade_override`,`trade_nodrop`,`trade_notrade`,`trade_nosell`,`trade_nocart`,`trade_noguildstorage`,`trade_nomail`,`trade_noauction`) VALUES (12795,'2011_RWC_Scroll_Kr','2011 RWC Scroll Kr','Usable',20,10,100,true,true,true,true,true,true,true); @@ -3191,6 +3192,8 @@ REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,` REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`class_all`,`trade_override`,`trade_nodrop`,`trade_notrade`,`trade_nosell`,`trade_nocart`,`trade_noguildstorage`,`trade_nomail`,`trade_noauction`,`script`) VALUES (22808,'NoviceBox','Special Gift Box','Usable',10,100,false,100,true,true,true,true,true,true,true,'getitem 7444,1;\ngetitem 12610,1;\ngetitem 12265,5;\ngetitem 22979,5;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`equip_level_min`,`trade_override`,`trade_nodrop`,`trade_notrade`,`trade_nosell`,`trade_nocart`,`trade_noguildstorage`,`trade_nomail`,`trade_noauction`,`script`) VALUES (22812,'Sealed_Dracula_Scroll','Sealed Dracula Scroll','Usable',10,10,1,100,true,true,true,true,true,true,true,'getitem callfunc("F_Rand",6228,6232,22813,19937,17314, 6635),1;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`equip_level_min`,`trade_override`,`trade_nodrop`,`trade_notrade`,`trade_nosell`,`trade_nocart`,`trade_noguildstorage`,`trade_nomail`,`trade_noauction`,`script`) VALUES (22813,'Bearer\'s_Shadow_Box','Bearer\'s Shadow Box','Usable',10,10,1,100,true,true,true,true,true,true,true,'getitem callfunc("F_Rand",24180,24181,24182,24183,24184,24185),1;'); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`trade_override`,`script`) VALUES (22814,'CatPaw_Ticket','Cat Hand Ticket','Usable',2,10,100,'callfunc "F_CashStore";'); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`trade_override`,`trade_nodrop`,`trade_notrade`,`trade_nosell`,`trade_nocart`,`trade_noguildstorage`,`trade_noauction`,`script`) VALUES (22819,'G_Almighty','Citizen Oda\'s Miracle Elixr','Usable',10,100,true,true,true,true,true,true,'bonus_script "{ bonus bAllStats,10; bonus bBaseAtk,30; bonus bMatk,30; }",3600;\nsc_start SC_SPEEDUP0,600000,25;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`equip_level_min`,`script`) VALUES (22822,'Summer_Vacation_Costumes','Summer Vacation Costumes','Usable',100,1,'sc_start SC_DRESSUP,600000,1;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`class_all`,`trade_override`,`trade_nodrop`,`trade_notrade`,`trade_nosell`,`trade_nocart`,`trade_noguildstorage`,`trade_nomail`,`trade_noauction`,`script`) VALUES (22823,'Sealed_Sniper_Scroll','Sealed Sniper Scroll','Usable',10,10,false,100,true,true,true,true,true,true,true,'/*getitem callfunc("F_Rand",4491,6228,6232,24196, Hasty Shadow Armor, 19882, 17474, 6635),1;*/'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`flag_container`,`script`) VALUES (22826,'Enchant_Stone_Box4','Costume Enchant Stone Box 4','Usable',10,true,'getgroupitem(IG_Enchant_Stone_Box4);'); @@ -3263,7 +3266,9 @@ 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`,`script`) VALUES (23080,'Cursed_Crystal','Cursed Crystal','Usable',1,500,'callfunc("F_Cursed_Crystal");'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`flag_container`,`script`) VALUES (23086,'Enchant_Stone_Box10','Costume Enchant Stone Box 10','Usable',10,true,'getgroupitem(IG_Enchant_Stone_Box10);'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`trade_override`,`trade_nodrop`,`trade_notrade`,`trade_nocart`,`trade_nostorage`,`trade_noguildstorage`,`trade_nomail`,`trade_noauction`,`script`) VALUES (23087,'Small_Leather_Bag','Small Leather Bag','Usable',100,true,true,true,true,true,true,true,'getitem 25180,1;\ngetitem 25181,1;\ngetitem 25182,1;\ngetitem 25183,1;\ngetitem 25184,1;\ngetitem 25185,1;'); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`trade_override`,`script`) VALUES (22998,'C_CatPaw_Ticket','Endless Cat Hand Ticket','Delayconsume',100,'callfunc "F_CashStore";'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`script`) VALUES (23100,'Drooping_Gunslinger_Scroll','Drooping Gunslinger Scroll','Delayconsume',10,'/*upgradeui 23100;*/'); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`flag_container`,`script`) VALUES (23115,'Class_Shadow_Cube','Class Shadow Cube','Usable',10,true,'getgroupitem(IG_CLASS_SHADOW_CUBE);'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`script`) VALUES (23123,'Bullet_Case_Flare','Flare Bullet Cartridge','Usable',10,250,'getitem 13228,500;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`script`) VALUES (23124,'Bullet_Case_Lighting','Lightning Bullet Cartridge','Usable',10,250,'getitem 13229,500;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`script`) VALUES (23125,'Bullet_Case_Ice','Ice Bullet Cartridge','Usable',10,250,'getitem 13230,500;'); @@ -3461,6 +3466,7 @@ REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`flag_noconsu REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`flag_noconsume`,`script`) VALUES (100073,'WL_MB_CM','Spell Book (Comet)','Delayconsume',true,'itemskill "WL_READING_SB_READING",9;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`flag_noconsume`,`script`) VALUES (100074,'WL_MB_TV','Spell Book (Tetra Vortex)','Delayconsume',true,'itemskill "WL_READING_SB_READING",10;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`flag_container`,`script`) VALUES (100083,'BackSignon_Box_TW','Korean Style Apple Hair Box (Middle)','Usable',10,true,'getitem callfunc("F_Rand",31754,31755,31756,31757,31758,31759,31760,31761),1;'); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`script`) VALUES (101097,'aegis_101097','[Scroll] Unlimited Drink','Usable',10,'bonus_script "{ bonus bMaxHPrate,5; bonus bMaxSPrate,5; bonus bCritAtkRate,5; bonus bLongAtkRate,5; bonus2 bMagicAddEle,Ele_All,5; bonus bNoCastCancel;}",1800;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`flag_container`,`script`) VALUES (101107,'Cannon_Box_Ice','Cannon Box Ice','Usable',250,true,'getitem 18005,500;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`flag_container`,`script`) VALUES (101108,'Cannon_Box_Lightning','Cannon Box Lightning','Usable',250,true,'getitem 18006,500;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`flag_container`,`script`) VALUES (101109,'Cannon_Box_Stone','Cannon Box Stone','Usable',250,true,'getitem 18007,500;'); @@ -3634,6 +3640,7 @@ REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`scr REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`script`) VALUES (100745,'Hero_LT_Refine_Magic','Hero\'s Weapon Modification Device (Magical)','DelayConsume',10,'/* upgradeui 100745; */'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`flag_container`,`script`) VALUES (100880,'aegis_100880','Piercing Shadow Box','Usable',10,true,'getitem callfunc("F_Rand",24157,24163,24164,24156,24160,24159,24165,24161,24162,24158),1;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`flag_container`,`script`) VALUES (100908,'aegis_100908','Magic Piercing Shadow Box','Usable',10,true,'getitem callfunc("F_Rand",24177,24171,24178,24170,24174,24173,24179,24175,24176,24172),1;'); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`script`) VALUES (101126,'aegis_101126','[Scroll] Halloween Candy','Healing',10,'percentheal 30,30;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`equip_level_min`,`script`) VALUES (1100003,'Concentrated_R_P','Concentrated Red Potion','Healing',10,2,120,'itemheal rand(655,675),0;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`equip_level_min`,`script`) VALUES (1100004,'Concentrated_B_P','Concentrated Blue Potion','Healing',10,2,120,'itemheal 0,rand(340,360);'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`equip_level_min`,`script`) VALUES (1100005,'Concentrated_G_P','Concentrated Gold Potion','Healing',10,2,180,'itemheal rand(2730,2750),0;'); diff --git a/src/map/itemdb.hpp b/src/map/itemdb.hpp index 9f8e3ef42e..4c44648413 100644 --- a/src/map/itemdb.hpp +++ b/src/map/itemdb.hpp @@ -761,6 +761,7 @@ enum e_random_item_group { IG_EASTER_EGG, IG_PITAPAT_BOX, IG_HAPPY_BOX_J, + IG_CLASS_SHADOW_CUBE, IG_MAX, }; diff --git a/src/map/script_constants.hpp b/src/map/script_constants.hpp index 16464b8730..22794dafd6 100644 --- a/src/map/script_constants.hpp +++ b/src/map/script_constants.hpp @@ -5268,6 +5268,7 @@ export_constant(IG_EASTER_EGG); export_constant(IG_PITAPAT_BOX); export_constant(IG_HAPPY_BOX_J); + export_constant(IG_CLASS_SHADOW_CUBE); /* unit stop walking */ export_constant(USW_NONE);