bonus bMdef,2;
bonus bVariableCastrate,-6;
bonus bAspdRate,6;
.@r = getrefine();
if (.@r>6) {
   bonus2 bSubRace,RC_DemiHuman,2;
   bonus2 bSubRace,RC_Player_Human,2;
}
if (BaseClass == Job_Swordman || BaseClass == Job_Merchant || BaseClass == Job_Thief || Class == Job_Taekwon || Class == Job_Star_Gladiator || Class == Job_Star_Gladiator2 || Class == Job_Monk || Class == Job_Champion || Class == Job_Sura || Class == Job_Sura_T)
   bonus2 bAddClass,Class_All,(.@r/2);
if (BaseClass == Job_Mage || BaseClass == Job_Acolyte || Class == Job_Ninja || Class == Job_Soul_Linker)
   bonus bMatkRate,(.@r/2);
if (BaseClass == Job_Archer || Class == Job_Gunslinger)
   bonus bBaseAtk,.@r;