Poenitentia Tenon

Item ID 700022 Name Poenitentia Tenon
A bow containing the pain of bereavement.
_______________________
ATK +10%
_______________________
Increases damage of Frenzy Shot by 10%.
_______________________
For each 2 Refine Levels:
Increases damage of Triangle Shot by 3%.
_______________________
Refine Level +7:
Increases Critical Damage by 15%.
_______________________
Refine Level +9:
Increases damage of Triangle Shot by additional 30%.
_______________________
Refine Level +11:
Increases Ranged Physical Damage by 15%.
_______________________
[Bonus by Grade]
[Grade D]: Damage of Frenzy Shot +5%.
[Grade C]: Damage of Frenzy Shot +8%, P.ATK +1.
[Grade B]: Damage of Frenzy Shot +12%, CON +1.
_______________________
Type: Bow
Attack: 250
Weight: 140
Weapon Level: 5
_______________________
Requirement:
Base Level 230
Abyss Chaser
Weapon Level 5 Identifier Poenitentia_Tenon
Attack 250 Type Weapon - Bow
MATK 0 Equip Locations Two-Handed
Defense 0 Equippable Jobs Rogue
Range 5 Equip Gender Both (Male and Female)
Slots 2 Equip Upper None
Weight 140 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 bAtkRate,10;
bonus2 bSkillAtk,"ABC_FRENZY_SHOT",10;
bonus2 bSkillAtk,"SC_TRIANGLESHOT",3*(.@r/2);
if (.@r>=7) {
   bonus bCritAtkRate,15;
   if (.@r>=9) {
      bonus2 bSkillAtk,"SC_TRIANGLESHOT",30;
      if (.@r>=11) {
         bonus bLongAtkRate,15;
      }
   }
}
if (.@g >= ENCHANTGRADE_D) {
   bonus2 bSkillAtk,"ABC_FRENZY_SHOT",5;
   if (.@g >= ENCHANTGRADE_C) {
      bonus bPAtk,1;
      bonus2 bSkillAtk,"ABC_FRENZY_SHOT",8;
      if (.@g >= ENCHANTGRADE_B) {
         bonus bCon,1;
         bonus2 bSkillAtk,"ABC_FRENZY_SHOT",12;
      }
   }
}

Set Script
Penance Crown
Poenitentia Tenon
.@r = getequiprefinerycnt(EQI_HAND_R);
bonus bLongAtkRate,15;
bonus2 bSkillAtk,"SC_TRIANGLESHOT",8*(.@r/2);
bonus2 bSkillAtk,"ABC_FRENZY_SHOT",8*(.@r/2);