Item Use Script
|
1 .@r = getrefine();
2 bonus bUseSPrate,10*(.@r/3);
3 bonus2 bSkillAtk,"AL_HOLYLIGHT",100*(.@r/3);
4 if (.@r>=9) {
5 bonus2 bSubEle,Ele_Undead,17;
6 bonus2 bSubEle,Ele_Ghost,17;
7 bonus2 bSubEle,Ele_Poison,17;
8 bonus2 bSubEle,Ele_Holy,17;
9 bonus2 bSubEle,Ele_Dark,17;
10 }
11 else if (.@r>=7) {
12 bonus2 bAddEle,Ele_Undead,10;
13 bonus2 bAddEle,Ele_Ghost,10;
14 bonus2 bAddEle,Ele_Poison,10;
15 bonus2 bAddEle,Ele_Holy,10;
16 bonus2 bAddEle,Ele_Dark,10;
17 }
18 else {
19 bonus2 bAddEle,Ele_Undead,5;
20 bonus2 bAddEle,Ele_Ghost,5;
21 bonus2 bAddEle,Ele_Poison,5;
22 bonus2 bAddEle,Ele_Holy,5;
23 bonus2 bAddEle,Ele_Dark,5;
24 }
25 if (.@r>=12) {
26 .@val = 1;
27 }
28 bonus5 bAutoSpell,"AL_HOLYLIGHT",1+.@val,10,BF_SHORT|BF_WEAPON,1;
29 bonus5 bAutoSpell,"AL_HOLYLIGHT",1+.@val,5,BF_LONG|BF_WEAPON,1;
|