.@r = getrefine();
bonus bUseSPrate,10*(.@r/3);
bonus2 bSkillAtk,"AL_HOLYLIGHT",100*(.@r/3);
if (.@r>=9) {
   bonus2 bSubEle,Ele_Undead,17;
   bonus2 bSubEle,Ele_Ghost,17;
   bonus2 bSubEle,Ele_Poison,17;
   bonus2 bSubEle,Ele_Holy,17;
   bonus2 bSubEle,Ele_Dark,17;
}
else if (.@r>=7) {
   bonus2 bAddEle,Ele_Undead,10;
   bonus2 bAddEle,Ele_Ghost,10;
   bonus2 bAddEle,Ele_Poison,10;
   bonus2 bAddEle,Ele_Holy,10;
   bonus2 bAddEle,Ele_Dark,10;
}
else {
   bonus2 bAddEle,Ele_Undead,5;
   bonus2 bAddEle,Ele_Ghost,5;
   bonus2 bAddEle,Ele_Poison,5;
   bonus2 bAddEle,Ele_Holy,5;
   bonus2 bAddEle,Ele_Dark,5;
}
if (.@r>=12) {
   .@val = 1;
}
bonus5 bAutoSpell,"AL_HOLYLIGHT",1+.@val,10,BF_SHORT|BF_WEAPON,1;
bonus5 bAutoSpell,"AL_HOLYLIGHT",1+.@val,5,BF_LONG|BF_WEAPON,1;