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