bonus2 bSubRace,RC_Player_Human,5;
bonus2 bSubRace,RC_DemiHuman,5;
bonus2 bSubRace,RC_Fish,5;
bonus2 bSubEle,Ele_Neutral,5;
bonus2 bSubEle,Ele_Poison,5;
bonus bAgi,5;
bonus bVit,5;
bonus bMdef,10;
.@r = getrefine();
if (.@r>=7) {
   .@sp = 10;
   if (.@r>=8) {
      .@s = (readparam(bAgi)+readparam(bVit))/20;
      bonus bMatk,15*.@s;
      bonus bDef,20*.@s;
      if (.@r>=9) {
         .@sp += 10;
      }
   }
   bonus bMagicSPGainValue,.@sp;
}