Poenitentia Virga

Item ID 640015 Name Poenitentia Virga
A staff containing the pain of bereavement.
_______________________
Indestructible in battle
_______________________
MATK +300
MATK +10%
_______________________
Increases damage of Storm Cannon and Rock Down by 10%.
_______________________
For each 2 Refine Levels:
Increases damage of Chain Lightning and Earth Strain by 3%.
_______________________
Refine Level +7:
Decreases Variable Casting Time by 10%.
_______________________
Refine Level +9:
Increases damage of Chain Lightning and Earth Strain by additional 25%.
_______________________
Refine Level +11:
Increases Magical Damage with Wind and Earth element by 10%.
_______________________
[Bonus by Grade]
[Grade D]: Damage of Storm Cannon and Rock Down +5%.
[Grade C]: Damage of Storm Cannon and Rock Down +8%, S.MATK +1.
[Grade B]: Damage of Storm Cannon and Rock Down +12%, SPL +2.
_______________________
Type: Two-Handed Staff
Attack: 170
Weight: 200
Weapon Level: 5
_______________________
Requirement:
Base Level 230
Arch Mage
Weapon Level 5 Identifier Poenitentia_Virga
Attack 170 Type Weapon - Two-Handed Staff
MATK 300 Equip Locations Two-Handed
Defense 0 Equippable Jobs Wizard
Range 1 Equip Gender Both (Male and Female)
Slots 2 Equip Upper None
Weight 200 Min Equip Level 230
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 bUnbreakableWeapon;
bonus bMatkRate,10;
bonus2 bSkillAtk,"AG_STORM_CANNON",10;
bonus2 bSkillAtk,"AG_ROCK_DOWN",10;
bonus2 bSkillAtk,"WL_EARTHSTRAIN",3*(.@r/2);
bonus2 bSkillAtk,"WL_CHAINLIGHTNING_ATK",3*(.@r/2);
if (.@r>=7) {
   bonus bVariableCastrate,-10;
   if (.@r>=9) {
      bonus2 bSkillAtk,"WL_EARTHSTRAIN",25;
      bonus2 bSkillAtk,"WL_CHAINLIGHTNING_ATK",25;
      if (.@r>=11) {
         bonus2 bMagicAtkEle,Ele_Earth,10;
         bonus2 bMagicAtkEle,Ele_Wind,10;
      }
   }
}
if (.@g >= ENCHANTGRADE_D) {
   bonus2 bSkillAtk,"AG_STORM_CANNON",5;
   bonus2 bSkillAtk,"AG_ROCK_DOWN",5;
   if (.@g >= ENCHANTGRADE_C) {
      bonus bSMatk,1;
      bonus2 bSkillAtk,"AG_STORM_CANNON",8;
      bonus2 bSkillAtk,"AG_ROCK_DOWN",8;
      if (.@g >= ENCHANTGRADE_B) {
         bonus bSpl,2;
         bonus2 bSkillAtk,"AG_STORM_CANNON",12;
         bonus2 bSkillAtk,"AG_ROCK_DOWN",12;
      }
   }
}

Set Script
Penance Charm Crown
Poenitentia Virga
.@r = getequiprefinerycnt(EQI_HAND_R);
bonus bSMatk,10;
bonus2 bSkillAtk,"AG_STRANTUM_TREMOR",10*(.@r/2);
bonus2 bSkillAtk,"AG_STORM_CANNON",10*(.@r/2);