.@r = getrefine();
bonus bBaseAtk,10;
bonus bPerfectHitAddRate,5;
if (.@r>=7) {
   bonus bBaseAtk,20;
   bonus bPerfectHitAddRate,5;
}
if (.@r>=8) {
   bonus bBaseAtk,20;
   bonus bPerfectHitAddRate,10;
}
if (.@r>=9) {
   bonus bBaseAtk,30;
   bonus bPerfectHitAddRate,10;
}