Super Novice Shadow Weapon

Item ID 24282 Name Super Novice Shadow Weapon
A pair of gloves that can draw the wearer's potential ability.
_______________________
MaxHP +1000
MaxSP +200
_______________________
For each Level of One-Handed Sword Mastery:
Ignores physical defense of Normal class by 3%.
_______________________
For each Level of Increases SP Recovery:
Ignores magical defense of enemies of Normal class by 3%.
_______________________
For each Refine Level:
Piercing physical and magical defense of Normal class by additional 3%.
_______________________
Refine Level +7:
MaxHP +5%
MaxSP +5%
_______________________
Refine Level +9:
MaxHP +5%
MaxSP +5%
Increases SP Recovery Rate by 100%.
_______________________
Type: Shadow Weapon
_______________________
Requirement:
Novice
Weapon Level 0 Identifier S_SuperNovice_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 1
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 bMaxHP,1000;
bonus bMaxSP,200;
bonus2 bIgnoreDefClassRate,Class_Normal,3*(getskilllv("SM_SWORD")+.@r);
bonus2 bIgnoreMDefClassRate,Class_Normal,3*(getskilllv("MG_SRECOVERY")+.@r);
if (.@r>=7) {
   bonus bMaxHPrate,5;
   bonus bMaxSPrate,5;
}
if (.@r>=9) {
   bonus bMaxHPrate,5;
   bonus bMaxSPrate,5;
   bonus bSPrecovRate,100;
}

Set Script
Super Novice Shadow Weapon
Super Novice Shadow Shield
bonus bMaxHPrate,2;
bonus bMaxSPrate,2;
bonus bAllStats,3;
bonus bUseSPrate,-10;
Super Magic Shadow Shield
Super Novice Shadow Weapon
.@sum = getequiprefinerycnt(EQI_SHADOW_SHIELD)+getequiprefinerycnt(EQI_SHADOW_WEAPON);
bonus2 bIgnoreMdefRaceRate,RC_All,40+.@sum;
bonus2 bIgnoreMdefRaceRate,RC_Player_Human,-40-.@sum;
bonus2 bIgnoreMdefRaceRate,RC_Player_Doram,-40-.@sum;