Underworld Knife

Item ID 510091 Name Underworld Knife
A dagger with strong power crafted from hell.
_______________________
ATK +5%, CON +2
Increases damage of Flame Trap and Solid Trap by 5%.
_______________________
Refine Level +5:
Increases damage of Flame Trap and Solid Trap by additional 10%.
_______________________
Refine Level +7:
Increases Melee Physical Damage by 5%.
_______________________
Refine Level +9:
Increases damage of Flame Trap and Solid Trap by additional 10%.
_______________________
Refine Level +10:
Decreases Variable Casting Time by 10%.
_______________________
Refine Level +11:
Increases damage of Flame Trap and Solid Trap by additional 5%.
Increases damage of Swift Trap and Deep Blind Trap by 15%.
_______________________
[Bonus by Grade]
[Grade D]: Melee 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: Dagger
Attack: 180
Weight: 100
Weapon Level: 5
_______________________
Requirement:
Base Level 215
Windhawk
Weapon Level 5 Identifier Underworld_Knife
Attack 180 Type Weapon - Dagger
MATK 0 Equip Locations Main Hand
Defense 0 Equippable Jobs Hunter
Range 1 Equip Gender Both (Male and Female)
Slots 2 Equip Upper None
Weight 100 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 bCon,2;
bonus2 bSkillAtk,"WH_SOLIDTRAP",5;
bonus2 bSkillAtk,"WH_FLAMETRAP",5;
if (.@r>=5) {
   bonus2 bSkillAtk,"WH_SOLIDTRAP",10;
   bonus2 bSkillAtk,"WH_FLAMETRAP",10;
   if (.@r>=7) {
      bonus bShortAtkRate,5;
      if (.@r>=9) {
         bonus2 bSkillAtk,"WH_SOLIDTRAP",10;
         bonus2 bSkillAtk,"WH_FLAMETRAP",10;
         if (.@r>=10) {
            bonus bVariableCastrate,-10;
            if (.@r>=11) {
               bonus2 bSkillAtk,"WH_DEEPBLINDTRAP",15;
               bonus2 bSkillAtk,"WH_SWIFTTRAP",15;
               bonus2 bSkillAtk,"WH_SOLIDTRAP",5;
               bonus2 bSkillAtk,"WH_FLAMETRAP",5;
            }
         }
      }
   }
}
if (.@g>=ENCHANTGRADE_D) {
   bonus bShortAtkRate,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 (Windhawk)
Evil Spell
Underworld Knife
bonus2 bSkillAtk,"WH_DEEPBLINDTRAP",20;
bonus2 bSkillAtk,"WH_SWIFTTRAP",20;
bonus2 bSkillAtk,"WH_SOLIDTRAP",15;
bonus2 bSkillAtk,"WH_FLAMETRAP",15;
Crown of Good and Evil (Windhawk)
Underworld Knife
.@r = getequiprefinerycnt(EQI_HAND_R)/3;
bonus2 bSkillAtk,"WH_DEEPBLINDTRAP",5*.@r;
bonus2 bSkillAtk,"WH_SWIFTTRAP",5*.@r;
bonus2 bSkillAtk,"WH_SOLIDTRAP",4*.@r;
bonus2 bSkillAtk,"WH_FLAMETRAP",4*.@r;
if (getenchantgrade(EQI_HAND_R)>=ENCHANTGRADE_B) {
   bonus2 bSkillAtk,"WH_SOLIDTRAP",10;
   bonus2 bSkillAtk,"WH_FLAMETRAP",10;
}