Ranger Shadow Shield

Item ID 24311 Name Ranger Shadow Shield
A small shield worn on the arm for additional defense. Needs a complete set to have bonus effect.
_______________________
Decreases SP Consumption of Aimed Bolt by 20%.
_______________________
For each Refine Level:
Decreases SP Consumption of Aimed Bolt by additional 5%.
_______________________
When equipped with Ranger Shadow Weapon:
Increases damage of Cluster Bomb and Aimed Bolt by 20%.
_______________________
When equipped with 2 types of Archer Shadow, Hunter Shadow and Ranger Shadow Equipment:
All Basic Stats +10
MaxHP +5%
MaxSP +5%
Ignores physical and magical defense of Normal class by 50%.
_______________________
Type: Shadow Shield
_______________________
Requirement:
Base Level 99
Ranger
Weapon Level 0 Identifier S_Ranger_Shield
Attack 0 Type Shadow Equipment
MATK 0 Equip Locations Shadow Shield
Defense 0 Equippable Jobs Hunter
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 10 Max Equip Level None
NPC Sell 5 Refineable Yes
Credit Price None Trade restriction None
Item Script
.@r = getrefine();
bonus bMaxHP,.@r*10;
bonus2 bSkillUseSPrate,"RA_AIMEDBOLT",(20+(5*.@r));

Set Script
Archer Shadow Pendant
Archer Shadow Earring
Hunter Shadow Shoes
Hunter Shadow Armor
Ranger Shadow Weapon
Ranger Shadow Shield
bonus bAllStats,10;
bonus bMaxHPrate,5;
bonus bMaxSPrate,5;
bonus2 bIgnoreDefClassRate,Class_Normal,50;
bonus2 bIgnoreMDefClassRate,Class_Normal,50;
Ranger Shadow Weapon
Ranger Shadow Shield
bonus2 bSkillAtk,"RA_CLUSTERBOMB",20;
bonus2 bSkillAtk,"RA_AIMEDBOLT",20;
Aimed Shadow Weapon
Ranger Shadow Shield
.@r = getequiprefinerycnt(EQI_SHADOW_WEAPON) + getequiprefinerycnt(EQI_SHADOW_SHIELD);
bonus2 bIgnoreDefRaceRate,RC_All,40+.@r;
bonus2 bIgnoreDefRaceRate,RC_Player_Human,-40-.@r;
bonus2 bIgnoreDefRaceRate,RC_Player_Doram,-40-.@r;
Shooting Shadow Weapon
Ranger Shadow Shield
.@r = getequiprefinerycnt(EQI_SHADOW_WEAPON) + getequiprefinerycnt(EQI_SHADOW_SHIELD);
bonus2 bIgnoreDefRaceRate,RC_All,40+.@r;
bonus2 bIgnoreDefRaceRate,RC_Player_Human,-40-.@r;
bonus2 bIgnoreDefRaceRate,RC_Player_Doram,-40-.@r;