Item Use Script |
1 .@g
2 =
3 getenchantgrade();
4 .@r
5 =
6 getrefine();
7 bonus
8 bSpl,1;
9 bonus
10 bMatk,125+(15*(.@r/2));
11 if
12 (.@r
13 =9)
14 {
15 bonus
16 bMatkRate,5;
17 if
18 (.@r
19 =11)
20 {
21 bonus2
22 bMagicAtkEle,Ele_All,15;
23 }
24 }
25 if
26 (.@g
27 =
28 ENCHANTGRADE_D)
29 {
30 bonus
31 bMatkRate,(.@r/2);
32 bonus
33 bMatk,2*(.@r/2);
34 bonus2
35 bMagicAtkEle,Ele_All,3*(.@r/3);
36 if
37 (.@g
38 =
39 ENCHANTGRADE_C)
40 {
41 bonus
42 bMatkRate,(.@r/2);
43 bonus
44 bMatk,3*(.@r/2);
45 bonus2
46 bMagicAtkEle,Ele_All,3*(.@r/3);
47 if
48 (.@g
49 =
50 ENCHANTGRADE_B)
51 {
52 bonus
53 bMatkRate,2*(.@r/2);
54 bonus2
55 bMagicAtkEle,Ele_All,5*(.@r/3);
56 bonus
57 bSMatk,(.@r/4);
58 if
59 (.@g
60 =
61 ENCHANTGRADE_A)
62 {
63 bonus
64 bMatkRate,3*(.@r/2);
65 bonus2
66 bMagicAtkEle,Ele_All,5*(.@r/3);
67 bonus
68 bSMatk,2*(.@r/4);
69 }
70 }
71 }
72 } |