Scorpio Celestial Coronet

Item ID 400059 Name Scorpio Celestial Coronet
The crown representing Scorpio, the eighth position of the zodiac. The birthstone, Topaz, is embedded.
It has been modified to suit the OS weapons.
_______________________
For each 2 Refine Levels:
MATK +20
_______________________
Refine Level +7:
Decreases Variable Casting Time by 15%.
_______________________
Refine Level +9:
Increases Magical Damage with every element by 15%.
_______________________
Refine Level +11:
Increases Magical Damage against monsters of Small and Medium sized enemies by 15%.
Decreases Fixed Casting Time by 0.2 seconds.
_______________________
When equipped with Cannon Rapier-OS:
Increases Magical Damage with Holy element by 4%.

For each 2 Refine Levels of Cannon Rapier-OS:
Increases damage of Genesis Ray by 4%.
_______________________
When equipped with Rutilus Stick-OS:
MATK +30

For each 2 Refine Levels of Rutilus Stick-OS:
Increases damage of Psychic Wave by 3%.
_______________________
When equipped with Ultio-OS:
Increases Magical Damage with Holy element by 5%.

For each 2 Refine Levels of Ultio-OS:
Increases damage of Judex by 3%.
_______________________
Type: Headgear
Defense: 0
Position: Upper
Weight: 10
Armor Level: 1
_______________________
Requirement:
Base Level 130
Weapon Level 0 Identifier Scorpio_Diadem_K
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 bMatk,20*(.@r/2);
if (.@r>=7) {
   bonus bVariableCastrate,-15;
}
if (.@r>=9) {
   bonus2 bMagicAtkEle,Ele_All,15;
}
if (.@r>=11) {
   bonus bFixedCast,-200;
   bonus2 bMagicAddSize,Size_Small,15;
   bonus2 bMagicAddSize,Size_Medium,15;
}

Set Script
Cannon Rapier-OS
Scorpio Celestial Coronet
.@r_weapon = getequiprefinerycnt(EQI_HAND_R);
bonus2 bMagicAtkEle,Ele_Holy,5;
bonus2 bSkillAtk,"LG_RAYOFGENESIS",4*(.@r_weapon/2);
Ultio-OS
Scorpio Celestial Coronet
.@r_weapon = getequiprefinerycnt(EQI_HAND_R);
bonus2 bMagicAtkEle,Ele_Holy,5;
bonus2 bSkillAtk,"AB_JUDEX",3*(.@r_weapon/2);
Rutilus Stick-OS
Scorpio Celestial Coronet
.@r_weapon = getequiprefinerycnt(EQI_HAND_R);
bonus bMatk,30;
bonus2 bSkillAtk,"SO_PSYCHIC_WAVE",3*(.@r_weapon/2);