bonus bMdef,15;
bonus bMatkRate,2;
bonus bMaxHPrate,3;
bonus bMaxSPrate,3;
bonus2 bSkillAtk,"AB_JUDEX",30;
bonus2 bMagicAddEle,Ele_Holy,2;
.@r = getrefine();
if (.@r>=5) {
   bonus bMatkRate,3;
   bonus bMaxHPrate,7;
   bonus bMaxSPrate,7;
   bonus2 bMagicAddEle,Ele_Holy,3;
}
if (.@r>=7) {
   bonus bMatkRate,5;
   bonus bMaxHPrate,10;
   bonus bMaxSPrate,10;
   bonus2 bMagicAddEle,Ele_Holy,5;
}