bonus bBaseAtk,100;
bonus bDelayrate,-5;
.@r = getrefine();
if (.@r>=2) {
   bonus2 bAddClass,Class_All,.@r/2;
}
if (.@r>=3) {
   bonus bCritAtkRate,.@r/3;
}
if (.@r>=7) {
   bonus bBaseAtk,50;
}
if (.@r>=9) {
   bonus bDelayrate,-5;
}