.@r = getrefine();
bonus2 bSkillAtk,"MG_LIGHTNINGBOLT",15;
bonus2 bSkillAtk,"MG_FIREBOLT",15;
bonus2 bSkillAtk,"MG_COLDBOLT",15;
if (.@r>=9) {
   bonus2 bSkillAtk,"MG_LIGHTNINGBOLT",3;
   bonus2 bSkillAtk,"MG_FIREBOLT",3;
   bonus2 bSkillAtk,"MG_COLDBOLT",3;
   if (.@r>=11) {
      bonus2 bSkillAtk,"MG_LIGHTNINGBOLT",7;
      bonus2 bSkillAtk,"MG_FIREBOLT",7;
      bonus2 bSkillAtk,"MG_COLDBOLT",7;
   }
}