bonus2 bSubClass,Class_Boss,10;
bonus2 bAddClass,Class_Boss,10;
.@r = getrefine();
if (.@r > 6) {
   autobonus "{ bonus bBaseAtk,100; }",10,10000,BF_WEAPON,"{ specialeffect2 EF_ENHANCE; }";
}
if (.@r > 8) {
   bonus2 bSubClass,Class_Boss,10;
   bonus2 bAddClass,Class_Boss,10;
}