.@r = getrefine();
bonus bMdef,10;
bonus bAspdRate,5;
if (getskilllv("RA_AIMEDBOLT") == 10)
   bonus2 bSkillAtk,"RA_AIMEDBOLT",5;
if (getskilllv("SN_SHARPSHOOTING") == 5)
   bonus2 bSkillAtk,"SN_SHARPSHOOTING",60;
if (getskilllv("HT_BLITZBEAT") == 5)
   bonus2 bSkillAtk,"HT_BLITZBEAT",15;
if (Class == Job_Ranger) {
   bonus bMaxHPrate,5;
   bonus bLongAtkDef,20;
   if (.@r>=7) {
      bonus bLongAtkDef,15;
      bonus bMaxHPrate,5;
}
}
if (.@r>=7) {
   bonus bAspdRate,3;
   bonus2 bSkillAtk,"SN_SHARPSHOOTING",(BaseLevel/3);
   bonus2 bSkillAtk,"HT_BLITZBEAT",(BaseLevel/5);
   bonus2 bSkillAtk,"RA_AIMEDBOLT",(BaseLevel/30);
}
if (.@r>=9) {
   bonus bAspdRate,3;
   bonus bMaxSPrate,5;
}