.@r = getrefine();
bonus bMaxHPrate,5;
bonus bMaxSPrate,5;
bonus bMaxHP,2000;
bonus bMaxSP,300;
if (.@r>=9) {
   bonus bMaxHPrate,2;
   bonus bMaxSPrate,2;
   if (.@r>=11) {
      bonus bMaxHPrate,3;
      bonus bMaxSPrate,3;
   }
}