Great Magician's Ceremonial Crown

Item ID 400054 Name Great Magician's Ceremonial Crown
It is said that a certain great mage prepared it in a robe and used it.
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:
MATK +30

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

For each 2 Refine Levels of Rutilus Stick-OS:
Increases damage of Comet by 4%.
_______________________
When equipped with Kuroiro-OS:
Increases Magical Damage with Water, Wind and Fire element by 5%.

For each 2 Refine Levels of Kuroiro-OS:
Increases damage of Flaming Petals, Freezing Spear and Wind Blade by 3%.
_______________________
Type: Headgear
Defense: 0
Position: Upper
Weight: 10
Armor Level: 1
_______________________
Requirement:
Base Level 130
Weapon Level 0 Identifier Large_Sorcerer_Crown
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
Great Magician's Ceremonial Crown
.@r = getequiprefinerycnt(EQI_HAND_R);
bonus bMatk,30;
bonus2 bSkillAtk,"WL_HELLINFERNO",4*(.@r/2);
Rutilus Stick-OS
Great Magician's Ceremonial Crown
.@r = getequiprefinerycnt(EQI_HAND_R);
bonus bMatk,30;
bonus2 bSkillAtk,"WL_COMET",5*(.@r/2);
Kuroiro-OS
Great Magician's Ceremonial Crown
.@r = getequiprefinerycnt(EQI_HAND_R);
bonus2 bMagicAtkEle,Ele_Fire,5;
bonus2 bMagicAtkEle,Ele_Water,5;
bonus2 bMagicAtkEle,Ele_Wind,5;
bonus2 bSkillAtk,"NJ_KOUENKA",3*(.@r/2);
bonus2 bSkillAtk,"NJ_HYOUSENSOU",3*(.@r/2);
bonus2 bSkillAtk,"NJ_HUUJIN",3*(.@r/2);