1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
|
new_3-1.gat,55,51,0 script Rewards 106,{
if (MPQUEST == 0) goto Register;
mes "[Rewards Master]";
mes "Welcome! Would you like to exchange some points for items?";
next;
menu "Yes",Y1,"No Thanks",LEAVE;
next;
Register:
mes "[Rewards Master]";
mes "Hey, it seems like you didn't register as a quest participant yet! You can sign up at the gate below.";
close;
Y1:
mes "[Rewards Master]";
mes "Ok lets check those points.";
if (tvis == 0) set tvis,1;
if (Mobpt < tvis) goto NotEnough;
set Mobpt,Mobpt-tvis;
set tvis,tvis+1;
next;
set @TEMP,rand(1);
if(@TEMP ==0) goto R_1;
if(@TEMP ==1) goto R_2;
R_1:
set @TEMP,rand(19);
if(@TEMP ==0) goto R1_1;
if(@TEMP ==1) goto R1_2;
if(@TEMP ==2) goto R1_3;
if(@TEMP ==3) goto R1_4;
if(@TEMP ==4) goto R1_5;
if(@TEMP ==5) goto R1_6;
if(@TEMP ==6) goto R1_7;
if(@TEMP ==7) goto R1_8;
if(@TEMP ==8) goto R1_9;
if(@TEMP ==9) goto R1_10;
if(@TEMP ==10) goto R1_11;
if(@TEMP ==11) goto R1_12;
if(@TEMP ==12) goto R1_13;
if(@TEMP ==13) goto R1_14;
if(@TEMP ==14) goto R1_15;
if(@TEMP ==15) goto R1_16;
if(@TEMP ==16) goto R1_17;
if(@TEMP ==17) goto R1_18;
if(@TEMP ==18) goto R1_19;
if(@TEMP ==19) goto R1_20;
R1_1:
mes "[Rewards Master]";
mes "You got Cactus Drink.";
getitem 501,1;
goto Q;
R1_2:
mes "[Rewards Master]";
mes "You got Cactus Potion.";
getitem 502,1;
goto Q;
R1_3:
mes "[Rewards Master]";
mes "You got Casino Coins.";
getitem 503,1;
goto Q;
R1_4:
mes "[Rewards Master]";
mes "You got Decor Candy Cane.";
getitem 504,1;
goto Q;
R1_5:
mes "[Rewards Master]";
mes "You got Maggot Slime.";
getitem 505,1;
goto Q;
R1_6:
mes "[Rewards Master]";
mes "You got Candy Cane.";
getitem 506,1;
goto Q;
R1_7:
mes "[Rewards Master]";
mes "You got Scorpion Stinger.";
getitem 507,1;
goto Q;
R1_8:
mes "[Rewards Master]";
mes "You got Xmas Cake.";
getitem 508,1;
goto Q;
R1_9:
mes "[Rewards Master]";
mes "You got Chocolate Bar.";
getitem 509,1;
goto Q;
R1_10:
mes "[Rewards Master]";
mes "You got Candy.";
getitem 510,1;
goto Q;
R1_11:
mes "[Rewards Master]";
mes "You got Santa Hat.";
getitem 511,1;
goto Q;
R1_12:
mes "[Rewards Master]";
mes "You got Ginger Bread Man.";
getitem 512,1;
goto Q;
R1_13:
mes "[Rewards Master]";
mes "You got Cake.";
getitem 513,1;
goto Q;
R1_14:
mes "[Rewards Master]";
mes "You got Candy Cane.";
getitem 514,1;
goto Q;
R1_15:
mes "[Rewards Master]";
mes "You got Purple Present.";
getitem 515,1;
goto Q;
R1_16:
mes "[Rewards Master]";
mes "You got Yellow Present.";
getitem 516,1;
goto Q;
R1_17:
mes "[Rewards Master]";
mes "You got Red Scorpion Stinger.";
getitem 517,1;
goto Q;
R1_18:
mes "[Rewards Master]";
mes "You got Bug Leg.";
getitem 518,1;
goto Q;
R1_19:
mes "[Rewards Master]";
mes "You got Cherry Cake.";
getitem 519,1;
goto Q;
R1_20:
mes "[Rewards Master]";
mes "You got Easter Egg.";
getitem 520,1;
goto Q;
R_2:
set @TEMP,rand(3);
if(@TEMP ==0) goto R2_1;
if(@TEMP ==1) goto R2_2;
if(@TEMP ==2) goto R2_3;
if(@TEMP ==3) goto R2_4;
R2_1:
mes "[Rewards Master]";
mes "You got an Arrow.";
getitem 1199,1;
goto Q;
R2_2:
mes "[Rewards Master]";
mes "You got a Bow.";
getitem 1200,1;
goto Q;
R2_3:
mes "[Rewards Master]";
mes "You got a Knife.";
getitem 1201,1;
goto Q;
R2_4:
mes "[Rewards Master]";
mes "You got an Cotton Shirt.";
getitem 1202,1;
goto Q;
NotEnough:
next;
mes "[Rewards Master]";
mes "Kill some more monsters first.";
close;
LEAVE:
close;
}
|