bonus2 bSubRace,RC_Player_Human,5;
bonus2 bSubRace,RC_DemiHuman,5;
bonus2 bSubRace,RC_Brute,5;
bonus2 bSubRace,RC_Player_Doram,5;
bonus2 bSubEle,Ele_Wind,5;
bonus2 bSubEle,Ele_Earth,5;
bonus bAgi,5;
bonus bVit,5;
bonus bMdef,10;
.@r = getrefine();
if (.@r>=7) {
   .@val = 10;
   bonus bSPGainValue,10;
   bonus bLongSPGainValue,10;
   if (.@r>=8) {
      .@s = (readparam(bAgi)+readparam(bVit))/20;
      bonus bBaseAtk,15*.@s;
      bonus bHit,5*.@s;
      if (.@r>=9) {
         .@val += 10;
      }
   }
   bonus bSPGainValue,.@val;
   bonus bLongSPGainValue,.@val;
}