Fallen Protect Manteau

Item ID 480365 Name Fallen Protect Manteau
For each 2 Refine Levels:
ATK +20
_______________________
For each 4 Refine Levels:
Increases Physical Damage against enemies of every size by 5%.
_______________________
Refine Level +7:
ASPD +10%, ATK +7%.
_______________________
Refine Level +9:
Increases Ranged Physical Damage by 15%.
_______________________
Refine Level +11:
For each 2 Base Level:
Increases damage of Cannon Spear and Banishing Point by 2%.
(Up to Level 240)
_______________________
When equipped with Old Casket Protection:
Physical attacks have a 2% chance that 4% of the damage is absorbed as HP
1% chance that 2% of the damage is absorbed as SP.

Refine Level of Old Casket Protection is +11 or higher:
Decreases Cannon Spear skill cooldown by 0.5 seconds.
_______________________
Type: Garment
Defense: 55
Weight: 150
Armor Level: 1
_______________________
Requirement:
Base Level 100
Royal Guard
Weapon Level 0 Identifier Fallen_Protect_Manteau
Attack 0 Type Armor
MATK 0 Equip Locations Garment
Defense 55 Equippable Jobs Crusader
Range 0 Equip Gender Both (Male and Female)
Slots 1 Equip Upper Third, Third Upper, Third Baby
Weight 150 Min Equip Level 100
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);
bonus2 bAddSize,Size_All,5*(.@r/4);
if (.@r>=7) {
   bonus bAspdRate,10;
   bonus bAtkRate,7;
   if (.@r>=9) {
       bonus bLongAtkRate,15;
       if (.@r>=11) {
           bonus2 bSkillAtk,"LG_CANNONSPEAR",BaseLevel/2;
           bonus2 bSkillAtk,"LG_BANISHINGPOINT",2*(BaseLevel/2);
       }
   }
}

Set Script
Old Casket of Protection
Fallen Protect Manteau
bonus2 bHPDrainRate,20,4;
bonus2 bSPDrainRate,10,2;
if (getequiprefinerycnt(EQI_HEAD_TOP)>=11)
   bonus2 bSkillCooldown,"LG_CANNONSPEAR",-500;