Fixes location for 2 costumes (#6080)

Fixes #6079
This commit is contained in:
Everade 2021-07-09 01:51:46 +02:00 committed by GitHub
parent 3b5c2ee127
commit 43fd6043c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 9 deletions

View File

@ -81705,6 +81705,7 @@ Body:
Buy: 20
Locations:
Costume_Head_Top: true
Costume_Head_Mid: true
EquipLevelMin: 1
View: 468
Script: |
@ -81717,7 +81718,6 @@ Body:
Locations:
Costume_Head_Top: true
Costume_Head_Mid: true
Costume_Head_Low: true
EquipLevelMin: 1
View: 515
Script: |

View File

@ -554,7 +554,7 @@ REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`at
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_novice`,`job_priest`,`job_sage`,`job_soullinker`,`job_supernovice`,`job_wizard`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (1679,'Rafini_Staff_S','Laphine Staff','Weapon','Staff',20,500,30,180,1,2,true,true,true,true,true,true,true,true,true,true,3,100,true,'bonus bFixedCastRate,-getrefine();');
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_novice`,`job_priest`,`job_sage`,`job_soullinker`,`job_supernovice`,`job_wizard`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (1680,'Scarlet_Rod','Crimson One-Handed Staff','Weapon','Staff',10,600,60,70,1,2,true,true,true,true,true,true,true,true,true,true,3,70,true,'.@r = getrefine();\nbonus bInt,4;\nbonus bMatk,(((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`,`attack`,`range`,`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`) VALUES (1681,'Short_Foxtail_Staff','Short Foxtail Staff','Weapon','Staff',20,30,1,true,true,1,1,true,100,true,true,true,true,true,true);
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`weight`,`magic_attack`,`range`,`slots`,`job_wizard`,`class_third`,`class_third_upper`,`class_third_baby`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (1682,'Shadow_Staff','Shadow Staff','Weapon','Staff',600,130,1,2,true,true,true,true,true,4,90,true,'.@r = getrefine();\nbonus2 bSkillAtk,"WL_HELLINFERNO",(getskilllv("WL_HELLINFERNO") >= 5 ? 100 : 0) + (.@r*10);\nbonus2 bIgnoreMdefRaceRate,RC_All,5;\nautobonus "{ bonus2 bVariableCastrate,\"WL_HELLINFERNO\",-30; }",.@r*20,5000,BF_MAGIC,"{ specialeffect2 EF_SPELLBREAKER; }";');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`weight`,`magic_attack`,`range`,`slots`,`job_wizard`,`class_third`,`class_third_upper`,`class_third_baby`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (1682,'Shadow_Staff','Shadow Staff','Weapon','Staff',600,130,1,2,true,true,true,true,true,4,90,true,'.@r = getrefine();\nbonus2 bSkillAtk,"WL_HELLINFERNO",(getskilllv("WL_HELLINFERNO") >= 5 ? 100 : 0) + (.@r*10);\nbonus2 bIgnoreMdefRaceRate,RC_All,5;\nautobonus "{ bonus2 bVariableCastrate,\\"WL_HELLINFERNO\\",-30; }",.@r*20,5000,BF_MAGIC,"{ specialeffect2 EF_SPELLBREAKER; }";');
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 (1683,'Abundantly_Foxtail','Enriched Foxtail Staff','Weapon','Staff',20,200,50,70,1,1,true,true,2,12,true,'bonus bMaxSP,50;\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 (1684,'Long_Foxtail','Long Foxtail Staff','Weapon','Staff',20,200,50,2,1,true,true,2,12,true,'bonus bLongAtkRate,5;\nbonus bMaxHP,200;\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 (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;');
@ -564,11 +564,11 @@ 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 (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;');
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 (1693,'Magical_Y_Foxtail','Magical Yellow Foxtail Staff','Weapon','Staff',200000,700,140,280,1,1,true,true,4,175,true,'.@r = getrefine();\nbonus bMatkRate,3*(.@r/2);\nbonus4 bAutoSpellOnSkill,"SU_FRESHSHRIMP","SU_ARCLOUSEDASH",max(1,getskilllv("SU_ARCLOUSEDASH")),100;\nbonus4 bAutoSpellOnSkill,"SU_SV_STEMSPEAR","SU_FRESHSHRIMP",max(1,getskilllv("SU_FRESHSHRIMP")),100;\nif (.@r>=7) {\n .@r = min(.@r,10)-7;\n bonus bBaseAtk,(28*.@r)+56;\n bonus bMatk,(56*.@r)+112;\n}\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 (1694,'Model_Foxtail','Foxtail Model','Weapon','Staff',10000,300,150,1,3,true,true,2,60,true,'bonus bLongAtkRate,8;\nbonus bMaxHP,100;\n.@r = getrefine();\nbonus bDex,(.@r/3)*2;\nbonus bMaxSP,(.@r/3)*10;\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 (1695,'Detail_Model_Foxtail','Delicate Foxtail Model','Weapon','Staff',50000,300,195,1,2,true,true,3,100,true,'bonus bLongAtkRate,8;\nbonus bMaxHP,200;\n.@r = getrefine();\nbonus bDex,(.@r/3)*3;\nbonus bMaxSP,(.@r/3)*15;\nif (.@r>=7) {\n .@r = min(.@r,10)-7;\n bonus bBaseAtk,(39*.@r)+78;\n}\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 (1696,'Ex_Model_Foxtail','Exquisite Foxtail Model','Weapon','Staff',100000,300,240,1,2,true,true,3,140,true,'bonus bLongAtkRate,8;\nbonus bMaxHPrate,5;\n.@r = getrefine();\nbonus bDex,(.@r/2)*3;\nbonus bMaxSP,(.@r/2)*15;\nif (.@r>=7) {\n .@r = min(.@r,10)-7;\n bonus bBaseAtk,(48*.@r)+96;\n}\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 (1697,'Ex_Y_Model_Foxtail','Exquisite Yellow Foxtail Model','Weapon','Staff',200000,300,270,1,1,true,true,4,175,true,'bonus bLongAtkRate,9;\nbonus bMaxHPrate,7;\n.@r = getrefine();\nbonus bLongAtkRate,.@r/2;\nbonus bMaxSP,(.@r/2)*20;\nbonus4 bAutoSpellOnSkill,"SU_PICKYPECK","SU_FRESHSHRIMP",max(1,getskilllv("SU_FRESHSHRIMP")),100;\nif (.@r>=7) {\n .@r = min(.@r,10)-7;\n bonus bBaseAtk,(54*.@r)+108;\n}\nbonus bUnbreakableWeapon;');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`magic_attack`,`range`,`job_acolyte`,`job_mage`,`job_novice`,`job_supernovice`,`job_soullinker`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (1698,'Requiem_Arc_Wand','Requiem Arc Wand','Weapon','Staff',20,500,80,145,1,true,true,true,true,true,true,4,100,true,'.@r = getrefine();\n.@b = 40;\nif (.@r>=5) {\n .@b += (.@r-5)*15+20;\n}\nbonus2 bMagicAddRace2,RC2_BioLab,.@b;');
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 (1694,'Model_Foxtail','Foxtail Model','Weapon','Staff',10000,300,150,1,3,true,true,2,60,true,'bonus bLongAtkRate,8;\nbonus bMaxHP,100;\n.@r = getrefine();\nbonus bDex,(.@r/3)*2;\nbonus bMaxSP,(.@r/3)*10;');
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 (1695,'Detail_Model_Foxtail','Delicate Foxtail Model','Weapon','Staff',50000,300,195,1,2,true,true,3,100,true,'bonus bLongAtkRate,8;\nbonus bMaxHP,200;\n.@r = getrefine();\nbonus bDex,(.@r/3)*3;\nbonus bMaxSP,(.@r/3)*15;\nif (.@r>=7) {\n .@r = min(.@r,10)-7;\n bonus bBaseAtk,(39*.@r)+78;\n}');
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 (1696,'Ex_Model_Foxtail','Exquisite Foxtail Model','Weapon','Staff',100000,300,240,1,2,true,true,3,140,true,'bonus bLongAtkRate,8;\nbonus bMaxHPrate,5;\n.@r = getrefine();\nbonus bDex,(.@r/2)*3;\nbonus bMaxSP,(.@r/2)*15;\nif (.@r>=7) {\n .@r = min(.@r,10)-7;\n bonus bBaseAtk,(48*.@r)+96;\n}');
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 (1697,'Ex_Y_Model_Foxtail','Exquisite Yellow Foxtail Model','Weapon','Staff',200000,300,270,1,1,true,true,4,175,true,'bonus bLongAtkRate,9;\nbonus bMaxHPrate,7;\n.@r = getrefine();\nbonus bLongAtkRate,.@r/2;\nbonus bMaxSP,(.@r/2)*20;\nbonus4 bAutoSpellOnSkill,"SU_PICKYPECK","SU_FRESHSHRIMP",max(1,getskilllv("SU_FRESHSHRIMP")),100;\nif (.@r>=7) {\n .@r = min(.@r,10)-7;\n bonus bBaseAtk,(54*.@r)+108;\n}');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`magic_attack`,`range`,`job_acolyte`,`job_mage`,`job_novice`,`job_soullinker`,`job_supernovice`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (1698,'Requiem_Arc_Wand','Requiem Arc Wand','Weapon','Staff',20,500,80,145,1,true,true,true,true,true,true,4,100,true,'.@r = getrefine();\n.@b = 40;\nif (.@r>=5) {\n .@b += (.@r-5)*15+20;\n}\nbonus2 bMagicAddRace2,RC2_BioLab,.@b;');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`attack`,`magic_attack`,`range`,`job_summoner`,`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 (1699,'P_Foxtail1','Eden Group Foxtail I','Weapon','Staff',20,120,135,1,true,true,2,26,100,true,true,true,true,true,true,true,'bonus bDex,3;\nbonus bInt,3;\nbonus bLongAtkRate,5;');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`range`,`slots`,`job_archer`,`job_barddancer`,`job_hunter`,`job_rogue`,`job_thief`,`location_left_hand`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`) VALUES (1701,'Bow','Bow','Weapon','Bow',1000,500,15,5,3,true,true,true,true,true,true,true,1,4,true);
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`range`,`slots`,`job_archer`,`job_barddancer`,`job_hunter`,`job_rogue`,`job_thief`,`location_left_hand`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`) VALUES (1702,'Bow_','Bow','Weapon','Bow',1000,500,15,5,4,true,true,true,true,true,true,true,1,4,true);
@ -3996,8 +3996,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_head_top`,`equip_level_min`,`view`,`trade_override`,`trade_nodrop`,`script`) VALUES (19536,'C_Rose_Corsage','Costume Rose Corsage','Armor',true,1,533,100,true,'bonus bUnbreakableHelm;\nbonus bInt,1;');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_head_top`,`equip_level_min`,`view`,`script`) VALUES (19537,'C_Gryphon_Hat','Costume Gryphon Hat','Armor',true,1,591,'bonus bUnbreakableHelm;');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_costume_head_top`,`equip_level_min`,`view`,`script`) VALUES (19538,'Full_Moon','Full Moon','Armor',true,1,780,'autobonus "{ bonus bBaseAtk,50; }",10,5000,BF_WEAPON,"{ specialeffect2 EF_POTION_BERSERK; }";\nautobonus "{ bonus bMatk,50; }",5,5000,BF_MAGIC,"{ specialeffect2 EF_ENERGYCOAT; }";');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`location_costume_head_top`,`equip_level_min`,`view`,`script`) VALUES (19539,'C_Reginleif_Hairband','Costume Hairband Of Reginleif','Armor',20,true,1,468,'bonus bAllStats,1;');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`location_costume_head_top`,`location_costume_head_Mid`,`location_costume_head_Low`,`equip_level_min`,`view`,`script`) VALUES (19540,'C_Rabbit_Earplug','Costume Rabbit Earplugs','Armor',20,true,true,true,1,515,'bonus bAgi,1;\nbonus bFlee,2;');
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`,`script`) VALUES (19539,'C_Reginleif_Hairband','Costume Hairband Of Reginleif','Armor',20,true,true,1,468,'bonus bAllStats,1;');
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`,`script`) VALUES (19540,'C_Rabbit_Earplug','Costume Rabbit Earplugs','Armor',20,true,true,1,515,'bonus bAgi,1;\nbonus bFlee,2;');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`location_costume_head_Low`,`equip_level_min`,`view`,`script`) VALUES (19541,'C_Romantic_White_Flower','Costume Romantic White Flower','Armor',20,true,1,259,'bonus bUnbreakableHelm;');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`location_costume_head_Mid`,`equip_level_min`,`view`,`script`) VALUES (19542,'C_Devil_Whisper','Costume Devil Whisper','Armor',20,true,1,712,'bonus bUnbreakableHelm;\nbonus2 bSubRace,RC_Angel,1;\nbonus2 bSubRace,RC_Demon,1;\nbonus3 bAddMonsterDropItem,523,RC_Angel,400;\nbonus3 bAddMonsterDropItem,12020,RC_Demon,400;');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`location_costume_head_top`,`equip_level_min`,`view`,`script`) VALUES (19543,'Oliver_Wolf_Hood','Oliver Wolf Hood','Armor',20,300,true,70,849,'bonus bUnbreakableHelm;');