Poenitentia Codex

Item ID 540014 Name Poenitentia Codex
A book containing the pain of bereavement.
_______________________
Indestructible in battle
_______________________
MATK +215
_______________________
MATK +10%
_______________________
Increases damage of Diamond Storm and Terra Drive by 10%.
_______________________
For each 2 Refine Levels:
Increases damage of Diamond Dust and Earth Grave by 3%.
_______________________
Refine Level +7:
Decreases Variable Casting Time by 10%.
_______________________
Refine Level +9:
Increases damage of Diamond Dust and Earth Grave by additional 25%.
_______________________
Refine Level +11:
Decreases Diamond Dust and Earth Grave skill cooldown by 2 seconds.
_______________________
[Bonus by Grade]
[Grade D]: Damage of Diamond Storm and Terra Drive +5%.
[Grade C]: Damage of Diamond Storm and Terra Drive +8%, S.MATK +1.
[Grade B]: Damage of Diamond Storm and Terra Drive +12%, SPL +1.
_______________________
Type: Book
Attack: 150
Weight: 160
Weapon Level: 5
_______________________
Requirement:
Base Level 230
Elemental Master
Weapon Level 5 Identifier Poenitentia_Codex
Attack 150 Type Weapon - Book
MATK 215 Equip Locations Main Hand
Defense 0 Equippable Jobs Sage
Range 1 Equip Gender Both (Male and Female)
Slots 2 Equip Upper None
Weight 160 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,"EM_DIAMOND_STORM",10;
bonus2 bSkillAtk,"EM_TERRA_DRIVE",10;
bonus2 bSkillAtk,"SO_DIAMONDDUST",3*(.@r/2);
bonus2 bSkillAtk,"SO_EARTHGRAVE",3*(.@r/2);
if (.@r>=7) {
   bonus bVariableCastrate,-10;
   if (.@r>=9) {
      bonus2 bSkillAtk,"SO_DIAMONDDUST",25;
      bonus2 bSkillAtk,"SO_EARTHGRAVE",25;
      if (.@r>=11) {
         bonus2 bSkillCooldown,"SO_DIAMONDDUST",-2000;
         bonus2 bSkillCooldown,"SO_EARTHGRAVE",-2000;
      }
   }
}
if (.@g >= ENCHANTGRADE_D) {
   bonus2 bSkillAtk,"EM_DIAMOND_STORM",5;
   bonus2 bSkillAtk,"EM_TERRA_DRIVE",5;
   if (.@g >= ENCHANTGRADE_C) {
      bonus bSMatk,1;
      bonus2 bSkillAtk,"EM_DIAMOND_STORM",8;
      bonus2 bSkillAtk,"EM_TERRA_DRIVE",8;
      if (.@g >= ENCHANTGRADE_B) {
         bonus bSpl,1;
         bonus2 bSkillAtk,"EM_DIAMOND_STORM",12;
         bonus2 bSkillAtk,"EM_TERRA_DRIVE",12;
      }
   }
}

Set Script
Penance Charm Crown
Poenitentia Codex
.@r = getequiprefinerycnt(EQI_HAND_R);
bonus2 bMagicAtkEle,Ele_Earth,15;
bonus2 bMagicAtkEle,Ele_Water,15;
bonus2 bSkillAtk,"EM_DIAMOND_STORM",8*(.@r/2);
bonus2 bSkillAtk,"EM_TERRA_DRIVE",8*(.@r/2);
Royal Palace of Sorrow
Poenitentia Codex
bonus bMaxHPrate,15;
bonus2 bSubClass,Class_Boss,10;
skill "MG_SAFETYWALL",5;