Item Use Script |
1 .@g
2 =
3 getenchantgrade();
4 .@r
5 =
6 getrefine();
7 bonus2
8 bMagicAtkEle,Ele_All,3;
9 if
10 (.@r
11 =7)
12 {
13 bonus2
14 bMagicAtkEle,Ele_All,3;
15 if
16 (.@r
17 =9)
18 {
19 bonus2
20 bMagicAtkEle,Ele_All,3;
21 }
22 }
23 if
24 (.@g
25 =ENCHANTGRADE_D)
26 {
27 bonus2
28 bMagicAtkEle,Ele_All,3;
29 bonus
30 bMaxSPrate,2;
31 if
32 (.@g
33 =ENCHANTGRADE_C)
34 {
35 bonus2
36 bMagicAtkEle,Ele_All,3;
37 bonus
38 bMaxSPrate,3;
39 if
40 (.@g
41 =ENCHANTGRADE_B)
42 {
43 bonus2
44 bMagicAtkEle,Ele_All,5;
45 bonus
46 bMaxSPrate,4;
47 if
48 (.@g
49 =ENCHANTGRADE_A)
50 {
51 bonus2
52 bMagicAtkEle,Ele_All,5;
53 bonus
54 bMaxSPrate,5;
55 }
56 }
57 }
58 } |