Gaebolg Armor

Item ID 450350 Name Gaebolg Armor
An armor given to members of the Resistance.
_______________________
ATK +130
_______________________
For each 2 Refine Levels:
ATK +15, DEF +15.
_______________________
Refine Level +7:
Increases Physical Damage by 3%.
_______________________
Refine Level +9:
P.ATK +5.
Decreases Variable Casting Time by 10%.
_______________________
Refine Level +10:
Increases Physical Damage by additional 5%.
_______________________
Refine Level +12:
Decreases After Skill Delay by 5%.
_______________________
When equipped with Gaebolg Manteau:
Increases Physical Damage against enemies of every element by 10%.
_______________________
When equipped with Gaebolg Manteau and Gaebolg Boots:
Increases Physical Damage against enemies of every race, except Players, by 10%.
_______________________
[Bonus by Grade]
[Grade D]: POW +3, CON +3, After Skill Delay -5%.
[Grade C]: ATK +3%, P.ATK +2.
[Grade B]: POW +4, CON +4, P.ATK +3.
[Grade A]: ATK +4%, P.ATK +5.
_______________________
Type: Armor
Defense: 198
Weight: 240
Armor Level: 2
_______________________
Requirement:
Base Level 245
Weapon Level 0 Identifier Gaebolg_Armor
Attack 0 Type Armor
MATK 0 Equip Locations Armor
Defense 198 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 1 Equip Upper None
Weight 240 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 bBaseAtk,130+15*(.@r/2);
bonus bDef,15*(.@r/2);
if (.@r>=7) {
   bonus bLongAtkRate,3;
   bonus bShortAtkRate,3;
   if (.@r>=9) {
      bonus bVariableCastrate,-10;
      bonus bPAtk,5;
      if (.@r>=10) {
         bonus bLongAtkRate,5;
         bonus bShortAtkRate,5;
         if (.@r>=12) {
            bonus bDelayrate,-5;
         }
      }
   }
}
if (.@g>=ENCHANTGRADE_D) {
   bonus bDelayrate,-5;
   bonus bPow,3;
   bonus bCon,3;
   if (.@g>=ENCHANTGRADE_C) {
      bonus bPAtk,2;
      bonus bAtkRate,3;
      if (.@g>=ENCHANTGRADE_B) {
         bonus bPAtk,3;
         bonus bPow,4;
         bonus bCon,4;
         if (.@g>=ENCHANTGRADE_A) {
            bonus bPAtk,5;
            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 Boots
Gaebolg Armor
bonus2 bAddEle,Ele_All,10;