.@r = getrefine();
bonus bUnbreakableHelm;
bonus bNoGemStone;
bonus bMatk,readparam(bInt);
bonus bUseSPrate,100;
if (.@r >= 5) {
   bonus bUseSPrate,-25;
   bonus bMatkRate,3;
   bonus bHealPower,3;
}
if (.@r >= 7) {
   bonus bUseSPrate,-25;
   bonus bMatkRate,5;
   bonus bHealPower,5;
}
if (.@r >= 9) {
   bonus bUseSPrate,-25;
   bonus bMatkRate,7;
   bonus bHealPower,7;
}