Browse Source

Corrected the 'Script' of item 24252, 24423, 24424 (#5507)

Fixed #5501 
Thanks to @computer294 !
Atemo 4 years ago
parent
commit
45dc0448eb
2 changed files with 8 additions and 9 deletions
  1. 5 6
      db/re/item_db_equip.yml
  2. 3 3
      sql-files/item_db_re_equip.sql

+ 5 - 6
db/re/item_db_equip.yml

@@ -86867,10 +86867,11 @@ Body:
     Type: Shadowgear
     Locations:
       Shadow_Left_Accessory: true
-    EquipLevelMin: 1
     Refineable: true
     Script: |
-      .@r = getrefine(); bonus2 bSkillAtk,"AL_HOLYLIGHT",20+(5*.@r);
+      .@r = getrefine();
+      bonus bMaxHP,.@r*10;
+      bonus2 bSkillAtk,"AL_HOLYLIGHT",50+(.@r*10);
   - Id: 24253
     AegisName: S_Thief_Pendant
     Name: Thief Shadow Pendant
@@ -88977,20 +88978,18 @@ Body:
     Type: Shadowgear
     Locations:
       Shadow_Weapon: true
-    EquipLevelMin: 1
     Refineable: true
     Script: |
-      bonus2 bIgnoreDefClassRate,Class_Normal,5+(getrefine()/2);
+      bonus2 bIgnoreMdefClassRate,Class_Normal,5+(getrefine()/2);
   - Id: 24424
     AegisName: S_Tempest_Armor
     Name: Tempest Shadow Armor
     Type: Shadowgear
     Locations:
       Shadow_Armor: true
-    EquipLevelMin: 1
     Refineable: true
     Script: |
-      bonus2 bIgnoreDefClassRate,Class_Normal,5+(getrefine()/2);
+      bonus2 bIgnoreMdefClassRate,Class_Normal,5+(getrefine()/2);
   - Id: 26007
     AegisName: Illusion_Spectral_Spear
     Name: Illusion Spectral Spear

+ 3 - 3
sql-files/item_db_re_equip.sql

@@ -5227,7 +5227,7 @@ REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_sha
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_right_accessory`,`equip_level_min`,`refineable`,`script`) VALUES (24249,'S_Magician_Earring','Magician Shadow Earring','Shadowgear',true,1,true,'.@r = getrefine(); bonus2 bSkillUseSPrate,"MG_COLDBOLT",20+(3*.@r); bonus2 bSkillUseSPrate,"MG_FIREBOLT",20+(3*.@r); bonus2 bSkillUseSPrate,"MG_LIGHTNINGBOLT",20+(3*.@r);');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_left_accessory`,`equip_level_min`,`refineable`,`script`) VALUES (24250,'S_Swordman_Pendant','Swordman Shadow Pendant','Shadowgear',true,1,true,'.@r = getrefine(); bonus2 bSkillAtk,"SM_MAGNUM",20+(5*.@r);');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_left_accessory`,`equip_level_min`,`refineable`,`script`) VALUES (24251,'S_Merchant_Pendant','Merchant Shadow Pendant','Shadowgear',true,1,true,'.@r = getrefine(); bonus2 bSkillAtk,"MC_CARTREVOLUTION",20+(5*.@r);');
-REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_left_accessory`,`equip_level_min`,`refineable`,`script`) VALUES (24252,'S_Acolyte_Pendant','Acolyte Shadow Pendant','Shadowgear',true,1,true,'.@r = getrefine(); bonus2 bSkillAtk,"AL_HOLYLIGHT",20+(5*.@r);');
+REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_left_accessory`,`refineable`,`script`) VALUES (24252,'S_Acolyte_Pendant','Acolyte Shadow Pendant','Shadowgear',true,true,'.@r = getrefine();\nbonus bMaxHP,.@r*10;\nbonus2 bSkillAtk,"AL_HOLYLIGHT",50+(.@r*10);');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_left_accessory`,`equip_level_min`,`refineable`,`script`) VALUES (24253,'S_Thief_Pendant','Thief Shadow Pendant','Shadowgear',true,1,true,'.@r = getrefine(); bonus2 bSkillAtk,"TF_POISON",20+(5*.@r);');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_left_accessory`,`equip_level_min`,`refineable`,`script`) VALUES (24254,'S_Magician_Pendant','Magician Shadow Pendant','Shadowgear',true,1,true,'.@r = getrefine(); bonus2 bSkillAtk,"MG_FIREWALL",20+5*.@r;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_left_accessory`,`equip_level_min`,`refineable`,`script`) VALUES (24255,'S_Archer_Pendant','Archer Shadow Pendant','Shadowgear',true,1,true,'.@r = getrefine(); bonus2 bSkillAtk,"AC_SHOWER",20+(5*.@r);');
@@ -5397,8 +5397,8 @@ REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_sha
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_shoes`,`equip_level_min`,`refineable`,`trade_override`,`trade_nodrop`,`trade_notrade`,`trade_nocart`,`trade_nostorage`,`trade_noguildstorage`,`trade_nomail`,`trade_noauction`,`script`) VALUES (24419,'S_Temporal_Transcendent_Shoes','Temporal Transcendent Shadow Shoes','Shadowgear',true,1,true,100,true,true,true,true,true,true,true,'bonus bAspdRate,7;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_right_accessory`,`equip_level_min`,`refineable`,`trade_override`,`trade_nodrop`,`trade_notrade`,`trade_nocart`,`trade_nostorage`,`trade_noguildstorage`,`trade_nomail`,`trade_noauction`,`script`) VALUES (24420,'S_Temporal_Transcendent_Earring','Temporal Transcendent Shadow Earring','Shadowgear',true,1,true,100,true,true,true,true,true,true,true,'bonus bMatk,15;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_left_accessory`,`equip_level_min`,`refineable`,`trade_override`,`trade_nodrop`,`trade_notrade`,`trade_nocart`,`trade_nostorage`,`trade_noguildstorage`,`trade_nomail`,`trade_noauction`,`script`) VALUES (24421,'S_Temporal_Transcendent_Pendant','Temporal Transcendent Shadow Pendant','Shadowgear',true,1,true,100,true,true,true,true,true,true,true,'bonus bBaseAtk,15;');
-REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_weapon`,`equip_level_min`,`refineable`,`script`) VALUES (24423,'S_Tempest_Weapon','Tempest Shadow Weapon','Shadowgear',true,1,true,'bonus2 bIgnoreDefClassRate,Class_Normal,5+(getrefine()/2);');
-REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_armor`,`equip_level_min`,`refineable`,`script`) VALUES (24424,'S_Tempest_Armor','Tempest Shadow Armor','Shadowgear',true,1,true,'bonus2 bIgnoreDefClassRate,Class_Normal,5+(getrefine()/2);');
+REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_weapon`,`refineable`,`script`) VALUES (24423,'S_Tempest_Weapon','Tempest Shadow Weapon','Shadowgear',true,true,'bonus2 bIgnoreMdefClassRate,Class_Normal,5+(getrefine()/2);');
+REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_armor`,`refineable`,`script`) VALUES (24424,'S_Tempest_Armor','Tempest Shadow Armor','Shadowgear',true,true,'bonus2 bIgnoreMdefClassRate,Class_Normal,5+(getrefine()/2);');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`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`,`script`) VALUES (26007,'Illusion_Spectral_Spear','Illusion Spectral Spear','Weapon','2hSpear',20,2000,240,3,1,true,true,true,true,true,4,99,true,'.@r = getrefine(); .@val = 3*(.@r/2); bonus2 bAddEle,Ele_Dark,(20+.@val); bonus2 bAddRace,RC_Demon,(20+.@val); bonus2 bAddRace,RC_Undead,(20+.@val); bonus2 bSubRace,RC_Demon,(10+.@val); bonus2 bSubEle,Ele_Undead,(10+.@val); bonus2 bSubEle,Ele_Dark,(10+.@val); bonus bHPGainValue,50; bonus bSPGainValue,(.@r/2); bonus2 bAddEff2,Eff_Confusion,1000;');
 REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`subtype`,`price_buy`,`weight`,`attack`,`range`,`slots`,`job_crusader`,`job_knight`,`class_third`,`class_third_upper`,`class_third_baby`,`location_left_hand`,`location_right_hand`,`weapon_level`,`equip_level_min`,`refineable`,`script`) VALUES (26016,'Royal_Knight\'s_Lance','Royal Knight\'s Lance','Weapon','2hSpear',20,1000,205,1,2,true,true,true,true,true,true,true,3,175,true,'.@r = getrefine(); bonus bLongAtkRate,3*(.@r/2); if (.@r>=7) bonus2 bAddClass,Class_All,5; if (.@r>=9) bonus2 bAddRace,RC_All,15;');
 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 (26100,'Paradise_Foxtail_Staff_II','Eden Group Foxtail Staff II','Weapon','Staff',20,135,165,1,true,true,2,40,100,true,true,true,true,true,true,true,'bonus bDex,4; bonus bInt,4; bonus bLongAtkRate,6;');