Royal Guard Shadow Shield

Item ID 24302 Name Royal Guard Shadow Shield
A small shield worn on the arm for additional defense. Needs a complete set to have bonus effect.
_______________________
Increases damage of Earth Drive by 20%.
_______________________
For each Refine Level:
Increases damage of Earth Drive by additional 5%.
_______________________
When equipped with Royal Guard Shadow Weapon:
Decreases SP Consumption of Cannon Spear by 20%.
Enables the use of Level 3 Chemical Protection Shield.
_______________________
When equipped with 2 types of Swordman Shadow, Crusader Shadow and Royal Guard 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
Royal Guard
Weapon Level 0 Identifier S_Royalguard_Shield
Attack 0 Type Shadow Equipment
MATK 0 Equip Locations Shadow Shield
Defense 0 Equippable Jobs Crusader
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 bSkillAtk,"LG_EARTHDRIVE",20+.@r*5;

Set Script
Royal Guard Shadow Weapon
Royal Guard Shadow Shield
Swordman Shadow Earring
Swordman Shadow Pendant
Crusader Shadow Shoes
Crusader Shadow Armor
bonus bAllStats,10;
bonus bMaxHPrate,5;
bonus bMaxSPrate,5;
bonus2 bIgnoreDefClassRate,Class_Normal,50;
bonus2 bIgnoreMDefClassRate,Class_Normal,50;
Royal Guard Shadow Weapon
Royal Guard Shadow Shield
bonus2 bSkillUseSPrate,"LG_CANNONSPEAR",20;
skill "AM_CP_SHIELD",3;
Chain Press Shadow Weapon
Royal Guard 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;
Genesis Shadow Weapon
Royal Guard Shadow Shield
.@sum = getequiprefinerycnt(EQI_SHADOW_WEAPON)+getequiprefinerycnt(EQI_SHADOW_SHIELD);
bonus2 bIgnoreMdefRaceRate,RC_All,40+.@sum;
bonus2 bIgnoreMdefRaceRate,RC_Player_Human,-40-.@sum;
bonus2 bIgnoreMdefRaceRate,RC_Player_Doram,-40-.@sum;