Ignis Cap-LT

Item ID 400266 Name Ignis Cap-LT
A mysterious hat from Captain Ignis.
It has been modified to suit the upgraded OS weapons.
_______________________
For each 2 Refine Levels
ATK +20
_______________________
Refine Level +7:
Decreases Variable Casting time by 15%.
_______________________
Refine Level +9:
Increases Ranged Physical Damage by 20%.
_______________________
Refine Level +11:
Increases Physical Damage against enemies of Small and Medium size by 20%.
Decreases Fixed Casting Time by 0.2 seconds.
_______________________
When equipped with Saphir Mace-OSAD,
ATK +70

For each 2 Refine Levels of Saphir Mace-OSAD:
Increases damage of Cart Cannon by 5%.
_______________________
When equipped with Virtual Bow-OSAD,
Decreases Arrow Storm skill cooldown by 2.5 seconds.

For each 2 Refine Levels of Virtual Bow-OSAD:
Increases damage of Sharp Shooting by 5%.
_______________________
When equipped with Blasti-OSAD,
ATK +70

For each 2 Refine Levels of Blasti-OSAD:
Increases damage of Arm Cannon by 5%.
_______________________
Type: Headgear
Defense: 0
Position: Upper
Weight: 10
Armor Level: 2
_______________________
Requirement:
Base Level 170
Weapon Level 0 Identifier Ignis_CapK_LT
Attack 0 Type Armor
MATK 0 Equip Locations Upper Headgear
Defense 0 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 1 Equip Upper None
Weight 10 Min Equip Level 170
NPC Buy 0 Max Equip Level None
NPC Sell 0 Refineable Yes
Credit Price None Trade restriction None
Item Script
.@r = getrefine();
bonus bBaseAtk,20*(.@r/2);
if (.@r>=7) {
   bonus bVariableCastrate,-15;
   if (.@r>=9) {
      bonus bLongAtkRate,20;
      if (.@r>=10) {
         bonus bFixedCast,-200;
         bonus2 bAddSize,Size_Small,20;
         bonus2 bAddSize,Size_Medium,20;
      }
   }
}

Set Script
Ignis Cap-LT
Saphir Mace-OSAD
.@r_weapon = getequiprefinerycnt(EQI_HAND_R);
bonus bBaseAtk,70;
bonus2 bSkillAtk,"GN_CARTCANNON",5*(.@r_weapon/2);
Ignis Cap-LT
Blasti-OSAD
.@r_weapon = getequiprefinerycnt(EQI_HAND_R);
bonus bBaseAtk,70;
bonus2 bSkillAtk,"NC_ARMSCANNON",5*(.@r_weapon/2);
Ignis Cap-LT
Virtual Bow-OSAD
.@r_weapon = getequiprefinerycnt(EQI_HAND_R);
bonus2 bSkillCooldown,"RA_ARROWSTORM",-2500;
bonus2 bSkillAtk,"SN_SHARPSHOOTING",5*(.@r_weapon/2);