.@r = getrefine();
if (.@r>=10) {
   bonus2 bHPDrainRate,60,6;
   bonus2 bSPDrainRate,50,5;
} else if (.@r>=9) {
   bonus2 bHPDrainRate,40,4;
   bonus2 bSPDrainRate,30,3;
} else if (.@r>=8) {
   bonus2 bHPDrainRate,30,3;
   bonus2 bSPDrainRate,20,2;
}