.@r = getrefine();
bonus bVariableCastrate,-8;
bonus bMatk,30;
if (.@r>=7) {
   bonus bVariableCastrate,-8;
   if (.@r>=9) {
      bonus bVariableCastrate,-8;
      if (.@r>=11) {
         bonus bVariableCastrate,-8;
      }
   }
}