Convertible Critical Armor

Item ID 450407 Name Convertible Critical Armor
A multi-purpose armor that has been further improved for high efficiency and high output purposes.
A critical processor is installed.
_______________________
ATK +100
_______________________
For each 2 Refine Levels:
ATK +7, Critical +2.
_______________________
Refine Level +7:
Increases Attack Speed (decreases After Attack Delay by 15%).
_______________________
Refine Level +9:
Increases Critical Damage by 10%.
_______________________
Refine Level +11:
Decreases After Skill Delay by 10%.
_______________________
When equipped with Convertible Critical Wing:
Decreases After Skill Delay by additional 5%.

Total Refine Level of entire set is at least +18:
Increases Physical Damage against enemies of every element by 10%.

Total Refine Level of entire set is at least +23:
Increases Critical Damage by additional (the sum of refine level)%.
_______________________
Type: Armor
Defense: 130
Weight: 100
Armor Level: 1
_______________________
Requirement:
Base Level 150
Weapon Level 0 Identifier aegis_450407
Attack 0 Type Armor
MATK 0 Equip Locations Armor
Defense 130 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 1 Equip Upper None
Weight 100 Min Equip Level 150
NPC Buy 0 Max Equip Level None
NPC Sell 0 Refineable Yes
Credit Price None Trade restriction None
Item Script
.@r = getrefine();
bonus bBaseAtk,100+7*(.@r/2);
bonus bCritical,2*(.@r/2);
if (.@r>=7) {
   bonus bAspdRate,15;
   if (.@r>=9) {
      bonus bCritAtkRate,10;
      if (.@r>=11) {
         bonus bDelayrate,-10;
      }
   }
}

Set Script
Convertible Critical Armor
Convertible Critical Wing
.@sum = getequiprefinerycnt(EQI_ARMOR)+getequiprefinerycnt(EQI_GARMENT);
bonus bDelayrate,-5;
if (.@sum>=18) {
   bonus2 bAddEle,Ele_All,10;
   if (.@sum>=23) {
      bonus bCritAtkRate,.@sum;
   }
}