Royal Magician Dagger

Item ID 28776 Name Royal Magician Dagger
A personal dagger used by Glastheim Mages.
It's an ordinary weapon with nothing special, but it is influenced by the magical power of Himelmez.
_______________________
MATK +170
MATK +5%
_______________________
For each Refine Level:
MATK +4
_______________________
Refine Level +9:
Increases Magical Damage with Fire and Neutral element by 15%.
_______________________
Refine Level +11:
Increases Magical Damage against monsters of Undead and Angel race by 20%.
_______________________
When equipped with King Schmidt's Suit and King Schmidt's Manteau:
MATK +30
Magical attacks have a chance to increase Fire and Neutral elemental magic damage by additional 10% for 10 seconds.

Total Refine Level of entire set at least +30:
Increases Magical Damage against Holy and Undead elemental by 20%.
_______________________
Type: Dagger
Attack: 200
Weight: 150
Weapon Level: 4
_______________________
Requirement:
Base Level 170
Shadow Chaser
Weapon Level 4 Identifier R_Magician_Dagger
Attack 200 Type Weapon - Dagger
MATK 170 Equip Locations Main Hand
Defense 0 Equippable Jobs Rogue
Range 1 Equip Gender Both (Male and Female)
Slots 2 Equip Upper Third, Third Upper, Third Baby
Weight 150 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 bMatkRate,5;
bonus bMatk,4*.@r;
if (.@r>=9) {
   bonus2 bMagicAtkEle,Ele_Neutral,15;
   bonus2 bMagicAtkEle,Ele_Fire,15;
}
if (.@r>=11) {
   bonus2 bMagicAddRace,RC_Undead,20;
   bonus2 bMagicAddRace,RC_Angel,20;
}

Set Script
Royal Magician Dagger
King Schmidt's Suit
King Schmidt's Manteau
.@sum = getequiprefinerycnt(EQI_HAND_R)+getequiprefinerycnt(EQI_ARMOR)+getequiprefinerycnt(EQI_GARMENT);
autobonus "{ bonus2 bMagicAtkEle,Ele_Neutral,10; bonus2 bMagicAtkEle,Ele_Fire,10; }",1,10000,BF_MAGIC;
bonus bMatk,30;
if (.@sum >= 30) {
   bonus2 bMagicAddEle,Ele_Undead,20;
   bonus2 bMagicAddEle,Ele_Holy,20;
}
Heaven's Majesty
Royal Magician Dagger
bonus bAspdRate,15;
bonus2 bSubRace,RC_Player_Human,10;
skill "PA_GOSPEL",1;