.@r = getrefine();
bonus bFlee2,10;
bonus bLongAtkRate,.@r*2;
if (.@r >= 7) {
   bonus bUseSPrate,-20;
   if (.@r >= 9) {
      bonus bDelayrate,-20;
      if (.@r >= 11) {
         bonus bMaxHPrate,10;
         bonus bMaxSPrate,10;
      }
   }
}