.@r = getrefine();
bonus bMaxHP,500;
bonus bMaxSP,50;
bonus bMdef,10;
bonus2 bAddClass,Class_All,3;
if (.@r>=7) {
   bonus bMaxHP,1000;
   bonus bMaxSP,100;
   bonus2 bAddClass,Class_All,3;
}
if (.@r>=9) {
   bonus bMaxHP,1500;
   bonus bMaxSP,150;
   bonus2 bAddClass,Class_All,4;
   bonus bNoSizeFix;
}