Time Gap Saint Staff

Item ID 550156 Name Time Gap Saint Staff
A staff imbued with the abyssal magic flowing from the gap of time.
_______________________
Indestructible in battle
_______________________
MATK +240, MATK +3%.
_______________________
Increases damage of Divinus Flos by 15%.
_______________________
For each 2 Refine Levels:
MATK +25
MATK +1%
_______________________
For each 3 Refine Levels:
Increases damage of Divinus Flos by additional 5%.
_______________________
Refine Level +7:
Increases Magical Damage with Neutral and Holy element by 25%.
_______________________
Refine Level +9:
Decreases Variable Casting Time by 10%.
S.MATK +7.
_______________________
Refine Level +11:
Increases damage of Divinus Flos by additional 15%.
_______________________
When equipped with Time Dimensions Rune Crown (Cardinal):
Increases damage of Arbitrium by 20%.
Increases damage of Pneumaticus Procella by 15%.

If the Weapon and Headgear's Grade are A or higher:
Increases damage of Arbitrium and Pneumaticus Procella by additional (the sum of refine level)%.
_______________________
[Bonus by Grade]
[Grade D]: S.MATK +5
[Grade C]: Damage of Divinus Flos +15%.
[Grade B]: Magical Damage with Neutral and Holy element +10%.
[Grade A]: S.MATK +3 per 2 Refine Levels.
_______________________
Type: One-Handed Staff
Attack: 100
Weight: 200
Weapon Level: 5
_______________________
Requirement:
Base Level 250
Cardinal
Weapon Level 5 Identifier Time_Gap_CD_Staff
Attack 100 Type Weapon - Staff
MATK 240 Equip Locations Main Hand
Defense 0 Equippable Jobs Priest
Range 1 Equip Gender Both (Male and Female)
Slots 2 Equip Upper None
Weight 200 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 bMatk,25*(.@r/2);
bonus bUnbreakableWeapon;
bonus bMatkRate,3+(.@r/2);
bonus2 bSkillAtk,"CD_DIVINUS_FLOS",15+5*(.@r/3);
if (.@r>=7) {
   bonus2 bMagicAtkEle,Ele_Holy,25;
   bonus2 bMagicAtkEle,Ele_Neutral,25;
   if (.@r>=9) {
      bonus bVariableCastrate,-10;
      bonus bSMatk,7;
      if (.@r>=11) {
         bonus2 bSkillAtk,"CD_DIVINUS_FLOS",15;
      }
   }
}
if (.@g>=ENCHANTGRADE_D) {
   bonus bSMatk,5;
   if (.@g>=ENCHANTGRADE_C) {
      bonus2 bSkillAtk,"CD_DIVINUS_FLOS",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
Time Gap Saint Staff
Time Dimensions Rune Crown (Cardinal)
bonus2 bSkillAtk,"CD_PNEUMATICUS_PROCELLA",15;
bonus2 bSkillAtk,"CD_ARBITRIUM",20;
bonus2 bSkillAtk,"CD_ARBITRIUM_ATK",20;
if (getenchantgrade(EQI_HAND_R)>=ENCHANTGRADE_A && getenchantgrade(EQI_HEAD_TOP)>=ENCHANTGRADE_A) {
   .@sum = getequiprefinerycnt(EQI_HAND_R)+getequiprefinerycnt(EQI_HEAD_TOP);
   bonus2 bSkillAtk,"CD_PNEUMATICUS_PROCELLA",.@sum;
   bonus2 bSkillAtk,"CD_ARBITRIUM",.@sum;
   bonus2 bSkillAtk,"CD_ARBITRIUM_ATK",.@sum;
}