Item Use Script |
1 .@r
2 =
3 rand(1,10);
4 if
5 (.@r
6 ==
7 1)
8 sc_start
9 SC_PACKING_ENVELOPE1,30000,33;
10 //
11 +atk
12 else
13 if
14 (.@r
15 ==
16 2)
17 sc_start
18 SC_PACKING_ENVELOPE2,30000,33;
19 //
20 +matk
21 else
22 if
23 (.@r
24 ==
25 3)
26 sc_start
27 SC_PACKING_ENVELOPE3,30000,3;
28 //
29 +hp%
30 else
31 if
32 (.@r
33 ==
34 4)
35 sc_start
36 SC_PACKING_ENVELOPE4,30000,3;
37 //
38 +sp%
39 else
40 if
41 (.@r
42 ==
43 5)
44 sc_start
45 SC_PACKING_ENVELOPE5,30000,33;
46 //
47 +flee
48 else
49 if
50 (.@r
51 ==
52 6)
53 sc_start
54 SC_PACKING_ENVELOPE6,30000,3;
55 //
56 +aspd
57 else
58 if
59 (.@r
60 ==
61 7)
62 sc_start
63 SC_PACKING_ENVELOPE7,30000,33;
64 //
65 +def
66 else
67 if
68 (.@r
69 ==
70 8)
71 sc_start
72 SC_PACKING_ENVELOPE8,30000,33;
73 //
74 +mdef
75 else
76 if
77 (.@r
78 ==
79 9)
80 sc_start
81 SC_PACKING_ENVELOPE9,30000,33;
82 //
83 +crit
84 else
85 sc_start
86 SC_PACKING_ENVELOPE10,30000,33;
87 //
88 +hit |