Ignis Cap

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

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

For each 2 Refine Levels of Virtual Bow-OS:
Increases Ranged Physical Damage by 7%.
_______________________
When equipped with Blasti-OS,
MaxHP +5%

For each 2 Refine Levels of Blasti-OS:
Decreases Physical and Magical Damage taken from Small size by 3%.
_______________________
Type: Headgear
Defense: 0
Position: Upper
Weight: 10
Armor Level: 1
_______________________
Requirement:
Base Level 130
Weapon Level 0 Identifier Ignis_CapK
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 130
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,15;
}
if (.@r>=11) {
   bonus bFixedCast,-200;
   bonus2 bAddSize,Size_Small,15;
   bonus2 bAddSize,Size_Medium,15;
}

Set Script
Sapphire Hall-OS
Ignis Cap
.@r_weapon = getequiprefinerycnt(EQI_HAND_R);
bonus bBaseAtk,30;
bonus2 bSkillAtk,"GN_CARTCANNON",4*(.@r_weapon/2);
Virtual Bow-OS
Ignis Cap
.@r_weapon = getequiprefinerycnt(EQI_HAND_R);
bonus2 bSkillCooldown,"RA_ARROWSTORM",-2500;
bonus2 bWeaponDamageRate,W_BOW,7*(.@r_weapon/2);
Blasti-OS
Ignis Cap
.@r_weapon = getequiprefinerycnt(EQI_HAND_R);
bonus bMaxHPrate,5;
bonus2 bSubSize,Size_Small,3*(.@r_weapon/2);