Convertible Magical Wing

Item ID 480125 Name Convertible Magical Wing
A multi-purpose wing that has been further improved for the purpose of high efficiency and high output.
A magical process is installed.
Compatible with various items.
_______________________
For each 2 Refine Levels:
MATK +5, MATK +1%.
_______________________
For each 3 Refine Levels:
Increases Magical Damage against enemies of every size by 3%.
_______________________
Refine Level +7:
Decreases Variable Casting Time by 7%.
_______________________
Refine Level +9:
Decreases damage taken from Neutral elemental attacks by 7%.
_______________________
Refine Level +11:
Increases Magical Damage with every element by 10%.
_______________________
When equipped with Deep Blue Sunglasses[1]:
MATK +7%
Decreases Variable Casting Time by 15%.
_______________________
When equipped with Victory Wing Ears[1]:
MATK +7%
Decreases After Skill Delay by 15%.
_______________________
When equipped with Battle Processor[1]:
MATK +7%
Increases Magical Damage with every element by 5%.
_______________________
Type: Garment
Defense: 38
Weight: 40
Armor Level: 1
_______________________
Requirement:
Base Level 150
Weapon Level 0 Identifier Cvt_Magical_Wing
Attack 0 Type Armor
MATK 0 Equip Locations Garment
Defense 38 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 1 Equip Upper None
Weight 40 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 bMatkRate,(.@r/2);
bonus bMatk,5*(.@r/2);
bonus2 bMagicAddSize,Size_All,(.@r/3)*3;
if (.@r>=7) {
   bonus bVariableCastrate,-7;
   if (.@r>=9) {
      bonus2 bSubEle,Ele_Neutral,7;
      if (.@r>=11) {
         bonus2 bMagicAtkEle,Ele_All,10;
      }
   }
}

Set Script
Convertible Magical Wing
Victory Wing Ears
bonus bDelayrate,-15;
bonus bMatkRate,7;
Convertible Magical Wing
Battle Processor
bonus2 bMagicAtkEle,Ele_All,5;
bonus bMatkRate,7;
Deep Blue Sunglasses
Convertible Magical Wing
bonus bVariableCastrate,-15;
bonus bMatkRate,7;
Convertible Magical Armor
Convertible Magical Wing
.@sum = getequiprefinerycnt(EQI_ARMOR)+getequiprefinerycnt(EQI_GARMENT);
bonus bDelayrate,-5;
if (.@sum>=18) {
   bonus2 bMagicAddEle,Ele_All,10;
   if (.@sum>=23) {
      bonus2 bMagicAtkEle,Ele_All,.@sum;
   }
}