Yorscalp Armor

Item ID 450412 Name Yorscalp Armor
An armor amplified by the Serpent's Curse.
_______________________
ATK +130.
_______________________
For each 2 Refine Levels:
ATK +20, DEF +20.
_______________________
Refine Level +7:
Increases Physical Damage by 5%.
_______________________
Refine Level +9:
P.ATK +5.
Decreases Variable Casting Time by 10%.
_______________________
Refine Level +10:
Increases Physical Damage by additional 10%.
_______________________
Refine Level +12:
Decreases After Skill Delay by 5%.
_______________________
When equipped with Yorscalp Manteau:
Increases Physical Damage against enemies of every element by 15%.
_______________________
When equipped with Yorscalp Boots:
Increases Physical Damage against enemies of every race, except Players, by 15%.
_______________________
[Bonus by Grade]
[Grade D]: POW +5, CON +5, After Skill Delay -5%.
[Grade C]: ATK +5%, P.ATK +3.
[Grade B]: POW +5, CON +5, P.ATK +3.
[Grade A]: ATK +5%, P.ATK +5.
_______________________
Type: Armor
Defense: 198
Weight: 240
Armor Level: 2
_______________________
Requirement:
Base Level 250
Weapon Level 0 Identifier Yorscalp_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 250
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+20*(.@r/2);
bonus bDef,20*(.@r/2);
if (.@r>=7) {
   bonus bLongAtkRate,5;
   bonus bShortAtkRate,5;
   if (.@r>=9) {
      bonus bVariableCastrate,-10;
      bonus bPAtk,5;
      if (.@r>=10) {
         bonus bLongAtkRate,10;
         bonus bShortAtkRate,10;
         if (.@r>=12) {
            bonus bDelayrate,-5;
         }
      }
   }
}
if (.@g>=ENCHANTGRADE_D) {
   bonus bDelayrate,-5;
   bonus bPow,5;
   bonus bCon,5;
   if (.@g>=ENCHANTGRADE_C) {
      bonus bPAtk,3;
      bonus bAtkRate,5;
      if (.@g>=ENCHANTGRADE_B) {
         bonus bPAtk,3;
         bonus bPow,5;
         bonus bCon,5;
         if (.@g>=ENCHANTGRADE_A) {
            bonus bPAtk,5;
            bonus bAtkRate,5;
         }
      }
   }
}

Set Script
Yorscalp Crown of Execution
Yorscalp Armor
bonus bMaxHPrate,10;
Yorscalp Armor
Yorscalp Boots
Yorscalp Manteau
bonus2 bAddRace,RC_All,15;
bonus2 bAddRace,RC_Player_Human,-15;
bonus2 bAddRace,RC_Player_Doram,-15;
Yorscalp Armor
Yorscalp Manteau
bonus2 bAddEle,Ele_All,15;
Yorscalp Boots
Yorscalp Armor
bonus2 bAddEle,Ele_All,15;