Ravage Magic Manteau

Item ID 480067 Name Ravage Magic Manteau
An improved manteau exclusively for anti-magic, not only has excellent magic defense, but also greatly improves the wearer's physical ability.
_______________________
MaxHP +1200
_______________________
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 Ranged Physical Damage by 5%.
_______________________
Refine Level +11:
Increases Ranged Physical Damage by additional 7%.
_______________________
When equipped with Anti-Conjurer Suit:
ATK +50

Refine Level of Anti-Conjurer Suit is +11 or higher:
Increases Ranged 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 Ranged Physical Damage by 5%.
Decreases Variable Casting Time by 10%.
_______________________
Type: Garment
Defense: 70
Weight: 65
Armor Level: 2
_______________________
Requirement:
Base Level 230
Weapon Level 0 Identifier MD_Geffen_Hood3
Attack 0 Type Armor
MATK 0 Equip Locations Garment
Defense 70 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 1 Equip Upper None
Weight 65 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,1200;
bonus bMaxHPrate,(.@r/2);
bonus bAspdRate,2*(.@r/3);
if (.@r>=9) {
   bonus bLongAtkRate,5;
   if (.@r>=11) {
      bonus bLongAtkRate,7;
   }
}

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