bonus2 bAddRace,RC_DemiHuman,70;
bonus2 bAddRace,RC_Player_Human,70;
bonus2 bIgnoreDefRaceRate,RC_DemiHuman,25;
bonus2 bIgnoreDefRaceRate,RC_Player_Human,25;
bonus bUnbreakableWeapon;
.@r = getrefine();
if (.@r>5) {
   bonus2 bAddRace,RC_DemiHuman,pow(min(14,.@r)-3,2);
   bonus2 bAddRace,RC_Player_Human,pow(min(14,.@r)-3,2);
   bonus2 bIgnoreDefRaceRate,RC_DemiHuman,5;
   bonus2 bIgnoreDefRaceRate,RC_Player_Human,5;
   bonus3 bAutoSpell,"NPC_CRITICALWOUND",1,50;
}
if (.@r>8) {
   bonus3 bAutoSpell,"NPC_CRITICALWOUND",1,100;
   bonus4 bAutoSpellOnSkill,"MC_MAMMONITE","NPC_CRITICALWOUND",2,200;
   bonus4 bAutoSpellOnSkill,"WS_CARTTERMINATION","NPC_CRITICALWOUND",2,200;
}