Item Use Script
|
1 .@r = rand(1,10);
2 if (.@r == 1)
3 sc_start SC_PACKING_ENVELOPE1,30000,33; // +atk
4 else if (.@r == 2)
5 sc_start SC_PACKING_ENVELOPE2,30000,33; // +matk
6 else if (.@r == 3)
7 sc_start SC_PACKING_ENVELOPE3,30000,3; // +hp%
8 else if (.@r == 4)
9 sc_start SC_PACKING_ENVELOPE4,30000,3; // +sp%
10 else if (.@r == 5)
11 sc_start SC_PACKING_ENVELOPE5,30000,33; // +flee
12 else if (.@r == 6)
13 sc_start SC_PACKING_ENVELOPE6,30000,3; // +aspd
14 else if (.@r == 7)
15 sc_start SC_PACKING_ENVELOPE7,30000,33; // +def
16 else if (.@r == 8)
17 sc_start SC_PACKING_ENVELOPE8,30000,33; // +mdef
18 else if (.@r == 9)
19 sc_start SC_PACKING_ENVELOPE9,30000,33; // +crit
20 else
21 sc_start SC_PACKING_ENVELOPE10,30000,33; // +hit
|