.@r = getrefine();
if (.@r >= 7) {
   .@hpsp = 20;
   .@dmg = 10;
} else if (.@r >= 5) {
   .@hpsp = 10;
   .@dmg = 5;
}
else {
   .@hpsp = 3;
   .@dmg = 2;
}
bonus bMdef,15;
bonus2 bSubRace,RC_DemiHuman,5;
bonus bMaxHPrate,.@hpsp;
bonus bMaxSPrate,.@hpsp;
bonus bMatkRate,.@dmg;
bonus2 bMagicAtkEle,Ele_Wind,.@dmg;
bonus2 bMagicAtkEle,Ele_Earth,.@dmg;