Dimensions Imperial Spear

Item ID 530054 Name Dimensions Imperial Spear
A spear imbued with rune magic.
_______________________
ATK +3%
Increases damage of Overbrand by 25%
Increases damage of Overslash by 15%.
_______________________
For each 2 Refine Levels:
ATK +25
ATK +1%
_______________________
For each 3 Refine Levels:
Increases damage of Overbrand by additional 7%
Increases damage of Overslash by additional 5%.
_______________________
Refine Level +7:
Increases Melee Physical Damage by 25%.
_______________________
Refine Level +9:
Decreases After Skill Delay by 10%.
P.ATK +7
_______________________
Refine Level +11:
Increases damage of Overbrand by additional 45%
Increases damage of Overslash by additional 15%.
_______________________
When equipped with Time Dimensions Rune Crown (Imperial Guard):
Increases damage of Overbrand by additional 45%.
Increases Melee Physical Damage by 10%.

If the Weapon and Headgear's Grade are A or higher:
Increases damage of Overbrand by additional % by twice the sum of refine level.

Casting Overslash has a chance to auto cast Level 1 Overbrand.
(If you learned a higher Level, it will auto cast that Level instead.)
_______________________
[Bonus by Grade]
[Grade D]: P.ATK +5
[Grade C]: Damage of Overslash +15%.
[Grade B]: Melee Physical Damage +10%.
[Grade A]: P.ATK +3 per 2 Refine Levels.
_______________________
Type: One-Handed Spear
Attack: 240
Weight: 250
Weapon Level: 5
_______________________
Requirement:
Base Level 250
Imperial Guard
Weapon Level 5 Identifier Dimen_IG_Spear
Attack 240 Type Weapon - One-Handed Spear
MATK 0 Equip Locations Main Hand
Defense 0 Equippable Jobs Crusader
Range 3 Equip Gender Both (Male and Female)
Slots 2 Equip Upper None
Weight 250 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 bAtkRate,3+(.@r/2);
bonus2 bSkillAtk,"IG_OVERSLASH",15+5*(.@r/3);
bonus2 bSkillAtk,"LG_OVERBRAND",25+7*(.@r/3);
bonus bBaseAtk,25*(.@r/2);
if (.@r>=7) {
   bonus bShortAtkRate,25;
   if (.@r>=9) {
      bonus bDelayrate,-10;
      bonus bPAtk,7;
      if (.@r>=11) {
         bonus2 bSkillAtk,"IG_OVERSLASH",15;
         bonus2 bSkillAtk,"LG_OVERBRAND",45;
      }
   }
}
if (.@g>=ENCHANTGRADE_D) {
   bonus bPAtk,5;
   if (.@g>=ENCHANTGRADE_C) {
      bonus2 bSkillAtk,"IG_OVERSLASH",15;
      if (.@g>=ENCHANTGRADE_B) {
         bonus bShortAtkRate,10;
         if (.@g>=ENCHANTGRADE_A) {
            bonus bPAtk,3*(.@r/2);
         }
      }
   }
}

Set Script
Dimensions Imperial Spear
Time Dimensions Rune Crown (Imperial Guard)
bonus bShortAtkRate,10;
bonus2 bSkillAtk,"LG_OVERBRAND",45;
if (getenchantgrade(EQI_HAND_R)>=ENCHANTGRADE_A && getenchantgrade(EQI_HEAD_TOP)>=ENCHANTGRADE_A) {
   .@sum = getequiprefinerycnt(EQI_HAND_R)+getequiprefinerycnt(EQI_HEAD_TOP);
   bonus2 bSkillAtk,"LG_OVERBRAND",2*.@sum;
   if (getskilllv("LG_OVERBRAND") > 0) {
      bonus4 bAutoSpellOnSkill,"IG_OVERSLASH","LG_OVERBRAND",getskilllv("LG_OVERBRAND"),1000;
   }
}