Dimensions Dragon Lance

Item ID 630041 Name Dimensions Dragon Lance
A two-handed spear imbued with rune magic.
_______________________
MaxHP +5%
Increases damage of Dragonic Breath by 15%.
_______________________
For each 2 Refine Levels:
ATK +25
ATK +1%
_______________________
For each 3 Refine Levels:
Increases damage of Dragonic Breath by additional 5%.
_______________________
Refine Level +7:
Increases Ranged Physical Damage by 25%.
_______________________
Refine Level +9:
Decreases Variable Casting Time by 10%.
P.ATK +7
_______________________
Refine Level +11:
Increases damage of Dragonic Breath by additional 15%.
_______________________
When equipped with Time Dimensions Rune Crown (Dragon Knight):
Increases damage of Dragon Breath and Dragon Breath - Water by 85%.
Increases Ranged Physical Damage by 10%.

If the Weapon and Headgear's Grade are A or higher:
Increases damage of Dragonic Breath by additional (the sum of refine level)%.

Decreases Dragonic Breath skill cooldown by 0.15 seconds.
_______________________
[Bonus by Grade]
[Grade D]: P.ATK +5
[Grade C]: Damage of Dragonic Breath +15%
[Grade B]: Ranged Physical Damage +10%.
[Grade A]: P.ATK +3 per 2 Refine Levels.
_______________________
Type: Two-Handed Spear
Attack: 350
Weight: 650
Weapon Level: 5
_______________________
Requirement:
Base Level 250
Dragon Knight
Weapon Level 5 Identifier Dimen_DK_Lance
Attack 350 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 650 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 bMaxHPrate,5;
bonus2 bSkillAtk,"DK_DRAGONIC_BREATH",15+5*(.@r/3);
bonus bAtkRate,(.@r/2);
bonus bBaseAtk,25*(.@r/2);
if (.@r>=7) {
   bonus bLongAtkRate,25;
   if (.@r>=9) {
      bonus bVariableCastrate,-10;
      bonus bPAtk,7;
      if (.@r>=11) {
         bonus2 bSkillAtk,"DK_DRAGONIC_BREATH",15;
      }
   }
}
if (.@g>=ENCHANTGRADE_D) {
   bonus bPAtk,5;
   if (.@g>=ENCHANTGRADE_C) {
      bonus2 bSkillAtk,"DK_DRAGONIC_BREATH",15;
      if (.@g>=ENCHANTGRADE_B) {
         bonus bLongAtkRate,10;
         if (.@g>=ENCHANTGRADE_A) {
            bonus bPAtk,3*(.@r/2);
         }
      }
   }
}

Set Script
Dimensions Dragon Lance
Time Dimensions Rune Crown (Dragon Knight)
bonus bLongAtkRate,10;
bonus2 bSkillAtk,"RK_DRAGONBREATH_WATER",85;
bonus2 bSkillAtk,"RK_DRAGONBREATH",85;
if (getenchantgrade(EQI_HAND_R)>=ENCHANTGRADE_A && getenchantgrade(EQI_HEAD_TOP)>=ENCHANTGRADE_A) {
   .@sum = getequiprefinerycnt(EQI_HAND_R)+getequiprefinerycnt(EQI_HEAD_TOP);
   bonus2 bSkillCooldown,"DK_DRAGONIC_BREATH",-150;
   bonus2 bSkillAtk,"DK_DRAGONIC_BREATH",.@sum;
}