1. If you using renewal, it dosn't anymore atk rate. I fixed it for you with addrace bonus. It don't give vit rate. I've add now for you max hp 5%.
3. Like 1. it dosn't give anymore matk rate too. At this sample it gives each refine 5 matk.
1. { bonus bAllStats,15; bonus2 bAddRace,RC_NonBoss,(getrefine()*2); bonus2 bAddRace,RC_Boss,(getrefine()*2; bonus2 bSubRace,RC_Player,(getrefine()*2; bonus bMaxHPrate,5; }
2. { bonus bAllStats,25; bonus2 bSubRace,RC_DemiHuman,(getrefine()*1); bonus2 bSubRace,RC_Player,(getrefine()*1); bonus bDefRate,(getrefine()/-3); }
3. { bonus bAllStats,40; bonus bMatk,(getrefine()*5); bonus bInt,5;
(not tested)
Hope it help you.