Rainstorm Shadow Shield

Item ID 24501 Name Rainstorm Shadow Shield
A small shield worn on the arm for additional defense. Needs a complete set to have bonus effect.
_______________________
Increases Ranged Physical Damage by 3%.
_______________________
Refine Level +7:
Increases Ranged Physical Damage by additional 3%.
_______________________
Refine Level +9:
Increases Ranged Physical Damage by additional 4%.
_______________________
When equipped with Rainstorm Shadow Armor and Rainstorm Shadow Shoes:
For each Refine Level of entire set:
Increases damage of Severe Rainstorm by 1%.
_______________________
When equipped with Minstrel Shadow Weapon or Wanderer Shadow Weapon:
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 Shield
_______________________
Requirement:
Base Level 99
Minstrel and Wanderer
Weapon Level 0 Identifier S_Rainstorm_Shield
Attack 0 Type Shadow Equipment
MATK 0 Equip Locations Shadow Shield
Defense 0 Equippable Jobs Bard / Dancer
Range 0 Equip Gender Both (Male and Female)
Slots 0 Equip Upper Third, Third Upper, Third Baby
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 bMaxHP,.@r*10;
if (.@r>=9) {
   bonus bLongAtkRate,10;
}
else if (.@r>=7) {
   bonus bLongAtkRate,6;
}
else {
   bonus bLongAtkRate,3;
}

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