-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathAlice Potion Makers.txt
493 lines (467 loc) · 15.6 KB
/
Alice Potion Makers.txt
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
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
// --------------------------------------------------------------------------------------------*
// //
// ______ _ //
// | ___ \ | | //
// | |_/ /___ ___ ___ _ __ ___ ___ _ _ _ __ | |_ //
// | // _ \/ __|/ _ \ '_ ` _ \ / _ \| | | | '_ \| __| //
// | |\ \ (_) \__ \ __/ | | | | | (_) | |_| | | | | |_ //
// \_| \_\___/|___/\___|_| |_| |_|\___/ \__,_|_| |_|\__| //
// //
// _____ _ _ //
// / ___| (_) | | //
// \ `--. ___ _ __ _ _ __ | |_ //
// `--. \/ __| '__| | '_ \| __| //
// /\__/ / (__| | | | |_) | |_ //
// \____/ \___|_| |_| .__/ \__| //
// | | //
// |_| //
// --------------------------------------------------------------------------------------------*
// Create By ~ Rosemount //
// Current Version ~ v1.0 //
// Tested ~ Latest Rathena //
// --------------------------------------------------------------------------------------------*
prontera,147,174,4 script Alice Potion Makers 665,{
menu "~ Red Potion",L_RPotion,"~ Yellow Potion",L_YPotion,"~ White Potion",L_WPotion,"~ Blue Potion",L_BPotion,"~ Condensed Red Pot",L_CRPotion,"~ Condensed Yellow Pot",L_CYPotion,"~ Condensed White Pot",L_CWPotion,"~ Anodyne",L_Ano,"~ Aloevera",L_Aloe,"~ Alcohol",L_Alco,"~ Bottle Grenade",L_BG,"~ Acid Bottle",L_Acid,"~ Plant Bottle",L_PB,"~ Marine Sphere Bottle",L_MSB,"~ Glistening Coat",L_GC,"~ Embryo",L_EMB,"~ Fireproof Potion",L_FP,"~ Coldproof Potion",L_CP,"~ Earthproof Potion",L_EP,"~ Thunderproof Potion",L_TP,"~ Cancel",L_no;
L_TP:
if(Class == 4019 && getskilllv(228) || Class == 18 && getskilllv(228)) goto TP_Check;
dispbottom "Alchemist Job And Minimum Skill Pharmacy Lvl 1";
end;
TP_Check:
if(countitem(717)<1 || countitem(1057)<3 || countitem(1093)<1 ||countitem(7134)<1 || countitem(7434)<1) goto L_error;
delitem 717,1;
delitem 1057,3;
delitem 1093,1;
delitem 7134,1;
if(rand(100)< 85){
specialeffect2 305;
getitem 12121,1;
set .CountSuccess,.CountSuccess +1;
dispbottom "[ Alice ] : "+.CountSuccess+" Successful";
dispbottom "[ Alice ] : "+.CountFailed+" Failed";
sleep2 200;
goto L_TP;
}
specialeffect2 506;
set .CountFailed,.CountFailed +1;
goto L_TP;
L_EP:
if(Class == 4019 && getskilllv(228) || Class == 18 && getskilllv(228)) goto EP_Check;
dispbottom "Alchemist Job And Minimum Skill Pharmacy Lvl 1";
end;
EP_Check:
if(countitem(715)<1 || countitem(1093)<1 || countitem(7126)<2 || countitem(7134)<1 || countitem(7434)<1) goto L_error;
delitem 715,1;
delitem 1093,1;
delitem 7126,1;
delitem 7134,1;
if(rand(100)< 85){
specialeffect2 305;
getitem 12120,1;
set .CountSuccess,.CountSuccess +1;
dispbottom "[ Alice ] : "+.CountSuccess+" Successful";
dispbottom "[ Alice ] : "+.CountFailed+" Failed";
sleep2 200;
goto L_EP;
}
specialeffect2 506;
set .CountFailed,.CountFailed +1;
goto L_EP;
L_CP:
if(Class == 4019 && getskilllv(228) || Class == 18 && getskilllv(228)) goto CP_Check;
dispbottom "Alchemist Job And Minimum Skill Pharmacy Lvl 1";
end;
CP_Check:
if(countitem(717)<1 || countitem(950)<3 || countitem(1093)<1 || countitem(7134)<1 || countitem(7434)<1) goto L_error;
delitem 717,1;
delitem 950,3;
delitem 1093,1;
delitem 7134,1;
if(rand(100)< 85){
specialeffect2 305;
getitem 12119,1;
set .CountSuccess,.CountSuccess +1;
dispbottom "[ Alice ] : "+.CountSuccess+" Successful";
dispbottom "[ Alice ] : "+.CountFailed+" Failed";
sleep2 200;
goto L_CP;
}
specialeffect2 506;
set .CountFailed,.CountFailed +1;
goto L_CP;
L_FP:
if(Class == 4019 && getskilllv(228) || Class == 18 && getskilllv(228)) goto FP_Check;
dispbottom "Alchemist Job And Minimum Skill Pharmacy Lvl 1";
end;
FP_Check:
if(countitem(716)<1 || countitem(1012)<2 || countitem(1093)<1 || countitem(7134)<1 || countitem(7434)<1) goto L_error;
delitem 716,1;
delitem 1012,2;
delitem 1093,1;
delitem 7134,1;
if(rand(100)< 85){
specialeffect2 305;
getitem 12118,1;
set .CountSuccess,.CountSuccess +1;
dispbottom "[ Alice ] : "+.CountSuccess+" Successful";
dispbottom "[ Alice ] : "+.CountFailed+" Failed";
sleep2 200;
goto L_FP;
}
specialeffect2 506;
set .CountFailed,.CountFailed +1;
goto L_FP;
L_EMB:
if(Class == 4019 && getskilllv(228) || Class == 18 && getskilllv(228)) goto EMB_Check;
dispbottom "Alchemist Job And Minimum Skill Pharmacy Lvl 1";
end;
EMB_Check:
if(countitem(7140)<1 || countitem(7141)<1 || countitem(7143)<1 || countitem(7134)<1 || countitem(7144)<1) goto L_error;
delitem 7140,1;
delitem 7141,1;
delitem 7143,1;
delitem 7134,1;
if(rand(100)< 85){
specialeffect2 305;
getitem 7142,1;
set .CountSuccess,.CountSuccess +1;
dispbottom "[ Alice ] : "+.CountSuccess+" Successful";
dispbottom "[ Alice ] : "+.CountFailed+" Failed";
sleep2 200;
goto L_EMB;
}
specialeffect2 506;
set .CountFailed,.CountFailed +1;
goto L_EMB;
L_GC:
if(Class == 4019 && getskilllv(228) || Class == 18 && getskilllv(228)) goto GC_Check;
dispbottom "Alchemist Job And Minimum Skill Pharmacy Lvl 1";
end;
GC_Check:
if(countitem(713)<1 || countitem(950)<1 || countitem(970)<1 || countitem(1044)< 1 || countitem(7134)<1 || countitem(7132)<1) goto L_error;
delitem 713,1;
delitem 950,1;
delitem 970,1;
delitem 1044,1;
delitem 7134,1;
if(rand(100)< 85){
specialeffect2 305;
getitem 7139,1;
set .CountSuccess,.CountSuccess +1;
dispbottom "[ Alice ] : "+.CountSuccess+" Successful";
dispbottom "[ Alice ] : "+.CountFailed+" Failed";
sleep2 200;
goto L_GC;
}
specialeffect2 506;
set .CountFailed,.CountFailed +1;
goto L_GC;
L_MSB:
if(Class == 4019 && getskilllv(228) || Class == 18 && getskilllv(228)) goto MSB_Check;
dispbottom "Alchemist Job And Minimum Skill Pharmacy Lvl 1";
end;
MSB_Check:
if(countitem(713)<1 || countitem(1050)<1 || countitem(1051)<1 || countitem(7134)<1 || countitem(7131)<1) goto L_error;
delitem 713,1;
delitem 1050,1;
delitem 1051,1;
delitem 7134,1;
if(rand(100)< 85){
specialeffect2 305;
getitem 7138,1;
set .CountSuccess,.CountSuccess +1;
dispbottom "[ Alice ] : "+.CountSuccess+" Successful";
dispbottom "[ Alice ] : "+.CountFailed+" Failed";
sleep2 200;
goto L_MSB;
}
specialeffect2 506;
set .CountFailed,.CountFailed +1;
goto L_MSB;
L_PB:
if(Class == 4019 && getskilllv(228) || Class == 18 && getskilllv(228)) goto PB_Check;
dispbottom "Alchemist Job And Minimum Skill Pharmacy Lvl 1";
end;
PB_Check:
if(countitem(713)<1 ||countitem(1032)<2 || countitem(7134)<1 || countitem(7130)<1) goto L_error;
delitem 713,1;
delitem 1032,2;
delitem 7134,1;
if(rand(100)< 85){
specialeffect2 305;
getitem 7137,1;
set .CountSuccess,.CountSuccess +1;
dispbottom "[ Alice ] : "+.CountSuccess+" Successful";
dispbottom "[ Alice ] : "+.CountFailed+" Failed";
sleep2 200;
goto L_PB;
}
specialeffect2 506;
set .CountFailed,.CountFailed +1;
goto L_PB;
L_BG:
if(Class == 4019 && getskilllv(228) || Class == 18 && getskilllv(228)) goto BG_Check;
dispbottom "Alchemist Job And Minimum Skill Pharmacy Lvl 1";
end;
BG_Check:
if(countitem(713)<1 || countitem(970)<1 || countitem(1059)<1 || countitem(7134)<1 || countitem(7128)<1) goto L_error;
delitem 713,1;
delitem 970,1;
delitem 1059,1;
delitem 7134,1;
if(rand(100)< 85){
specialeffect2 305;
getitem 7135,1;
set .CountSuccess,.CountSuccess +1;
dispbottom "[ Alice ] : "+.CountSuccess+" Successful";
dispbottom "[ Alice ] : "+.CountFailed+" Failed";
sleep2 200;
goto L_BC;
}
specialeffect2 506;
set .CountFailed,.CountFailed +1;
goto L_BC;
L_Alco:
if(Class == 4019 && getskilllv(228) || Class == 18 && getskilllv(228)) goto Alco_Check;
dispbottom "Alchemist Job And Minimum Skill Pharmacy Lvl 1";
end;
Alco_Check:
if(countitem(713)<1 || countitem(905)<5 || countitem(1092)<1 || countitem(7033)<5 || countitem(7134)<1 || countitem(7127)<1) goto L_error;
delitem 713,1;
delitem 905,5;
delitem 1092,1;
delitem 7033,5;
delitem 7134,1;
if(rand(100)< 85){
specialeffect2 305;
getitem 970,1;
set .CountSuccess,.CountSuccess +1;
dispbottom "[ Alice ] : "+.CountSuccess+" Successful";
dispbottom "[ Alice ] : "+.CountFailed+" Failed";
sleep2 200;
goto L_Alco;
}
specialeffect2 506;
set .CountFailed,.CountFailed +1;
goto L_Alco;
L_Aloe:
if(Class == 4019 && getskilllv(228) || Class == 18 && getskilllv(228)) goto Aloe_Check;
dispbottom "Alchemist Job And Minimum Skill Pharmacy Lvl 1";
end;
Aloe_Check:
if(countitem(518)<1 || countitem(704)<1 || countitem(713)<1 || countitem(7134)<1 || countitem(7144)<1) goto L_error;
delitem 518,1;
delitem 704,1;
delitem 713,1;
delitem 7134,1;
if(rand(100)< 85){
specialeffect2 305;
getitem 606,1;
set .CountSuccess,.CountSuccess +1;
dispbottom "[ Alice ] : "+.CountSuccess+" Successful";
dispbottom "[ Alice ] : "+.CountFailed+" Failed";
sleep2 200;
goto L_Aloe;
}
specialeffect2 506;
set .CountFailed,.CountFailed +1;
goto L_Aloe;
L_Ano:
if(Class == 4019 && getskilllv(228) || Class == 18 && getskilllv(228)) goto Ano_Check;
dispbottom "Alchemist Job And Minimum Skill Pharmacy Lvl 1";
end;
Ano_Check:
if(countitem(708)<1 || countitem(713)<1 || countitem(970)<1 || countitem(7134)<1 || countitem(7144)<1) goto L_error;
delitem 708,1;
delitem 713,1;
delitem 970,1;
delitem 7134,1;
if(rand(100)< 85){
specialeffect2 305;
getitem 605,1;
set .CountSuccess,.CountSuccess +1;
dispbottom "[ Alice ] : "+.CountSuccess+" Successful";
dispbottom "[ Alice ] : "+.CountFailed+" Failed";
sleep2 200;
goto L_Ano;
}
specialeffect2 506;
set .CountFailed,.CountFailed +1;
goto L_Ano;
L_CWPotion:
if(Class == 4019 && getskilllv(228) || Class == 18 && getskilllv(228)) goto CWPotion_Check;
dispbottom "Alchemist Job And Minimum Skill Pharmacy Lvl 1";
end;
CWPotion_Check:
if(countitem(504)<1 || countitem(1064)<1 || countitem(1092)<1 || countitem(7134)<1 || countitem(7133)<1) goto L_error;
delitem 504,1;
delitem 1064,1;
delitem 1092,1;
delitem 7134,1;
if(rand(100)< 85){
specialeffect2 305;
getitem 547,1;
set .CountSuccess,.CountSuccess +1;
dispbottom "[ Alice ] : "+.CountSuccess+" Successful";
dispbottom "[ Alice ] : "+.CountFailed+" Failed";
sleep2 200;
goto L_CWPotion;
}
specialeffect2 506;
set .CountFailed,.CountFailed +1;
goto L_CWPotion;
L_CYPotion:
if(Class == 4019 && getskilllv(228) || Class == 18 && getskilllv(228)) goto CYPotion_Check;
dispbottom "Alchemist Job And Minimum Skill Pharmacy Lvl 1";
end;
CYPotion_Check:
if(countitem(503)<1 || countitem(1017)<1 || countitem(1092)<1 || countitem(7134)<1 || countitem(7133)<1) goto L_error;
delitem 503,1;
delitem 1017,1;
delitem 1092,1;
delitem 7134,1;
if(rand(100)< 85){
specialeffect2 305;
getitem 546,1;
set .CountSuccess,.CountSuccess +1;
dispbottom "[ Alice ] : "+.CountSuccess+" Successful";
dispbottom "[ Alice ] : "+.CountFailed+" Failed";
sleep2 200;
goto L_CYPotion;
}
specialeffect2 506;
set .CountFailed,.CountFailed +1;
goto L_CRPotion;
L_CRPotion:
if(Class == 4019 && getskilllv(228) || Class == 18 && getskilllv(228)) goto CRPotion_Check;
dispbottom "Alchemist Job And Minimum Skill Pharmacy Lvl 1";
end;
CRPotion_Check:
if(countitem(501)<1 || countitem(952)<1 || countitem(1092)<1 || countitem(7134)<1 || countitem(7133)<1) goto L_error;
delitem 501,1;
delitem 952,1;
delitem 1092,1;
delitem 7134,1;
if(rand(100)< 85) {
specialeffect2 305;
getitem 545,1;
set .CountSuccess,.CountSuccess +1;
dispbottom "[ Alice ] : "+.CountSuccess+" Successful";
dispbottom "[ Alice ] : "+.CountFailed+" Failed";
sleep2 200;
goto L_CRPotion;
}
specialeffect2 506;
set .CountFailed,.CountFailed +1;
goto L_CRPotion;
L_BPotion:
if(Class == 4019 && getskilllv(228) || Class == 18 && getskilllv(228)) goto BPotion_Check;
dispbottom "Alchemist Job And Minimum Skill Pharmacy Lvl 1";
end;
BPotion_Check:
if(countitem(510)<1 || countitem(911)<1 || countitem(1093)<1 || countitem(7134)<1 || countitem(7144)<1) goto L_error;
delitem 510,1;
delitem 911,1;
delitem 1093,1;
delitem 7134,1;
if(rand(100)< 85){
specialeffect2 305;
getitem 505,1;
set .CountSuccess,.CountSuccess +1;
dispbottom "[ Alice ] : "+.CountSuccess+" Successful";
dispbottom "[ Alice ] : "+.CountFailed+" Failed";
sleep2 200;
goto L_BPotion;
}
specialeffect2 506;
set .CountFailed,.CountFailed +1;
goto L_BPotion;
L_WPotion:
if(Class == 4019 && getskilllv(228) || Class == 18 && getskilllv(228)) goto WPotion_Check;
dispbottom "Alchemist Job And Minimum Skill Pharmacy Lvl 1";
end;
WPotion_Check:
if(countitem(509)<1 || countitem(1093)<1 || countitem(7134)<1 || countitem(7144)<1) goto L_error;
delitem 509,1;
delitem 1093,1;
delitem 7134,1;
if(rand(100)< 85) {
specialeffect2 305;
getitem 504,1;
set .CountSuccess,.CountSuccess +1;
dispbottom "[ Alice ] : "+.CountSuccess+" Successful";
dispbottom "[ Alice ] : "+.CountFailed+" Failed";
sleep2 200;
goto L_WPotion;
}
set .CountFailed,.CountFailed +1;
specialeffect2 306;
goto L_WPotion;
L_YPotion:
if(Class == 4019 && getskilllv(228) || Class == 18 && getskilllv(228)) goto YPotion_Check;
dispbottom "Alchemist Job And Minimum Skill Pharmacy Lvl 1";
end;
YPotion_Check:
if(countitem(508)<1 || countitem(1093)<1 || countitem(7134)<1 || countitem(7144)<1) goto L_error;
delitem 508,1;
delitem 1093,1;
delitem 7134,1;
if(rand(100)< 85) {
specialeffect2 305;
getitem 503,1;
set .CountSuccess,.CountSuccess +1;
dispbottom "[ Alice ] : "+.CountSuccess+" Successful";
dispbottom "[ Alice ] : "+.CountFailed+" Failed";
sleep2 200;
goto L_YPotion;
}
set .CountFailed,.CountFailed +1;
specialeffect2 306;
goto L_YPotion;
L_RPotion:
if(Class == 4019 && getskilllv(228) || Class == 18 && getskilllv(228)) goto RPotion_Check;
dispbottom "Alchemist Job And Minimum Skill Pharmacy Lvl 1";
end;
RPotion_Check:
if(countitem(507)<1 || countitem(1093)<1 || countitem(7134)<1 || countitem(7144)<1) goto L_error;
delitem 507,1;
delitem 1093,1;
delitem 7134,1;
if(rand(100)< 85) {
specialeffect2 305;
getitem 501,1;
dispbottom "[ Alice ] : "+.CountSuccess+" Successful";
dispbottom "[ Alice ] : "+.CountFailed+" Failed";
sleep2 100;
goto L_RPotion;
}
set .CountFailed,.CountFailed +1;
specialeffect2 306;
goto L_RPotion;
L_Acid:
if(Class == 4019 && getskilllv(228) || Class == 18 && getskilllv(228)) goto Acid_Check;
dispbottom "Alchemist Job And Minimum Skill Pharmacy Lvl 1";
end;
Acid_Check:
if(countitem(713)< 1 || countitem(950)<1 || countitem(7134)<1 || countitem(7129)<1) goto L_error;
delitem 713,1;
delitem 950,1;
delitem 7134,1;
if(rand(100) < 85) {
specialeffect2 305;
getitem 7136,1;
dispbottom "[ Alice ] : "+.CountSuccess+" Successful";
dispbottom "[ Alice ] : "+.CountFailed+" Failed";
sleep2 100;
goto L_Acid;
}
set .CountFailed,.CountFailed +1;
specialeffect2 306;
goto L_Acid;
L_no:
end;
L_error:
dispbottom "It seems like an item you do not have sufficient";
set .CountSuccess,0;
set .CountFailed,0;
end;
}