Item Use Script |
1 .@r
2 =
3 getrefine();
4 if
5 (.@r
6 =7)
7 .@b
8 =
9 10;
10 else
11 .@b
12 =
13 5;
14 bonus2
15 bMagicAddEle,Ele_Dark,.@b;
16 bonus2
17 bMagicAddEle,Ele_Poison,.@b;
18 bonus2
19 bMagicAddEle,Ele_Holy,.@b;
20 bonus2
21 bMagicAddEle,Ele_Ghost,.@b;
22 bonus2
23 bMagicAddEle,Ele_Undead,.@b;
24 bonus2
25 bAddEle,Ele_Dark,.@b;
26 bonus2
27 bAddEle,Ele_Poison,.@b;
28 bonus2
29 bAddEle,Ele_Holy,.@b;
30 bonus2
31 bAddEle,Ele_Ghost,.@b;
32 bonus2
33 bAddEle,Ele_Undead,.@b;
34 if
35 (.@r
36 =9)
37 {
38 bonus2
39 bSubEle,Ele_Dark,7;
40 bonus2
41 bSubEle,Ele_Poison,7;
42 bonus2
43 bSubEle,Ele_Holy,7;
44 bonus2
45 bSubEle,Ele_Ghost,7;
46 bonus2
47 bSubEle,Ele_Undead,7;
48 }
49 if
50 (.@r
51 =12)
52 {
53 .@val
54 =
55 1;
56 }
57 bonus5
58 bAutoSpell,"AL_HOLYLIGHT",1+.@val,10,BF_SHORT|BF_WEAPON,1;
59 bonus5
60 bAutoSpell,"AL_HOLYLIGHT",1+.@val,5,BF_LONG|BF_WEAPON,1; |