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