Corrected script for some item (#5686)

This commit is contained in:
idk-whoami 2021-01-13 21:52:53 +07:00 committed by GitHub
parent 51b6695c07
commit 48fca09807
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 44 additions and 46 deletions

View File

@ -96070,11 +96070,11 @@ Body:
EquipLevelMin: 1
Refineable: true
Script: |
bonus bMaxHP,20;
bonus bMaxSP,20;
bonus bMaxHP,20+10*getrefine();
bonus bMaxSP,10;
if (getrefine()>=7) {
bonus bMaxHP,1;
bonus bMaxSP,1;
bonus bMaxHPrate,1;
bonus bMaxSPrate,1;
}
- Id: 24026
AegisName: S_Athena_Shield
@ -96165,6 +96165,9 @@ Body:
EquipLevelMin: 1
Refineable: true
Script: |
.@r = getrefine();
bonus bBaseAtk,.@r;
bonus bMatk,10+.@r;
if (getrefine()>=7)
bonus bHealPower2,5;
- Id: 24034
@ -96878,9 +96881,9 @@ Body:
EquipLevelMin: 1
Refineable: true
Script: |
bonus bUseSPrate,-5;
if (getrefine()>=7) {bonus bSPrecovRate,5;
}
bonus bSPrecovRate,5;
if (getrefine()>=7)
bonus bSPrecovRate,5;
- Id: 24079
AegisName: S_Spiritual_Earring
Name: Spiritual Shadow Earring
@ -96891,6 +96894,8 @@ Body:
Refineable: true
Script: |
bonus bMaxSP,50;
if (getrefine()>=7)
bonus bMaxSPrate,1;
- Id: 24080
AegisName: S_Spiritual_Pendent
Name: Spiritual Shadow Pendant
@ -97246,7 +97251,7 @@ Body:
EquipLevelMin: 1
Refineable: true
Script: |
bonus bUseSPrate,1;
bonus bUseSPrate,-1;
if (getrefine()>=7)
bonus bSPrecovRate,5;
- Id: 24112
@ -97258,7 +97263,7 @@ Body:
EquipLevelMin: 1
Refineable: true
Script: |
bonus bUseSPrate,1+((getrefine()>=7)?1:0)+((getrefine()>=9)?1:0);
bonus bUseSPrate,-1+((getrefine()>=7)?1:0)+((getrefine()>=9)?1:0);
- Id: 24113
AegisName: S_Spell_Flow_Shield
Name: Spellflow Shadow Shield
@ -97268,7 +97273,7 @@ Body:
EquipLevelMin: 1
Refineable: true
Script: |
bonus bUseSPrate,1;
bonus bUseSPrate,-1;
if (getrefine()>=7)
bonus bMaxSPrate,1;
- Id: 24114
@ -97281,7 +97286,7 @@ Body:
Refineable: true
Script: |
skill "BS_GREED",1;
bonus2 bSkillUseSP,"BS_GREED",100-(getrefine()*10);
bonus2 bSkillUseSP,"BS_GREED",-100+(getrefine()*10);
- Id: 24115
AegisName: S_Greed_Shoes
Name: Grid Shadow Shoes
@ -98333,7 +98338,6 @@ Body:
AegisName: S_Expert_Shoes
Name: Expert Shadow Shoes
Type: Shadowgear
Buy: 20
Weight: 100
Locations:
Shadow_Shoes: true
@ -98341,7 +98345,7 @@ Body:
EquipLevelMax: 175
Refineable: true
Script: |
bonus2 bExpAddRace,RC_All,1;
bonus2 bExpAddRace,RC_All,(getrefine()/4);
- Id: 24209
AegisName: S_Expert_Shield
Name: Expert Shadow Shield
@ -98357,7 +98361,6 @@ Body:
AegisName: S_Beginner_Shoes
Name: Beginner Shadow Shoes
Type: Shadowgear
Buy: 20
Locations:
Shadow_Shoes: true
EquipLevelMin: 1
@ -98402,7 +98405,6 @@ Body:
AegisName: S_Advanced_Shoes
Name: Advanced Shadow Shoes
Type: Shadowgear
Buy: 20
Locations:
Shadow_Shoes: true
EquipLevelMin: 100
@ -98581,11 +98583,11 @@ Body:
Refineable: true
Script: |
.@r = getrefine();
bonus bAtk2,(5+.@r);
bonus bBaseAtk,(5+.@r);
if (.@r>=7)
bonus bMaxHPrate,1;
if (.@r>=9)
bonus bMaxSPrate,1;
if (.@r>=9)
bonus2 bAddClass,Class_All,1;
- Id: 24227
AegisName: S_Enhance_Spirit_Weapon
Name: Enhanced Soul Shadow Weapon
@ -98666,11 +98668,8 @@ Body:
EquipLevelMin: 1
Refineable: true
Script: |
bonus bFlee,5;
.@r = getrefine();
if (.@r>=2) {
bonus bCritical,2;
}
bonus bFlee,5+.@r/2;
if (.@r>=7) {
bonus bAspd,1;
}
@ -98686,11 +98685,8 @@ Body:
EquipLevelMin: 1
Refineable: true
Script: |
bonus bCritical,5;
.@r = getrefine();
if (.@r>=2) {
bonus bCritical,2;
}
bonus bCritical,5+.@r/2;
if (.@r>=7) {
bonus bAspd,1;
}
@ -98876,7 +98872,8 @@ Body:
Refineable: true
Script: |
.@r = getrefine();
bonus2 bSkillUseSPrate,"MC_MAMMONITE",20+(3*.@r);
bonus bMaxHP,.@r*10;
bonus2 bSkillAtk,"MC_Mammonite",20+(5*.@r);
- Id: 24248
AegisName: S_Acolyte_Earring
Name: Acolyte Shadow Earring
@ -98898,9 +98895,10 @@ Body:
Refineable: true
Script: |
.@r = getrefine();
bonus2 bSkillUseSPrate,"MG_COLDBOLT",20+(3*.@r);
bonus2 bSkillUseSPrate,"MG_FIREBOLT",20+(3*.@r);
bonus2 bSkillUseSPrate,"MG_LIGHTNINGBOLT",20+(3*.@r);
bonus bMaxHP,.@r*10;
bonus2 bVariableCastrate,"MG_COLDBOLT",-20-(5*.@r);
bonus2 bVariableCastrate,"MG_FIREBOLT",-20-(5*.@r);
bonus2 bVariableCastrate,"MG_LIGHTNINGBOLT",-20-(5*.@r);
- Id: 24250
AegisName: S_Swordman_Pendant
Name: Swordman Shadow Pendant

View File

@ -5183,7 +5183,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_weapon`,`equip_level_min`,`refineable`,`script`) VALUES (24022,'S_Magical_Weapon','Magical Weapon (Shadow)','Shadowgear',true,1,true,'bonus bMatk,10;\nif (getrefine()>=7) {\n bonus bMatkRate,1;\n}');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_left_accessory`,`equip_level_min`,`refineable`,`script`) VALUES (24023,'S_Magical_Pendant','Magical Pencil (Shadow)','Shadowgear',true,1,true,'bonus bMaxSP,50;\nif (getrefine()>=7) {\n bonus bMaxSPrate,1;\n}');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_armor`,`equip_level_min`,`refineable`,`script`) VALUES (24024,'S_Breezy_Armor','Breeze Armor (Shadow)','Shadowgear',true,1,true,'bonus bFlee,5+(getrefine()>=7 ? 10 : 0);');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_shoes`,`equip_level_min`,`refineable`,`script`) VALUES (24025,'S_Champion_Shoes','Champion Shoes (Shadow)','Shadowgear',true,1,true,'bonus bMaxHP,20;\nbonus bMaxSP,20;\nif (getrefine()>=7) {\n bonus bMaxHP,1;\n bonus bMaxSP,1;\n}');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_shoes`,`equip_level_min`,`refineable`,`script`) VALUES (24025,'S_Champion_Shoes','Champion Shoes (Shadow)','Shadowgear',true,1,true,'bonus bMaxHP,20+10*getrefine();\nbonus bMaxSP,10;\nif (getrefine()>=7) {\n bonus bMaxHPrate,1;\n bonus bMaxSPrate,1;\n}');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_shield`,`equip_level_min`,`refineable`,`script`) VALUES (24026,'S_Athena_Shield','Athena Shield (Shadow)','Shadowgear',true,1,true,'bonus bDef,(getrefine()>=7)?20:10;');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_armor`,`equip_level_min`,`refineable`,`script`) VALUES (24027,'S_Immune_Armor','Immune Shadow Armor','Shadowgear',true,1,true,'bonus2 bSubEle,Ele_Neutral,1;');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_armor`,`equip_level_min`,`refineable`,`script`) VALUES (24028,'S_Hard_Armor','Hard Shadow Armor','Shadowgear',true,1,true,'bonus bMaxHP,50;\nif (getrefine()>=7) {\n bonus bMaxHPrate,1;\n}');
@ -5191,7 +5191,7 @@ REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_sha
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_armor`,`equip_level_min`,`refineable`,`script`) VALUES (24030,'S_Critical_Armor','Critital Shadow Armor','Shadowgear',true,1,true,'bonus bCritical,(getrefine()>=7)?10:5;');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_weapon`,`equip_level_min`,`refineable`,`script`) VALUES (24031,'S_Kingbird_Weapon','Kingbird\'s Shadow Weapon','Shadowgear',true,1,true,'bonus bBaseAtk,10;\nif (getrefine()>=7) {\n bonus bLongAtkRate,1;\n}');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_weapon`,`equip_level_min`,`refineable`,`script`) VALUES (24032,'S_Cri_Hit_Weapon','Critical Hit Shadow Weapon','Shadowgear',true,1,true,'bonus bBaseAtk,10;\nif (getrefine()>=7) {\n bonus bCritAtkRate,1;\n}');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`magic_attack`,`location_shadow_weapon`,`equip_level_min`,`refineable`,`script`) VALUES (24033,'S_Healing_Weapon','Healing Shadow Weapon','Shadowgear',10,true,1,true,'if (getrefine()>=7)\n bonus bHealPower2,5;');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`magic_attack`,`location_shadow_weapon`,`equip_level_min`,`refineable`,`script`) VALUES (24033,'S_Healing_Weapon','Healing Shadow Weapon','Shadowgear',10,true,1,true,'.@r = getrefine();\nbonus bBaseAtk,.@r;\nbonus bMatk,10+.@r;\nif (getrefine()>=7)\n bonus bHealPower2,5;');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_weapon`,`equip_level_min`,`refineable`,`script`) VALUES (24034,'S_Lucky_Weapon','Lucky Shadow Weapon','Shadowgear',true,1,true,'bonus bLuk,1;\nif (getrefine()>=7) {\n bonus bLuk,1;\n}\nif (getrefine()>=9) {\n bonus bLuk,1;\n}');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_right_accessory`,`equip_level_min`,`refineable`,`script`) VALUES (24035,'S_Power_Earring','Power Shadow Earring','Shadowgear',true,1,true,'bonus bStr,1;\n.@r = getrefine();\nif (.@r>=7) {\n bonus bStr,1;\n}\nif (.@r>=9) {\n bonus bStr,1;\n}');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_left_accessory`,`equip_level_min`,`refineable`,`script`) VALUES (24036,'S_Int_Pendant','Intelligent Shadow Pendant','Shadowgear',true,1,true,'bonus bInt,1;\n.@r = getrefine();\nif (.@r>=7) {\n bonus bInt,1;\n}\nif (.@r>=9) {\n bonus bInt,1;\n}');
@ -5236,8 +5236,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_weapon`,`equip_level_min`,`refineable`,`script`) VALUES (24075,'S_Big_Weapon','Large Shadow Weapon','Shadowgear',true,1,true,'bonus2 bAddSize,Size_Large,2;\n.@r = getrefine();\nif (.@r>=7) {\n bonus2 bAddSize,Size_Large,1;\n}\nif (.@r>=9) {\n bonus2 bAddSize,Size_Large,2;\n}');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_weapon`,`equip_level_min`,`refineable`,`script`) VALUES (24076,'S_Medium_Weapon','Medium Shadow Weapon','Shadowgear',true,1,true,'bonus2 bAddSize,Size_Medium,2;\n.@r = getrefine();\nif (.@r>=7) {\n bonus2 bAddSize,Size_Medium,1;\n}\nif (.@r>=9) {\n bonus2 bAddSize,Size_Medium,2;\n}');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_weapon`,`equip_level_min`,`refineable`,`script`) VALUES (24077,'S_Small_Weapon','Small Shadow Weapon','Shadowgear',true,1,true,'bonus2 bAddSize,Size_Small,2;\n.@r = getrefine();\nif (.@r>=7) {\n bonus2 bAddSize,Size_Small,1;\n}\nif (.@r>=9) {\n bonus2 bAddSize,Size_Small,2;\n}');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_weapon`,`equip_level_min`,`refineable`,`script`) VALUES (24078,'S_Spiritual_Weapon','Spiritual Shadow Weapon','Shadowgear',true,1,true,'bonus bUseSPrate,-5;\nif (getrefine()>=7) {bonus bSPrecovRate,5;\n}');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_right_accessory`,`equip_level_min`,`refineable`,`script`) VALUES (24079,'S_Spiritual_Earring','Spiritual Shadow Earring','Shadowgear',true,1,true,'bonus bMaxSP,50;');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_weapon`,`equip_level_min`,`refineable`,`script`) VALUES (24078,'S_Spiritual_Weapon','Spiritual Shadow Weapon','Shadowgear',true,1,true,'bonus bSPrecovRate,5;\nif (getrefine()>=7)\n bonus bSPrecovRate,5;');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_right_accessory`,`equip_level_min`,`refineable`,`script`) VALUES (24079,'S_Spiritual_Earring','Spiritual Shadow Earring','Shadowgear',true,1,true,'bonus bMaxSP,50;\nif (getrefine()>=7)\n bonus bMaxSPrate,1;');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_left_accessory`,`equip_level_min`,`refineable`,`script`) VALUES (24080,'S_Spiritual_Pendent','Spiritual Shadow Pendant','Shadowgear',true,1,true,'bonus bMaxSPrate,(getrefine()>=7?2:1);');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_armor`,`equip_level_min`,`refineable`,`script`) VALUES (24081,'S_Malicious_Armor','Malicious Shas Shadow Armor','Shadowgear',true,1,true,'bonus bMaxHP,100;\nif (getrefine()>=7) {\n bonus bMaxHPrate,1;\n}');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_shoes`,`equip_level_min`,`refineable`,`script`) VALUES (24082,'S_Malicious_Shoes','Malicious Shas Shadow Shoes','Shadowgear',true,1,true,'bonus bMaxHPrate,(getrefine()>=7?2:1);');
@ -5269,10 +5269,10 @@ 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_left_accessory`,`equip_level_min`,`refineable`,`script`) VALUES (24108,'S_Curse_Lift_Pendent','Frozen Curse Shadow Pendant','Shadowgear',true,1,true,'bonus bDef,1;\nbonus2 bResEff,Eff_Curse,getrefine();');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_right_accessory`,`equip_level_min`,`refineable`,`script`) VALUES (24109,'S_Caster_earring','Caster Shadow Earrings','Shadowgear',true,1,true,'bonus bVariableCastrate,-1-((getrefine()>=7)?1:0);');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_weapon`,`equip_level_min`,`refineable`,`script`) VALUES (24110,'S_Caster_Weapon','Caster Shadow Weapon','Shadowgear',true,1,true,'.@r = getrefine();\nbonus bVariableCastrate,-1-((.@r>=7)?1:0)-((.@r>=9)?2:0);');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_shoes`,`equip_level_min`,`refineable`,`script`) VALUES (24111,'S_Spell_Flow_Shoes','Spellflow Shadow Shoes','Shadowgear',true,1,true,'bonus bUseSPrate,1;\nif (getrefine()>=7)\n bonus bSPrecovRate,5;');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_armor`,`equip_level_min`,`refineable`,`script`) VALUES (24112,'S_Spell_Flow_Armor','Spellflow Shadow Armor','Shadowgear',true,1,true,'bonus bUseSPrate,1+((getrefine()>=7)?1:0)+((getrefine()>=9)?1:0);');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_shield`,`equip_level_min`,`refineable`,`script`) VALUES (24113,'S_Spell_Flow_Shield','Spellflow Shadow Shield','Shadowgear',true,1,true,'bonus bUseSPrate,1;\nif (getrefine()>=7)\n bonus bMaxSPrate,1;');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_armor`,`equip_level_min`,`refineable`,`script`) VALUES (24114,'S_Greed_Armor','Grid Shadow Armor','Shadowgear',true,1,true,'skill "BS_GREED",1;\nbonus2 bSkillUseSP,"BS_GREED",100-(getrefine()*10);');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_shoes`,`equip_level_min`,`refineable`,`script`) VALUES (24111,'S_Spell_Flow_Shoes','Spellflow Shadow Shoes','Shadowgear',true,1,true,'bonus bUseSPrate,-1;\nif (getrefine()>=7)\n bonus bSPrecovRate,5;');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_armor`,`equip_level_min`,`refineable`,`script`) VALUES (24112,'S_Spell_Flow_Armor','Spellflow Shadow Armor','Shadowgear',true,1,true,'bonus bUseSPrate,-1+((getrefine()>=7)?1:0)+((getrefine()>=9)?1:0);');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_shield`,`equip_level_min`,`refineable`,`script`) VALUES (24113,'S_Spell_Flow_Shield','Spellflow Shadow Shield','Shadowgear',true,1,true,'bonus bUseSPrate,-1;\nif (getrefine()>=7)\n bonus bMaxSPrate,1;');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_armor`,`equip_level_min`,`refineable`,`script`) VALUES (24114,'S_Greed_Armor','Grid Shadow Armor','Shadowgear',true,1,true,'skill "BS_GREED",1;\nbonus2 bSkillUseSP,"BS_GREED",-100+(getrefine()*10);');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_shoes`,`equip_level_min`,`refineable`,`script`) VALUES (24115,'S_Greed_Shoes','Grid Shadow Shoes','Shadowgear',true,1,true,'skill "BS_GREED",1;\nbonus2 bSkillUseSP,"BS_GREED",-100+(getrefine()*10);');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_shield`,`equip_level_min`,`refineable`,`script`) VALUES (24116,'S_Greed_Shield','Grid Shadow Shield','Shadowgear',true,1,true,'skill "BS_GREED",1;\nbonus2 bSkillUseSP,"BS_GREED",-100+(getrefine()*10);');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_weapon`,`equip_level_min`,`refineable`,`script`) VALUES (24117,'S_Greed_Weapon','Grid Shadow Weapon','Shadowgear',true,1,true,'skill "BS_GREED",1;\nbonus2 bSkillUseSP,"BS_GREED",-100+(getrefine()*10);');
@ -5366,13 +5366,13 @@ 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_shield`,`equip_level_min`,`refineable`,`script`) VALUES (24205,'S_Damned_Shield','Damned Shadow Shield','Shadowgear',true,1,true,'.@r = getrefine();\n.@i = (.@r<7)?1:((.@r<9)?2:3);\nbonus2 bSubDefEle,Ele_Holy,.@i;\nbonus2 bMagicSubDefEle,Ele_Holy,.@i;');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_shield`,`equip_level_min`,`refineable`,`script`) VALUES (24206,'S_Geist_Shield','Exorcism Shadow Shield','Shadowgear',true,1,true,'.@r = getrefine();\n.@i = (.@r<7)?1:((.@r<9)?2:3);\nbonus2 bSubDefEle,Ele_Ghost,.@i;\nbonus2 bMagicSubDefEle,Ele_Ghost,.@i;');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_shield`,`equip_level_min`,`refineable`,`script`) VALUES (24207,'S_Divine_Shield','Divine Shadow Shield','Shadowgear',true,1,true,'.@r = getrefine();\n.@i = (.@r<7)?1:((.@r<9)?2:3);\nbonus2 bSubDefEle,Ele_Undead,.@i;\nbonus2 bMagicSubDefEle,Ele_Undead,.@i;');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`location_shadow_shoes`,`equip_level_min`,`equip_level_max`,`refineable`,`script`) VALUES (24208,'S_Expert_Shoes','Expert Shadow Shoes','Shadowgear',20,100,true,150,175,true,'bonus2 bExpAddRace,RC_All,1;');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`weight`,`location_shadow_shoes`,`equip_level_min`,`equip_level_max`,`refineable`,`script`) VALUES (24208,'S_Expert_Shoes','Expert Shadow Shoes','Shadowgear'100,true,150,175,true,'bonus2 bExpAddRace,RC_All,(getrefine()/4);');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_shield`,`equip_level_min`,`equip_level_max`,`refineable`,`script`) VALUES (24209,'S_Expert_Shield','Expert Shadow Shield','Shadowgear',true,150,175,true,'bonus2 bExpAddRace,RC_All,(getrefine()/4);');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`location_shadow_shoes`,`equip_level_min`,`equip_level_max`,`refineable`,`script`) VALUES (24210,'S_Beginner_Shoes','Beginner Shadow Shoes','Shadowgear',20,true,1,49,true,'bonus2 bExpAddRace,RC_All,getrefine();');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_shoes`,`equip_level_min`,`equip_level_max`,`refineable`,`script`) VALUES (24210,'S_Beginner_Shoes','Beginner Shadow Shoes','Shadowgear'true,1,49,true,'bonus2 bExpAddRace,RC_All,getrefine();');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_shield`,`equip_level_min`,`equip_level_max`,`refineable`,`script`) VALUES (24211,'S_Beginner_Shield','Beginner Shadow Shield','Shadowgear',true,1,49,true,'bonus2 bExpAddRace,RC_All,getrefine();');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_shoes`,`equip_level_min`,`equip_level_max`,`refineable`,`script`) VALUES (24212,'S_Rookie_Shoes','Rookie Shadow Shoes','Shadowgear',true,50,99,true,'bonus2 bExpAddRace,RC_All,(getrefine()/2);');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_shield`,`equip_level_min`,`equip_level_max`,`refineable`,`script`) VALUES (24213,'S_Rookie_Shield','Rookie Shadow Shield','Shadowgear',true,50,99,true,'bonus2 bExpAddRace,RC_All,(getrefine()/2);');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`location_shadow_shoes`,`equip_level_min`,`equip_level_max`,`refineable`,`script`) VALUES (24214,'S_Advanced_Shoes','Advanced Shadow Shoes','Shadowgear',20,true,100,149,true,'bonus2 bExpAddRace,RC_All,(getrefine()/3);');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_shoes`,`equip_level_min`,`equip_level_max`,`refineable`,`script`) VALUES (24214,'S_Advanced_Shoes','Advanced Shadow Shoes','Shadowgear',true,100,149,true,'bonus2 bExpAddRace,RC_All,(getrefine()/3);');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_shield`,`equip_level_min`,`equip_level_max`,`refineable`,`script`) VALUES (24215,'S_Advanced_Shield','Advanced Shadow Shield','Shadowgear',true,100,149,true,'bonus2 bExpAddRace,RC_All,(getrefine()/3);');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`location_shadow_armor`,`equip_level_min`,`refineable`,`script`) VALUES (24216,'S_Attack_Armor','Attack Shadow Armor','Shadowgear',10,true,1,true,'.@r = getrefine();\nautobonus "{ bonus bBaseAtk,("+.@r+"*5); }",(.@r*2)+10,3000,BF_NORMAL;');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`location_shadow_right_accessory`,`equip_level_min`,`refineable`,`script`) VALUES (24217,'S_Blitz_Earring','Blitz Shadow Earring','Shadowgear',10,true,1,true,'.@r = getrefine();\nbonus bHit,(.@r/2)+5;\nif (.@r>=7) {\n bonus bAspd,1;\n}');
@ -5384,13 +5384,13 @@ 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`,`job_alchemist`,`job_assassin`,`job_barddancer`,`job_blacksmith`,`job_crusader`,`job_hunter`,`job_knight`,`job_monk`,`job_priest`,`job_rogue`,`job_sage`,`job_wizard`,`class_third`,`class_third_upper`,`class_third_baby`,`location_shadow_weapon`,`equip_level_min`,`refineable`,`script`) VALUES (24223,'S_Enhance_Force_Weapon','Enhanced Force Shadow Weapon','Shadowgear',10,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,100,true,'bonus bAtk2,10;\nbonus2 bAddClass,Class_All,(getrefine()/2);');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`location_shadow_weapon`,`equip_level_min`,`refineable`,`script`) VALUES (24224,'S_Force_Weapon','Force Shadow Weapon','Shadowgear',10,true,70,true,'.@r = getrefine();\nbonus2 bAddClass,Class_All,(.@r<7)?1:((.@r<9)?2:3);');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`location_shadow_right_accessory`,`equip_level_min`,`refineable`,`script`) VALUES (24225,'S_Force_Earring','Force Shadow Earring','Shadowgear',10,true,70,true,'.@r = getrefine();\nbonus bAtk2,(5+.@r);\nif (.@r>=7)\n bonus bMaxHPrate,1;\nif (.@r>=9)\n bonus bMaxSPrate,1;');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`location_shadow_left_accessory`,`equip_level_min`,`refineable`,`script`) VALUES (24226,'S_Force_Pendant','Force Shadow Pendant','Shadowgear',10,true,70,true,'.@r = getrefine();\nbonus bAtk2,(5+.@r);\nif (.@r>=7)\n bonus bMaxHPrate,1;\nif (.@r>=9)\n bonus bMaxSPrate,1;');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`location_shadow_left_accessory`,`equip_level_min`,`refineable`,`script`) VALUES (24226,'S_Force_Pendant','Force Shadow Pendant','Shadowgear',10,true,70,true,'.@r = getrefine();\nbonus bBaseAtk,(5+.@r);\nif (.@r>=7)\n bonus bMaxSPrate,1;\nif (.@r>=9)\n bonus2 bAddClass,Class_All,1;');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`job_alchemist`,`job_assassin`,`job_barddancer`,`job_blacksmith`,`job_crusader`,`job_hunter`,`job_knight`,`job_monk`,`job_priest`,`job_rogue`,`job_sage`,`job_wizard`,`class_third`,`class_third_upper`,`class_third_baby`,`location_shadow_weapon`,`equip_level_min`,`refineable`,`script`) VALUES (24227,'S_Enhance_Spirit_Weapon','Enhanced Soul Shadow Weapon','Shadowgear',10,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,100,true,'bonus bMatk,10;\nbonus bMatkRate,(getrefine()/2);');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`location_shadow_weapon`,`equip_level_min`,`refineable`,`script`) VALUES (24228,'S_Spirit_Weapon','Soul Shadow Weapon','Shadowgear',10,true,70,true,'.@r = getrefine();\nbonus bMatkRate,(.@r<7)?1:((.@r<9)?2:3);');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`location_shadow_right_accessory`,`equip_level_min`,`refineable`,`script`) VALUES (24229,'S_Spirit_Earring','Soul Shadow Earring','Shadowgear',10,true,70,true,'.@r = getrefine();\nbonus bMatk,(5+.@r);\nif (.@r>=7)\n bonus bMaxHPrate,1;\nif (.@r>=9)\n bonus bMatkRate,1;');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`location_shadow_left_accessory`,`equip_level_min`,`refineable`,`script`) VALUES (24230,'S_Spirit_Pendant','Soul Shadow Pendant','Shadowgear',10,true,70,true,'.@r = getrefine();\nbonus bMatk,(5+.@r);\nif (.@r>=7)\n bonus bMaxHPrate,1;\nif (.@r>=9)\n bonus bMatkRate,1;');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_shoes`,`equip_level_min`,`refineable`,`script`) VALUES (24231,'S_Blitz_Shoes','Blitz Shadow Shoes','Shadowgear',true,1,true,'bonus bFlee,5;\n.@r = getrefine();\nif (.@r>=2) {\n bonus bCritical,2;\n}\nif (.@r>=7) {\n bonus bAspd,1;\n}\nif (.@r>=9) {\n bonus bAspd,1;\n}');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_shield`,`equip_level_min`,`refineable`,`script`) VALUES (24232,'S_Blitz_Shield','Blitz Shadow Shield','Shadowgear',true,1,true,'bonus bCritical,5;\n.@r = getrefine();\nif (.@r>=2) {\n bonus bCritical,2;\n}\nif (.@r>=7) {\n bonus bAspd,1;\n}\nif (.@r>=9) {\n bonus bAspd,1;\n}');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_shoes`,`equip_level_min`,`refineable`,`script`) VALUES (24231,'S_Blitz_Shoes','Blitz Shadow Shoes','Shadowgear',true,1,true,'.@r = getrefine();\nbonus bFlee,5+.@r/2;\nif (.@r>=7) {\n bonus bAspd,1;\n}\nif (.@r>=9) {\n bonus bAspd,1;\n}');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_shield`,`equip_level_min`,`refineable`,`script`) VALUES (24232,'S_Blitz_Shield','Blitz Shadow Shield','Shadowgear',true,1,true,'.@r = getrefine();\nbonus bCritical,5+.@r/2;\nif (.@r>=7) {\n bonus bAspd,1;\n}\nif (.@r>=9) {\n bonus bAspd,1;\n}');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_weapon`,`equip_level_min`,`refineable`,`script`) VALUES (24233,'S_Exceed_Weapon','Exceeding Shadow Weapon','Shadowgear',true,100,true,'.@r = getrefine()/2;\nbonus bBaseAtk,5;\nbonus bMatk,5;\nbonus2 bAddClass,Class_All,.@r;\nbonus bMatkRate,.@r;');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_right_accessory`,`equip_level_min`,`refineable`,`script`) VALUES (24234,'S_Titan_Earring','Titan Shadow Earring','Shadowgear',true,1,true,'.@r = getrefine();\n.@rate = (.@r<7)?1:((.@r<9)?2:4);\nbonus2 bAddSize,Size_Large,.@rate;\nbonus2 bMagicAddSize,Size_Large,.@rate;');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_left_accessory`,`equip_level_min`,`refineable`,`script`) VALUES (24235,'S_Titan_Pendant','Titan Shadow Pendant','Shadowgear',true,1,true,'.@r = getrefine();\n.@rate = (.@r<7)?1:((.@r<9)?2:4);\nbonus2 bAddSize,Size_Large,.@rate;\nbonus2 bMagicAddSize,Size_Large,.@rate;');
@ -5405,9 +5405,9 @@ REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_sha
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_shield`,`equip_level_min`,`refineable`,`script`) VALUES (24244,'S_Reload_Shield','Reload Shadow Shield','Shadowgear',true,1,true,'.@r = getrefine();\nbonus bDelayrate,(.@r<7)?-1:((.@r<9)?-2:-3);');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_armor`,`equip_level_min`,`refineable`,`script`) VALUES (24245,'S_Reload_Armor','Reload Shadow Armor','Shadowgear',true,1,true,'.@r = getrefine();\nbonus bDelayrate,(.@r<7)?-1:((.@r<9)?-2:-3);');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_right_accessory`,`equip_level_min`,`refineable`,`script`) VALUES (24246,'S_Swordman_Earring','Swordman Shadow Earring','Shadowgear',true,1,true,'.@r = getrefine();\nbonus2 bSkillUseSPrate,"SM_BASH",20+(3*.@r);');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_right_accessory`,`equip_level_min`,`refineable`,`script`) VALUES (24247,'S_Merchant_Earring','Merchant Shadow Earring','Shadowgear',true,1,true,'.@r = getrefine();\nbonus2 bSkillUseSPrate,"MC_MAMMONITE",20+(3*.@r);');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_right_accessory`,`equip_level_min`,`refineable`,`script`) VALUES (24247,'S_Merchant_Earring','Merchant Shadow Earring','Shadowgear',true,1,true,'.@r = getrefine();\nbonus bMaxHP,.@r*10;\nbonus2 bSkillAtk,"MC_Mammonite",20+(5*.@r);');
REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`location_shadow_right_accessory`,`equip_level_min`,`refineable`,`script`) VALUES (24248,'S_Acolyte_Earring','Acolyte Shadow Earring','Shadowgear',true,1,true,'.@r = getrefine();\nbonus2 bSkillUseSPrate,"AL_HEAL",20+(3*.@r);');
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();\nbonus2 bSkillUseSPrate,"MG_COLDBOLT",20+(3*.@r);\nbonus2 bSkillUseSPrate,"MG_FIREBOLT",20+(3*.@r);\nbonus2 bSkillUseSPrate,"MG_LIGHTNINGBOLT",20+(3*.@r);');
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();\nbonus bMaxHP,.@r*10;\nbonus2 bVariableCastrate,"MG_COLDBOLT",-20-(5*.@r);\nbonus2 bVariableCastrate,"MG_FIREBOLT",-20-(5*.@r);\nbonus2 bVariableCastrate,"MG_LIGHTNINGBOLT",-20-(5*.@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();\nbonus2 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();\nbonus2 bSkillAtk,"MC_CARTREVOLUTION",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);');