Item Use Script |
1 .@r
2 =
3 getrefine();
4 .@g
5 =
6 getenchantgrade();
7 bonus
8 bAllStats,3;
9 bonus
10 bMdef,10;
11 if
12 (.@r
13 =10)
14 {
15 if
16 (readparam(bStr)
17 =100)
18 {
19 bonus
20 bMaxHPrate,10;
21 bonus
22 bMaxSPrate,10;
23 if
24 (readparam(bAgi)
25 =100)
26 {
27 bonus
28 bAspdRate,15;
29 if
30 (readparam(bVit)
31 =100)
32 {
33 bonus2
34 bSubSize,Size_Medium,15;
35 if
36 (readparam(bInt)
37 =100)
38 {
39 bonus
40 bFixedCast,-500;
41 if
42 (readparam(bDex)
43 =100)
44 {
45 bonus
46 bDelayrate,-7;
47 if
48 (readparam(bLuk)
49 =100)
50 {
51 bonus
52 bCritical,10;
53 bonus
54 bFlee2,5;
55 }
56 }
57 }
58 }
59 }
60 }
61 }
62 if
63 (.@r
64 =13)
65 {
66 if
67 (readparam(bPow)
68 =60)
69 {
70 bonus
71 bShortAtkRate,15;
72 if
73 (readparam(bSta)
74 =60)
75 {
76 bonus
77 bDelayrate,-8;
78 bonus
79 bRes,30;
80 if
81 (readparam(bWis)
82 =60)
83 {
84 bonus
85 bDelayrate,-8;
86 bonus
87 bMRes,30;
88 if
89 (readparam(bSpl)
90 =60)
91 {
92 bonus2
93 bMagicAtkEle,Ele_All,15;
94 if
95 (readparam(bCon)
96 =60)
97 {
98 bonus
99 bLongAtkRate,15;
100 if
101 (readparam(bCrt)
102 =60)
103 {
104 bonus
105 bHPlus,10;
106 bonus
107 bCRate,10;
108 }
109 }
110 }
111 }
112 }
113 }
114 }
115 if
116 (.@g
117 =ENCHANTGRADE_D)
118 {
119 bonus
120 bRes,30;
121 bonus
122 bMRes,30;
123 }
124 if
125 (.@g
126 =ENCHANTGRADE_C)
127 {
128 bonus
129 bPAtk,5;
130 bonus
131 bSMatk,5;
132 }
133 if
134 (.@g
135 =ENCHANTGRADE_B)
136 {
137 bonus2
138 bAddSize,Size_All,15;
139 bonus2
140 bMagicAddSize,Size_All,15;
141 }
142 if
143 (.@g
144 =ENCHANTGRADE_A)
145 {
146 if
147 (.@r
148 =13)
149 {
150 bonus
151 bFixedCast,-500;
152 }
153 } |