Punish Scepter

Item ID 590045 Name Punish Scepter
A scepter said to be used to slay demons with evil energy.
_______________________
Indestructible in battle
_______________________
ATK +5%, POW +2
Increases damage of Third Punish by 5%.
_______________________
Refine Level +5:
Increases damage of Third Punish by additional 10%.
_______________________
Refine Level +7:
Increases Melee Physical Damage by 5%.
_______________________
Refine Level +9:
Increases damage of Third Punish by additional 10%.
_______________________
Refine Level +10:
Critical +10
_______________________
Refine Level +11:
Increases damage of Third Punish by additional 5%.
Increases damage of First Brand 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: Mace
Attack: 210
Weight: 150
Weapon Level: 5
_______________________
Requirement:
Base Level 215
Inquisitor
Weapon Level 5 Identifier Punish_Hall
Attack 210 Type Weapon - Mace
MATK 0 Equip Locations Main Hand
Defense 0 Equippable Jobs Monk
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 bUnbreakableWeapon;
bonus bAtkRate,5;
bonus bPow,2;
bonus2 bSkillAtk,"IQ_THIRD_PUNISH",5;
if (.@r>=5) {
   bonus2 bSkillAtk,"IQ_THIRD_PUNISH",10;
   if (.@r>=7) {
      bonus bShortAtkRate,5;
      if (.@r>=9) {
         bonus2 bSkillAtk,"IQ_THIRD_PUNISH",10;
         if (.@r>=10) {
            bonus bCritical,10;
            if (.@r>=11) {
               bonus2 bSkillAtk,"IQ_FIRST_BRAND",15;
               bonus2 bSkillAtk,"IQ_THIRD_PUNISH",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 (Inquisitor)
Good Spell
Punish Scepter
bonus2 bSkillAtk,"IQ_FIRST_BRAND",20;
bonus2 bSkillAtk,"IQ_THIRD_PUNISH",15;
Crown of Good and Evil (Inquisitor)
Punish Scepter
.@r = getequiprefinerycnt(EQI_HAND_R)/3;
bonus2 bSkillAtk,"IQ_THIRD_PUNISH",4*.@r;
bonus2 bSkillAtk,"IQ_FIRST_BRAND",5*.@r;
if (getenchantgrade(EQI_HAND_R)>=ENCHANTGRADE_B) {
   bonus2 bSkillAtk,"IQ_THIRD_PUNISH",10;
}