Dimensions Imperial Sword

Item ID 500092 Name Dimensions Imperial Sword
A one-handed sword imbued with rune magic.
_______________________
MATK +240
_______________________
MATK +3%
Increases damage of Genesis Ray by 25%
Increases damage of Cross Rain by 15%.
_______________________
For each 2 Refine Levels:
MATK +25
MATK +1%
_______________________
For each 3 Refine Levels:
Increases damage of Genesis Ray by additional 7%
Increases damage of Cross Rain by additional 5%.
_______________________
Refine Level +7:
Increases Magical Damage with Holy and Neutral element by 25%.
_______________________
Refine Level +9:
Decreases Variable Casting Time by 10%.
Decreases Genesis Ray skill cooldown by 1 second.
_______________________
Refine Level +11:
Increases damage of Genesis Ray by additional 45%
Increases damage of Cross Rain by additional 15%.
_______________________
When equipped with Time Dimensions Rune Crown (Imperial Guard):
Increases damage of Genesis Ray by additional 45%
Decreases Genesis Ray skill cooldown by 0.5 second.
Increases Magical Damage with Holy and Neutral element by 10%.

If the Weapon and Headgear's Grade are A or higher:
Increases damage of Genesis Ray by additional (the sum of refine level)%.
Decreases Cross Rain skill cooldown by 1 second.
_______________________
[Bonus by Grade]
[Grade D]: S.MATK +5
[Grade C]: Damage of Cross Rain +15%.
[Grade B]: Magical Damage with Holy and Neutral element +10%.
[Grade A]: S.MATK +3 per 2 Refine Levels.
_______________________
Type: One-Handed Sword
Attack: 100
Weight: 230
Weapon Level: 5
_______________________
Requirement:
Base Level 250
Imperial Guard
Weapon Level 5 Identifier Dimen_IG_Sword
Attack 100 Type Weapon - One-Handed Sword
MATK 240 Equip Locations Main Hand
Defense 0 Equippable Jobs Crusader
Range 1 Equip Gender Both (Male and Female)
Slots 2 Equip Upper None
Weight 230 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 bMatkRate,3+(.@r/2);
bonus2 bSkillAtk,"IG_CROSS_RAIN",15+5*(.@r/3);
bonus2 bSkillAtk,"LG_RAYOFGENESIS",25+7*(.@r/3);
bonus bMatk,25*(.@r/2);
if (.@r>=7) {
   bonus2 bMagicAtkEle,Ele_Holy,25;
   bonus2 bMagicAtkEle,Ele_Neutral,25;
   if (.@r>=9) {
      bonus bVariableCastrate,-10;
      bonus2 bSkillCooldown,"LG_RAYOFGENESIS",-1000;
      if (.@r>=11) {
         bonus2 bSkillAtk,"IG_CROSS_RAIN",15;
         bonus2 bSkillAtk,"LG_RAYOFGENESIS",45;
      }
   }
}
if (.@g>=ENCHANTGRADE_D) {
   bonus bSMatk,5;
   if (.@g>=ENCHANTGRADE_C) {
      bonus2 bSkillAtk,"IG_CROSS_RAIN",15;
      if (.@g>=ENCHANTGRADE_B) {
         bonus2 bMagicAtkEle,Ele_Holy,10;
         bonus2 bMagicAtkEle,Ele_Neutral,10;
         if (.@g>=ENCHANTGRADE_A) {
            bonus bSMatk,3*(.@r/2);
         }
      }
   }
}

Set Script
Dimensions Imperial Sword
Time Dimensions Rune Crown (Imperial Guard)
bonus2 bSkillCooldown,"LG_RAYOFGENESIS",-500;
bonus2 bMagicAtkEle,Ele_Holy,10;
bonus2 bMagicAtkEle,Ele_Neutral,10;
bonus2 bSkillAtk,"LG_RAYOFGENESIS",45;
if (getenchantgrade(EQI_HAND_R)>=ENCHANTGRADE_A && getenchantgrade(EQI_HEAD_TOP)>=ENCHANTGRADE_A) {
   .@sum = getequiprefinerycnt(EQI_HAND_R)+getequiprefinerycnt(EQI_HEAD_TOP);
   bonus2 bSkillCooldown,"IG_CROSS_RAIN",-1000;
   bonus2 bSkillAtk,"LG_RAYOFGENESIS",.@sum;
}