Guardian Knight Battle Axe

Item ID 28141 Name Guardian Knight Battle Axe
A huge two-handed axe used by Glastheim Guards.
It's an ordinary weapon with nothing special, but it is influenced by the magical power of Himelmez.
_______________________
Indestructible in battle
_______________________
ATK +5%
_______________________
Decreases damage taken from Medium and Large size by 10%.
_______________________
For each Refine Level:
Increases Ranged Physical Damage by 1%.
_______________________
Refine Level +9:
Increases damage of Axe Tornado and Magma Eruption by 20%.
Decreases Axe Tornado skill cooldown by 1 second.
_______________________
Refine Level +11:
Increases Physical Damage against enemies of Undead and Angel race by 20%.
_______________________
When equipped with King Schmidt's Suit and King Schmidt's Manteau:
ATK +30
Physical attacks have a chance to increase Ranged Physical Damage by additional 10% for 10 seconds.
_______________________
Total Refine Level of entire set at least +30:
Increases Physical Damage against enemies of Holy and Undead elemental by 20%.
_______________________
Type: Two-Handed Axe
Attack: 270
Weight: 500
Weapon Level: 4
_______________________
Requirement:
Base Level 170
Mechanic
Weapon Level 4 Identifier G_Knight_BattleAxe
Attack 270 Type Weapon - Two-Handed Axe
MATK 0 Equip Locations Two-Handed
Defense 0 Equippable Jobs Blacksmith
Range 1 Equip Gender Both (Male and Female)
Slots 2 Equip Upper Third, Third Upper, Third Baby
Weight 500 Min Equip Level 170
NPC Buy 0 Max Equip Level None
NPC Sell 0 Refineable Yes
Credit Price None Trade restriction None
Item Script
.@r = getrefine();
bonus2 bSubSize,Size_Medium,10;
bonus2 bSubSize,Size_Large,10;
bonus bAtkRate,5;
bonus bUnbreakableWeapon;
bonus bLongAtkRate,.@r;
if (.@r>=9) {
   bonus2 bSkillCooldown,"NC_AXETORNADO",-1000;
   bonus2 bSkillAtk,"NC_AXETORNADO",20;
   bonus2 bSkillAtk,"NC_MAGMA_ERUPTION",20;
   if (.@r>=11) {
      bonus2 bAddRace,RC_Undead,20;
      bonus2 bAddRace,RC_Angel,20;
   }
}

Set Script
Guardian Knight Battle Axe
King Schmidt's Suit
King Schmidt's Manteau
.@sum = getequiprefinerycnt(EQI_HAND_R)+getequiprefinerycnt(EQI_ARMOR)+getequiprefinerycnt(EQI_GARMENT);
autobonus "{ bonus bLongAtkRate,10; }",1,10000,BF_WEAPON;
bonus bBaseAtk,30;
if (.@sum >= 30) {
   bonus2 bAddEle,Ele_Undead,20;
   bonus2 bAddEle,Ele_Holy,20;
}