.@r = getrefine();
if (readparam(bStr)>89) {
   bonus bAllStats,1;
   bonus bStr,.@r;
   bonus bMaxHPRate,1;
   bonus bMaxSPRate,1;
}
if (readparam(bAgi)>89) {
   bonus bAllStats,1;
   bonus bAgi,.@r;
   bonus bMaxHPRate,1;
   bonus bMaxSPRate,1;
}
if (readparam(bVit)>89) {
   bonus bAllStats,1;
   bonus bVit,.@r;
   bonus bMaxHPRate,1;
   bonus bMaxSPRate,1;
}
if (readparam(bInt)>89) {
   bonus bAllStats,1;
   bonus bInt,.@r;
   bonus bMaxHPRate,1;
   bonus bMaxSPRate,1;
}
if (readparam(bDex)>89) {
   bonus bAllStats,1;
   bonus bDex,.@r;
   bonus bMaxHPRate,1;
   bonus bMaxSPRate,1;
}
if (readparam(bLuk)>89) {
   bonus bAllStats,1;
   bonus bLuk,.@r;
   bonus bMaxHPRate,1;
   bonus bMaxSPRate,1;
}