.@r = getrefine();
bonus bMdef,10;
bonus bMaxHPrate,3;
bonus bMaxSPrate,3;
bonus bDelayrate,-5;
bonus2 bSubRace,RC_DemiHuman,5;
bonus2 bSubRace,RC_Player_Human,5;
bonus2 bSubRace,RC_Player_Doram,5;
if (.@r >= 5) {
   bonus bMaxHPrate,7;
   bonus bMaxSPrate,7;
   bonus bDelayrate,-5;
}
if (.@r >= 7) {
   bonus bMaxHPrate,10;
   bonus bMaxSPrate,10;
   bonus bDelayrate,-5;
}