Sunshine Shadow Weapon

Item ID 24646 Name Sunshine Shadow Weapon
A pair of gloves that can draw the wearer's potential ability.
_______________________
Increases Melee Physical Damage by 3%.
_______________________
Refine Level +7:
Increases Melee Physical Damage by additional 3%.
_______________________
Refine Level +9:
Increases Melee Physical Damage by additional 4%.
_______________________
When equipped with Sunshine Shadow Shield and Sunshine Shadow Armor:
For each 2 Refine Levels of entire set:
Increases damage of Solar Burst by 1%.
_______________________
When equipped with Star Emperor Shadow Shoes:
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
Star Emperor
Weapon Level 0 Identifier S_Sunshine_Weapon
Attack 0 Type Shadow Equipment
MATK 0 Equip Locations Shadow Weapon
Defense 0 Equippable Jobs Star Gladiator
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;
if (.@r>=9) {
   bonus bShortAtkRate,10;
}
else if (.@r>=7) {
   bonus bShortAtkRate,6;
}
else {
   bonus bShortAtkRate,3;
}

Set Script
Sunshine Shadow Weapon
Star Emperor Shadow Shoes
.@sum = getequiprefinerycnt(EQI_SHADOW_WEAPON)+getequiprefinerycnt(EQI_SHADOW_SHOES);
bonus2 bIgnoreDefRaceRate,RC_All,40+.@sum;
bonus2 bIgnoreDefRaceRate,RC_Player_Human,-40-.@sum;
bonus2 bIgnoreDefRaceRate,RC_Player_Doram,-40-.@sum;
Sunshine Shadow Weapon
Sunshine Shadow Shield
Sunshine Shadow Armor
.@sum = getequiprefinerycnt(EQI_SHADOW_WEAPON)+getequiprefinerycnt(EQI_SHADOW_SHIELD)+getequiprefinerycnt(EQI_SHADOW_ARMOR);
bonus2 bSkillAtk,"SJ_SOLARBURST",.@sum/2;