Mortal Blow Shadow Weapon

Item ID 24370 Name Mortal Blow Shadow Weapon
A pair of gloves that can draw the wearer's potential ability.
_______________________
Increases Critical Damage by 2%.
_______________________
Refine Level +7:
Increases Critical Damage by additional 2%.
_______________________
Refine Level +9:
Increases Critical Damage by additional 3%.
_______________________
When equipped with Mortal Blow Shadow Earring and Mortal Blow Shadow Pendant:
Increases Critical Damage by 2%.
_______________________
Total Refine Level of entire set at least +25:
Increases Critical Damage by additional 10%.
_______________________
Total Refine Level of entire set at least +30:
ASPD +3
_______________________
Type: Shadow Weapon
_______________________
Requirement: None
Weapon Level 0 Identifier S_MortalBlow_Weapon
Attack 0 Type Shadow Equipment
MATK 0 Equip Locations Shadow Weapon
Defense 0 Equippable Jobs None
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;
if (.@r >= 9) {
   .@val = 7;
} else if (.@r >= 7) {
   .@val = 4;
}
else {
   .@val = 2;
}
bonus bCritAtkRate,.@val;

Set Script
Mortal Blow Shadow Weapon
Mortal Blow Shadow Earring
Mortal Blow Shadow Pendant
.@r = getequiprefinerycnt(EQI_SHADOW_WEAPON) + getequiprefinerycnt(EQI_SHADOW_ACC_R) + getequiprefinerycnt(EQI_SHADOW_ACC_L);
.@val = 2;
if (.@r >= 25) {
   .@val += 10;
   if (.@r >= 30) {
      bonus bAspd,3;
   }
}
bonus bCritAtkRate,.@val;