bonus bAtkRate,5;
if (getrefine() > 5 && getrefine() <= 12) {
   bonus2 bAddRace,RC_DemiHuman,(getrefine() - 5);
   bonus2 bSubRace,RC_DemiHuman,(getrefine() - 5);
   bonus2 bAddRace,RC_Player_Human,(getrefine() - 5);
   bonus2 bSubRace,RC_Player_Human,(getrefine() - 5);
}
if (getrefine() > 12) {
   bonus2 bAddRace,RC_DemiHuman,7;
   bonus2 bAddRace,RC_Player_Human,7;
   bonus2 bSubRace,RC_DemiHuman,7;
   bonus2 bSubRace,RC_Player_Human,7;
}