Jupiter Spear

Item ID 630027 Name Jupiter Spear
A holy two-handed spear made after the weapon used by the ancient gods.
_______________________
MaxHP +5%, POW +2.
Increases damage of Dragonic Breath by 5%.
_______________________
Refine Level +5:
Increases damage of Dragonic Breath by additional 10%.
_______________________
Refine Level +7:
Increases Ranged Physical Damage by 5%.
_______________________
Refine Level +9:
Increases damage of Dragonic Breath by additional 10%.
_______________________
Refine Level +10:
Decreases After Skill Delay by 10%.
_______________________
Refine Level +11:
Increases damage of Dragonic Breath by additional 5%.
Increases damage of Madness Crusher by 15%.
_______________________
[Bonus by Grade]
[Grade D]: Ranged Physical Damage +10%.
[Grade C]: Physical Damage against enemies of every size +10%.
[Grade B]: Physical Damage against enemies of every race +10%.
[Grade A]: Physical Damage against enemies of every element +10%.
_______________________
Type: Two-Handed Spear
Attack: 300
Weight: 500
Weapon Level: 5
_______________________
Requirement:
Base Level 215
Dragon Knight
Weapon Level 5 Identifier Luppiter_Spear
Attack 300 Type Weapon - Two-Handed Spear
MATK 0 Equip Locations Two-Handed
Defense 0 Equippable Jobs Knight
Range 3 Equip Gender Both (Male and Female)
Slots 2 Equip Upper None
Weight 500 Min Equip Level 215
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 bMaxHPrate,5;
bonus bPow,2;
bonus2 bSkillAtk,"DK_DRAGONIC_BREATH",5;
if (.@r>=5) {
   bonus2 bSkillAtk,"DK_DRAGONIC_BREATH",10;
   if (.@r>=7) {
      bonus bLongAtkRate,5;
      if (.@r>=9) {
         bonus2 bSkillAtk,"DK_DRAGONIC_BREATH",10;
         if (.@r>=10) {
            bonus bDelayrate,-10;
            if (.@r>=11) {
               bonus2 bSkillAtk,"DK_MADNESS_CRUSHER",15;
               bonus2 bSkillAtk,"DK_DRAGONIC_BREATH",5;
            }
         }
      }
   }
}
if (.@g>=ENCHANTGRADE_D) {
   bonus bLongAtkRate,10;
   if (.@g>=ENCHANTGRADE_C) {
      bonus2 bAddSize,Size_All,10;
      if (.@g>=ENCHANTGRADE_B) {
         bonus2 bAddRace,RC_All,10;
         if (.@g>=ENCHANTGRADE_A) {
            bonus2 bAddEle,Ele_All,10;
         }
      }
   }
}

Set Script
Crown of Good and Evil (Dragon Knight)
Good Spell
Jupiter Spear
bonus2 bSkillAtk,"DK_MADNESS_CRUSHER",20;
bonus2 bSkillAtk,"DK_DRAGONIC_BREATH",15;
Crown of Good and Evil (Dragon Knight)
Jupiter Spear
.@r = getequiprefinerycnt(EQI_HAND_R)/3;
bonus2 bSkillAtk,"DK_MADNESS_CRUSHER",5*.@r;
bonus2 bSkillAtk,"DK_DRAGONIC_BREATH",4*.@r;
if (getenchantgrade(EQI_HAND_R)>=ENCHANTGRADE_B) {
   bonus2 bSkillAtk,"DK_DRAGONIC_BREATH",10;
}