Gaebolg Manteau

Item ID 480415 Name Gaebolg Manteau
An manteau given to a member of the Resistance.
_______________________
POW +3, CON +3.
_______________________
For each 2 Refine Levels:
ATK +1%, DEF +10.
_______________________
Refine Level +7:
Decreases After Skill Delay by 5%.
_______________________
Refine Level +9:
Increases Physical Damage by 5%.
_______________________
Refine Level +10:
P.ATK +3, ATK +20.
_______________________
Refine Level +12:
Decreases After Skill Delay by additional 5%.
_______________________
When equipped with Gaebolg Boots:
Increases Physical Damage against enemies of every race, except Players, by 10%.
_______________________
[Bonus by Grade]
[Grade D]: ATK +3%, P.ATK +2.
[Grade C]: P.ATK +3.
[Grade B]: ATK +2%, P.ATK +5.
[Grade A]: ATK +4%, P.ATK +7, After Skill Delay -5%.
_______________________
Type: Garment
Defense: 142
Weight: 160
Armor Level: 2
_______________________
Requirement:
Base Level 245
Weapon Level 0 Identifier Gaebolg_Manteau
Attack 0 Type Armor
MATK 0 Equip Locations Garment
Defense 142 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 1 Equip Upper None
Weight 160 Min Equip Level 245
NPC Buy 0 Max Equip Level None
NPC Sell 0 Refineable Yes
Credit Price None Trade restriction None
Item Script
.@g = getenchantgrade();
.@r = getrefine();
bonus bPow,3;
bonus bCon,3;
bonus bAtkRate,(.@r/2);
bonus bDef,10*(.@r/2);
if (.@r>=7) {
   bonus bDelayrate,-5;
   if (.@r>=9) {
      bonus bLongAtkRate,5;
      bonus bShortAtkRate,5;
      if (.@r>=10) {
         bonus bPAtk,3;
         bonus bBaseAtk,20;
         if (.@r>=12) {
            bonus bDelayrate,-5;
         }
      }
   }
}
if (.@g>=ENCHANTGRADE_D) {
   bonus bPAtk,2;
   bonus bAtkRate,3;
   if (.@g>=ENCHANTGRADE_C) {
      bonus bPAtk,3;
      if (.@g>=ENCHANTGRADE_B) {
         bonus bPAtk,5;
         bonus bAtkRate,2;
         if (.@g>=ENCHANTGRADE_A) {
            bonus bDelayrate,-5;
            bonus bPAtk,7;
            bonus bAtkRate,4;
         }
      }
   }
}

Set Script
Gaebolg Armor
Gaebolg Boots
Gaebolg Manteau
bonus2 bAddRace,RC_All,10;
bonus2 bAddRace,RC_Player_Human,-10;
bonus2 bAddRace,RC_Player_Doram,-10;
Gaebolg Armor
Gaebolg Manteau
bonus2 bAddEle,Ele_All,10;
Gaebolg Manteau
Gaebolg Boots
bonus2 bAddRace,RC_All,10;
bonus2 bAddRace,RC_Player_Human,-10;
bonus2 bAddRace,RC_Player_Doram,-10;