.@str = readparam(bStr);
.@agi = readparam(bAgi);
.@vit = readparam(bVit);
.@int = readparam(bInt);
.@dex = readparam(bDex);
.@luk = readparam(bLuk);
bonus bAllStats,1;
if(getrefine()>=10) {
   if (.@str>=100) {
      if (.@str>=120) {
         bonus bMaxHPrate,7;
         bonus bMaxSPrate,7;
      }
      else {
         bonus bMaxHPrate,5;
         bonus bMaxSPrate,5;
      }
   }
   if (.@agi>=100) {
      if (.@agi>=120)
         bonus bAspd,1;
      else
         bonus bAspdRate,8;
   }
   if (.@vit>=100) {
      if (.@vit>=120)
         bonus2 bAddSize,Size_Medium,15;
      else
         bonus2 bAddSize,Size_Medium,10;
   }
   if (.@int>=100) {
      if (.@int>=120)
         bonus bFixedCast,-500;
      else
         bonus bFixedCastrate,-30;
   }
   if (.@dex>=100) {
      if (.@dex>=120)
         bonus bDelayrate,-5;
      else
         bonus bDelayrate,-3;
   }
   if (.@luk>=100) {
      if (.@luk>=120) {
         bonus bCritical,7;
         bonus bFlee2,1;
      }
      else
         bonus bCritical,5;
   }
}