.@r = getrefine();
bonus bAspd,1;
bonus bCriticalLong,5;
bonus bCritAtkRate,10;
bonus2 bIgnoreDefRaceRate,RC_All,10;
if (.@r > 4) {
   bonus bAspd,1;
   bonus bCriticalLong,10;
   bonus bCritAtkRate,2;
   bonus2 bIgnoreDefRaceRate,RC_All,20;
}
if (.@r > 6) {
   bonus bAspd,1;
   bonus bCriticalLong,15;
   bonus bCritAtkRate,6;
   bonus2 bIgnoreDefRaceRate,RC_All,30;
}
if (.@r > 8) {
   bonus bAspd,1;
   bonus bCriticalLong,20;
   bonus bCritAtkRate,12;
   bonus2 bIgnoreDefRaceRate,RC_All,40;
   autobonus "{ bonus bCritAtkRate,100; }",70,5000;
}