Katar Shadow Weapon

Item ID 24539 Name Katar Shadow Weapon
A pair of gloves that can draw the wearer's potential ability.
_______________________
Physical melee attacks have a chance to increase critical damage by 10% and physical damage against all sizes by 10% for 5 seconds.
_______________________
Refine Level +7:
Increases the chance to increase critical damage by additional 5% and physical damage against all sizes by additional 5% for 5 seconds.
_______________________
Refine Level +9:
Increases the duration of increased critical damage and physical damage against all sizes by additional 5 seconds.
_______________________
When equipped with Katar Shadow Pendant and Katar Shadow Earring:
For each Refine Level of entire set:
ATK +1
_______________________
When equipped with Guillotine Cross Shadow Shield:
Ignores magical defense of enemies of all race, except Players, by 40%.

For each Refine Level of entire set:
Ignores magical defense of enemies of all race, except Players, by additional 1%.
_______________________
Type: Shadow Weapon
_______________________
Requirement:
Base Level 99
Guillotine Cross
Weapon Level 0 Identifier S_Katar_Weapon
Attack 0 Type Shadow Equipment
MATK 0 Equip Locations Shadow Weapon
Defense 0 Equippable Jobs Assassin
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 bBaseAtk,.@r;
bonus bMatk,.@r;
if (.@r>=9) {
   autobonus "{ bonus2 bAddSize,Size_All,15; bonus bCritAtkRate,15; }",1,10000,BF_WEAPON;
}
else if (.@r>=7) {
   autobonus "{ bonus2 bAddSize,Size_All,15; bonus bCritAtkRate,15; }",1,5000,BF_WEAPON;
}
else {
   autobonus "{ bonus2 bAddSize,Size_All,10; bonus bCritAtkRate,10; }",1,5000,BF_WEAPON;
}

Set Script
Katar Shadow Weapon
Guillotine Cross 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;
Katar Shadow Weapon
Katar Shadow Pendant
Katar Shadow Earring
.@sum = getequiprefinerycnt(EQI_SHADOW_WEAPON)+getequiprefinerycnt(EQI_SHADOW_ACC_L)+getequiprefinerycnt(EQI_SHADOW_ACC_R);
bonus bBaseAtk,.@sum;