Grave Worm Card

Item ID 300171 Name Grave Worm Card
When compounded on either One-Handed Staff or Two-Handed Staff:
Ignores magic defense of all race, except Players, by 10%.

For each 4 Refine Levels:
Ignores magic defense of enemies by additional 2% and increases received physical damage by 2%.
_______________________
Type: Card
Compound on: Weapon
Weight: 1
Weapon Level 0 Identifier MD_Airboat_Card2
Attack 0 Type Card
MATK 0 Equip Locations Main Hand
Defense 0 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 0 Equip Upper None
Weight 1 Min Equip Level None
NPC Buy 0 Max Equip Level None
NPC Sell 0 Refineable No
Credit Price None Trade restriction None
Item Script
if (getiteminfo(getequipid(EQI_HAND_R),11) == W_STAFF || getiteminfo(getequipid(EQI_HAND_R),11) == W_2HSTAFF) {
   .@r = 2*(getrefine()/4);
   bonus2 bIgnoreMdefRaceRate,RC_All,10+.@r;
   bonus2 bIgnoreMdefRaceRate,RC_Player_Human,-10-.@r;
   bonus2 bIgnoreMdefRaceRate,RC_Player_Doram,-10-.@r;
   bonus3 bSubRace,RC_All,-.@r,BF_NORMAL;
}