High-tech Shield

Item ID 460096 Name High-tech Shield
None
Weapon Level 0 Identifier Hightech_Shield_US
Attack 0 Type Armor
MATK 0 Equip Locations Off Hand
Defense 50 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 1 Equip Upper None
Weight 50 Min Equip Level 100
NPC Buy 0 Max Equip Level None
NPC Sell 0 Refineable Yes
Credit Price None Trade restriction None
Item Script
.@r = getrefine();
.@g = getenchantgrade();
bonus bShortWeaponDamageReturn,25;
bonus bLongAtkRate,15;
bonus bPow,3*(.@r/2);
bonus bCon,3*(.@r/2);
bonus bMaxHPrate,5*(.@r/3);
bonus bDelayrate,-2*(.@r/3);
if (.@r>=10) {
   bonus2 bAddClass,Class_All,15;
   if (.@r>=11) {
       bonus2 bSkillAtk,"GN_CARTCANNON",50;
       if (.@r>=12) {
            bonus2 bSkillAtk,"GN_SPORE_EXPLOSION",50;
            if (.@r>=13) {
                bonus bLongAtkRate,20;
                if (.@r>=14) {
                    bonus2 bSkillAtk,"GN_CARTCANNON",80;
                    bonus2 bSkillAtk,"GN_SPORE_EXPLOSION",80;
                }
            }
       }
   }
}
if (getpetinfo(PETINFO_EGGID) == 9013) {
   if (getpetinfo(PETINFO_INTIMATE) >= PET_INTIMATE_LOYAL) {
       bonus bSpeedRate,25;
       bonus2 bSkillAtk,"GN_SPORE_EXPLOSION",40;
   }
}
if (getpetinfo(PETINFO_EGGID) == 9123) {
   if (getpetinfo(PETINFO_INTIMATE) >= PET_INTIMATE_LOYAL) {
       bonus bSpeedRate,25;
       bonus2 bSkillAtk,"GN_CARTCANNON",40;
   }
}
if (.@g>=ENCHANTGRADE_C) {
   bonus bPow,3;
   bonus bCon,3;
   if (.@g>=ENCHANTGRADE_B) {
       bonus bLongAtkRate,20;
       if (.@g>=ENCHANTGRADE_A) {
            bonus bAllTraitStats,10;
       }
   }
}