.@r = getrefine();
bonus bMatk,10;
bonus2 bIgnoreMdefRaceRate,RC_All,10;
if (.@r>=7) {
   bonus bMatk,20;
   bonus2 bIgnoreMdefRaceRate,RC_All,20;
}
if (.@r>=8) {
   bonus bMatk,20;
   bonus2 bIgnoreMdefRaceRate,RC_All,20;
   bonus bUnbreakableArmor;
}
if (.@r>=9) {
   bonus bMatk,30;
   bonus2 bIgnoreMdefRaceRate,RC_All,20;
}