.@r = getrefine();
bonus bUnbreakableWeapon;
bonus2 bIgnoreDefRaceRate,RC_All,5*.@r;
bonus2 bAddRace,RC_Player_Human,80 + (.@r > 8 ? 20 : 0) + (.@r > 7 ? 35 : 0);
if (.@r > 9) {
   bonus bMaxHPrate,15;
   bonus bMaxSPrate,15;
}