Item Use Script |
1 .@r
2 =
3 getrefine();
4 .@g
5 =
6 getenchantgrade();
7 bonus
8 bMdef,10;
9 bonus
10 bBaseAtk,15*(.@r/2);
11 bonus
12 bMatk,15*(.@r/2);
13 bonus
14 bAtkRate,4*(.@r/3);
15 bonus
16 bMatkRate,4*(.@r/3);
17 bonus
18 bCritical,3*(.@r/3);
19 bonus
20 bLongAtkRate,5*(.@r/4);
21 bonus
22 bShortAtkRate,5*(.@r/4);
23 bonus2
24 bMagicAtkEle,Ele_All,5*(.@r/4);
25 bonus
26 bMaxHPrate,5*(.@r/4);
27 bonus
28 bAspdRate,5*(.@r/4);
29 bonus
30 bCritAtkRate,5*(.@r/4);
31 bonus
32 bDelayrate,-5*(.@r/4);
33 if
34 (.@r
35 =7)
36 {
37 bonus
38 bAtkRate,7;
39 bonus
40 bMatkRate,7;
41 }
42 if
43 (.@r
44 =9)
45 {
46 bonus2
47 bAddRace,RC_All,15;
48 bonus2
49 bMagicAddRace,RC_All,15;
50 }
51 if
52 (.@r
53 =12)
54 {
55 bonus2
56 bAddEle,Ele_All,15;
57 bonus2
58 bMagicAddEle,Ele_All,15;
59 }
60 if
61 (.@g
62 =ENCHANTGRADE_D)
63 {
64 bonus
65 bAtkRate,5;
66 bonus
67 bMatkRate,5;
68 }
69 if
70 (.@g
71 =ENCHANTGRADE_C)
72 {
73 bonus
74 bPow,5;
75 bonus
76 bSpl,5;
77 }
78 if
79 (.@g
80 =ENCHANTGRADE_B)
81 {
82 bonus
83 bPAtk,7;
84 bonus
85 bSMatk,7;
86 }
87 if
88 (.@g
89 =ENCHANTGRADE_A)
90 {
91 if
92 (.@r
93 =13)
94 {
95 bonus2
96 bAddRace,RC_All,15;
97 bonus2
98 bMagicAddRace,RC_All,15;
99 }
100 } |