.@r = getrefine();
bonus bMaxHPrate,5;
bonus bMaxSPrate,5;
bonus bBaseAtk,20*(.@r/2);
if (.@r>=9)
   .@val = 25;
else if (.@r>=7)
   .@val = 10;
if (.@r>=11) {
   bonus2 bAddEle,Ele_Dark,15;
   bonus2 bMagicAddEle,Ele_Dark,15;
   bonus2 bAddEle,Ele_Undead,15;
   bonus2 bMagicAddEle,Ele_Undead,15;
}
bonus2 bAddRace,RC_Demon,.@val;
bonus2 bAddRace,RC_Undead,.@val;
bonus2 bMagicAddRace,RC_Demon,.@val;
bonus2 bMagicAddRace,RC_Undead,.@val;