Super Power Shadow Weapon

Item ID 24619 Name Super Power Shadow Weapon
A pair of gloves that can draw the wearer's potential ability.
_______________________
Increases Melee and Ranged Physical Damage by 5%.
_______________________
Refine Level +7:
Increases Melee and Ranged Physical Damage by additional 5%.
_______________________
Refine Level +9:
Enables the use of Meltdown, skill level based on learned level of Weapon Research.
_______________________
When combined with Super Power Shadow Earring and Super Power Shadow Pendant:
Enables the use of Level 5 Shield Chain.

For each Refine Level*2 of entire set:
Increases damage of Back Stab, Raid, Shield Boomerang and Shield Chain by 1%.
_______________________
When combined with Super Novice Shadow Shield:
Ignores physical defense of all race, except Players, by 40%.

For each Refine Level of entire set:
Ignores physical defense of all race, except Players, by additional 1%.
_______________________
Type: Shadow Weapon
_______________________
Requirement:
Base Level 99
Novice
Weapon Level 0 Identifier S_Super_Power_Weapon
Attack 0 Type Shadow Equipment
MATK 0 Equip Locations Shadow Weapon
Defense 0 Equippable Jobs Novice, Super novice
Range 0 Equip Gender Both (Male and Female)
Slots 0 Equip Upper None
Weight 0 Min Equip Level 99
NPC Buy 0 Max Equip Level None
NPC Sell 0 Refineable Yes
Credit Price None Trade restriction None
Item Script
.@r = getrefine();
bonus bBaseAtk,.@r;
bonus bMatk,.@r;
bonus bLongAtkRate,5;
bonus bShortAtkRate,5;
if (.@r>=7) {
   bonus bLongAtkRate,5;
   bonus bShortAtkRate,5;
}
if (.@r>=9) {
   skill "BS_WEAPONRESEARCH",getskilllv("WS_MELTDOWN");
}

Set Script
Super Power Shadow Weapon
Super Novice Shadow Shield
.@sum = getequiprefinerycnt(EQI_SHADOW_WEAPON)+getequiprefinerycnt(EQI_SHADOW_SHIELD);
bonus2 bIgnoreDefRaceRate,RC_All,40+.@sum;
bonus2 bIgnoreDefRaceRate,RC_Player_Human,-40-.@sum;
bonus2 bIgnoreDefRaceRate,RC_Player_Doram,-40-.@sum;
Super Power Shadow Weapon
Super Power Shadow Pendant
Super Power Shadow Earring
.@sum = getequiprefinerycnt(EQI_SHADOW_WEAPON)+getequiprefinerycnt(EQI_SHADOW_ACC_L)+getequiprefinerycnt(EQI_SHADOW_ACC_R);
bonus2 bSkillAtk,"RG_BACKSTAP",.@sum*2;
bonus2 bSkillAtk,"RG_RAID",.@sum*2;
bonus2 bSkillAtk,"CR_SHIELDBOOMERANG",.@sum*2;
bonus2 bSkillAtk,"PA_SHIELDCHAIN",.@sum*2;
skill "PA_SHIELDCHAIN",5;