Enhanced Soul Shadow Weapon

Item ID 24227 Name Enhanced Soul Shadow Weapon
A pair of gloves that can draw the wearer's potential ability.
_______________________
MATK +10
_______________________
For each Refine Level:
MATK +1%
_______________________
When equipped with Soul Shadow Earring and Soul Shadow Pendant:
MATK +1%
_______________________
Total Refine Level of entire set at least +20:
MATK +1%
_______________________
Total Refine Level of entire set at least +25:
MATK +1%
_______________________
Type: Shadow Weapon
_______________________
Requirement:
Base Level 100
3rd classes
Weapon Level 0 Identifier S_Enhance_Spirit_Weapon
Attack 0 Type Shadow Equipment
MATK 0 Equip Locations Shadow Weapon
Defense 0 Equippable Jobs Knight, Priest, Wizard, Blacksmith, Hunter, Assassin, Crusader, Monk, Sage, Rogue, Alchemist, Bard / Dancer
Range 0 Equip Gender Both (Male and Female)
Slots 0 Equip Upper Third, Third Upper, Third Baby
Weight 0 Min Equip Level 100
NPC Buy 10 Max Equip Level None
NPC Sell 5 Refineable Yes
Credit Price None Trade restriction None
Item Script
.@r = getrefine();
bonus bBaseAtk,.@r;
bonus bMatk,10+.@r;
bonus bMatkRate,(.@r/2);

Set Script
Enhanced Soul Shadow Weapon
Soul Shadow Earring
Soul Shadow Pendant
.@r = getequiprefinerycnt(EQI_SHADOW_WEAPON)+getequiprefinerycnt(EQI_SHADOW_ACC_R)+getequiprefinerycnt(EQI_SHADOW_ACC_L);
bonus bMatkRate,1;
if (.@r>=20) {
   bonus bMatkRate,1;
}
if (.@r>=25) {
   bonus bMatkRate,1;
}