Guardian Knight Jewel Sword

Item ID 32353 Name Guardian Knight Jewel Sword
A ceremonial sword used by the Glastheim Guards.
It's an ordinary weapon with nothing special, but it is influenced by the magical power of Himelmez.
_______________________
MATK +180
_______________________
For each Refine Level:
MaxHP +1%
Increases damage of Grand Cross by 2%.
_______________________
Refine Level +9:
Increases damage of Shield Press by 20%.
_______________________
Refine Level +11:
Increases Damage against monsters of Undead and Angel race by 20%.
_______________________
When equipped with King Schmidt's Suit and King Schmidt's Manteau:
Physical and magical attacks have a chance to increase ATK and MATK by 7% for 10 seconds.
_______________________
Total Refine Level of entire set at least +30:
Increases Damage against Holy and Undead elemental by 20%.
_______________________
Type: One-Handed Sword
Attack: 130
Weight: 400
Weapon Level: 4
_______________________
Requirement:
Base Level 170
Royal Guard
Weapon Level 4 Identifier G_Knight_JewelSword
Attack 130 Type Weapon - One-Handed Sword
MATK 180 Equip Locations Main Hand
Defense 0 Equippable Jobs Crusader
Range 1 Equip Gender Both (Male and Female)
Slots 2 Equip Upper Third, Third Upper, Third Baby
Weight 400 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();
bonus bMaxHPrate,.@r;
bonus2 bSkillAtk,"CR_GRANDCROSS",2*.@r;
if (.@r>=9) {
   bonus2 bSkillAtk,"LG_SHIELDPRESS",20;
}
if (.@r>=11) {
   bonus2 bAddRace,RC_Undead,20;
   bonus2 bMagicAddRace,RC_Undead,20;
   bonus2 bAddRace,RC_Angel,20;
   bonus2 bMagicAddRace,RC_Angel,20;
}

Set Script
Guardian Knight Jewel Sword
King Schmidt's Suit
King Schmidt's Manteau
.@sum = getequiprefinerycnt(EQI_HAND_R)+getequiprefinerycnt(EQI_ARMOR)+getequiprefinerycnt(EQI_GARMENT);
autobonus "{ bonus bMatkRate,7; bonus bAtkRate,7; }",1,10000,BF_MAGIC;
if (.@sum >= 30) {
   bonus2 bMagicAddEle,Ele_Undead,20;
   bonus2 bAddEle,Ele_Undead,20;
   bonus2 bMagicAddEle,Ele_Holy,20;
   bonus2 bAddEle,Ele_Holy,20;
}