Patent Madogum

Item ID 510019 Name Patent Madogum
A dagger once used by ancient wizard.
Seeing the state of magic, he began to demonstrate his natural ability.
It resonates with Great Hero's Boots.
_______________________
MATK +195
_______________________
For each 2 Refine Levels:
MATK +15
_______________________
For each 3 Refine Levels:
Increases Attack Speed (decreases After Attack Delay by 2%).
_______________________
Refine Level +7:
Random chance to auto-cast Level 7 Meteor Storm when dealing physical damage.
_______________________
Refine Level +9:
Increases all elemental magical damage by 15%.
_______________________
Refine Level +11:
Random chance to auto-cast Level 4 Psychic Wave when dealing physical damage.
_______________________
When equipped with Great Hero's Boots:
INT +10, MATK +7%.
_______________________
Type: Dagger
Attack: 150
Weight: 80
Weapon Level: 4
_______________________
Requirement:
Base Level 150
Shadow Chaser
Weapon Level 4 Identifier Up_Magic_Sword
Attack 150 Type Weapon - Dagger
MATK 195 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 80 Min Equip Level 150
NPC Buy 0 Max Equip Level None
NPC Sell 0 Refineable Yes
Credit Price None Trade restriction None
Item Script
.@r = getrefine();
bonus bMatk,.@r/2*15;
bonus bAspdRate,(.@r/3*2);
if (.@r>=7) {
   bonus5 bAutoSpell,"WZ_METEOR",7,100,BF_SHORT,1;
}
if (.@r>=9) {
   bonus2 bMagicAtkEle,Ele_All,15;
}
if (.@r>=11) {
   bonus5 bAutoSpell,"SO_PSYCHIC_WAVE",4,100,BF_SHORT,1;
}

Set Script
Great Hero Boots
Patent Madogum
bonus bInt,10;
bonus bMatkRate,7;
Ring of Unknown Hero (Shadow Chaser)
Patent Madogum
bonus2 bMagicAddRace,RC_All,8;
if (getequiprefinerycnt(EQI_HAND_R)>=11)
   bonus2 bSkillAtk,"SO_PSYCHIC_WAVE",(readparam(bAgi)+readparam(bInt))/12;
[NFS] Ring of Unknown Hero (Shadow Chaser)
Patent Madogum
bonus2 bMagicAddRace,RC_All,8;
if (getequiprefinerycnt(EQI_HAND_R)>=11)
   bonus2 bSkillAtk,"SO_PSYCHIC_WAVE",(readparam(bAgi)+readparam(bInt))/12;