Blood Rapier

Item ID 500065 Name Blood Rapier
A one-handed sword with a bloody blade stained from the countless battles.
_______________________
ATK +5%, POW +2
Increases damage of Mayhemic Thorns by 5%.
_______________________
Refine Level +5:
Increases damage of Mayhemic Thorns by additional 10%.
_______________________
Refine Level +7:
Increases Ranged Physical Damage by 5%.
_______________________
Refine Level +9:
Increases damage of Mayhemic Thorns by additional 10%.
_______________________
Refine Level +10:
Critical +10
_______________________
Refine Level +11:
Increases damage of Mayhemic Thorns by additional 5%.
Increases Critical Damage by 20%.
_______________________
[Bonus by Grade]
[Grade D]: Ranged Physical Damage +10%.
[Grade C]: Physical Damage against enemies of every size +10%.
[Grade B]: Physical Damage against enemies of every race +10%.
[Grade A]: Physical Damage against enemies of every element +10%.
_______________________
Type: One-Handed Sword
Attack: 210
Weight: 150
Weapon Level: 5
_______________________
Requirement:
Base Level 215
Biolo
Weapon Level 5 Identifier Blood_Rapier
Attack 210 Type Weapon - One-Handed Sword
MATK 0 Equip Locations Main Hand
Defense 0 Equippable Jobs Alchemist
Range 1 Equip Gender Both (Male and Female)
Slots 2 Equip Upper None
Weight 150 Min Equip Level 215
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,5;
bonus bPow,2;
bonus2 bSkillAtk,"BO_MAYHEMIC_THORNS",5;
if (.@r>=5) {
   bonus2 bSkillAtk,"BO_MAYHEMIC_THORNS",10;
   if (.@r>=7) {
      bonus bLongAtkRate,5;
      if (.@r>=9) {
         bonus2 bSkillAtk,"BO_MAYHEMIC_THORNS",10;
         if (.@r>=10) {
            bonus bCritical,10;
            if (.@r>=11) {
               bonus bCritAtkRate,20;
               bonus2 bSkillAtk,"BO_MAYHEMIC_THORNS",5;
            }
         }
      }
   }
}
if (.@g>=ENCHANTGRADE_D) {
   bonus bLongAtkRate,10;
   if (.@g>=ENCHANTGRADE_C) {
      bonus2 bAddSize,Size_All,10;
      if (.@g>=ENCHANTGRADE_B) {
         bonus2 bAddRace,RC_All,10;
         if (.@g>=ENCHANTGRADE_A) {
            bonus2 bAddEle,Ele_All,10;
         }
      }
   }
}

Set Script
Crown of Good and Evil (Biolo)
Evil Spell
Blood Rapier
bonus bCritAtkRate,25;
bonus2 bSkillAtk,"BO_MAYHEMIC_THORNS",15;
Crown of Good and Evil (Biolo)
Blood Rapier
.@r = getequiprefinerycnt(EQI_HAND_R)/3;
bonus bCritAtkRate,10*.@r;
bonus2 bSkillAtk,"BO_MAYHEMIC_THORNS",4*.@r;
if (getenchantgrade(EQI_HAND_R)>=ENCHANTGRADE_B) {
   bonus2 bSkillAtk,"BO_MAYHEMIC_THORNS",10;
}