.@r = getrefine();
bonus2 bAddClass,Class_All,(.@r/2);
bonus bBaseAtk,10*(.@r/2);
bonus2 bAddSize,Size_All,5*(.@r/4);
if (.@r>=7) {
   bonus2 bAddClass,Class_All,7;
}
if (.@r>=9) {
   bonus2 bIgnoreDefRaceRate,RC_Demon,20;
   bonus2 bIgnoreMDefRaceRate,RC_Demon,20;
   bonus2 bIgnoreDefRaceRate,RC_Brute,20;
   bonus2 bIgnoreMDefRaceRate,RC_Brute,20;
}
if (.@r>=11) {
   bonus2 bIgnoreDefRaceRate,RC_Demon,10;
   bonus2 bIgnoreMDefRaceRate,RC_Demon,10;
   bonus2 bIgnoreDefRaceRate,RC_Brute,10;
   bonus2 bIgnoreMDefRaceRate,RC_Brute,10;
}