Magic Barrier Manteau

Item ID 480065 Name Magic Barrier Manteau
An improved manteau that was one of the prizes of the Geffen Magic Tournament.
Although it is not an officially approved improvement, there is a phrase that says that the safety is excellent.
_______________________
MaxHP +1500
_______________________
For each 2 Refine Levels:
MaxHP +1%
_______________________
For each 3 Refine Levels:
Increases Attack Speed (decreases After Attack Delay by 2%).
_______________________
Refine Level +9:
Increases Melee Physical Damage by 5%.
_______________________
Refine Level +11:
Increases Melee Physical Damage by additional 7%.
_______________________
When equipped with Anti-Conjurer Suit:
ATK +50

Refine Level of Anti-Conjurer Suit is +11 or higher:
Increases Melee Physical Damage by 5%.
Increases Attack Speed (decreases After Attack Delay by 10%).
_______________________
When equipped with Magic Protector Robe:
ATK +50

Refine Level of Magic Protector Robe is +11 or higher:
Increases Melee Physical Damage by 5%.
Decreases Variable Casting Time by 10%.
_______________________
Type: Garment
Defense: 75
Weight: 70
Armor Level: 2
_______________________
Requirement:
Base Level 230
Weapon Level 0 Identifier MD_Geffen_Hood
Attack 0 Type Armor
MATK 0 Equip Locations Garment
Defense 75 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 1 Equip Upper None
Weight 70 Min Equip Level 230
NPC Buy 0 Max Equip Level None
NPC Sell 0 Refineable Yes
Credit Price None Trade restriction None
Item Script
.@r = getrefine();
bonus bMaxHP,1500;
bonus bMaxHPrate,(.@r/2);
bonus bAspdRate,2*(.@r/3);
if (.@r>=9) {
   bonus bShortAtkRate,5;
   if (.@r>=11) {
      bonus bShortAtkRate,7;
   }
}

Set Script
Magic Barrier Manteau
Anti Conjurer Suit
bonus bBaseAtk,50;
if (getequiprefinerycnt(EQI_ARMOR) >= 11) {
   bonus bShortAtkRate,5;
   bonus bAspdRate,10;
}
Magic Barrier Manteau
Magic Protector Robe
bonus bBaseAtk,50;
if (getequiprefinerycnt(EQI_ARMOR) >= 11) {
   bonus bShortAtkRate,5;
   bonus bVariableCastrate,-10;
}