summaryrefslogtreecommitdiff
path: root/npc/re/quests/eden/86-90.txt
blob: 4ac5bbb193a9e657db4964fe13928922644e317f (plain) (blame)
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
//===== Hercules Script ======================================
//= Eden Group Quests - Mission [86 - 90]
//===== By: ==================================================
//= Chilly
//===== Current Version: =====================================
//= 1.2
//===== Description: =========================================
//= Repetable Quests for Players between Baselevel 86 - 90.
//===== Additional Comments: =================================
//= 1.0 First Version. [Chilly]
//= 1.1 Some little improvements here and there. [Masao]
//= 1.2 Optimized. [Euphy]
//============================================================

moc_para01,48,175,3	script	Mission [86 - 90]	857,{
	if (countitem(6219) < 1) {
		mes "- Only members of the -";
		mes "- Eden Group can read -";
		mes "- this bulletin board. -";
		close;
	}
	if (BaseLevel < 86) {
		mes "- This missions can only be -";
		mes "- read by those who are -";
		mes "- of the correct level. -";
		mes "- There might be another -";
		mes "- board somewhere for -";
		mes "- my level. -";
		close;
	}
	if (BaseLevel > 90) {
		setarray .@Exp[0],76000,82000,82000,72000,76000,72000,117000,82000,120000,72000,72000,72000,86000,80000;
		setarray .@Mob$[0],"Dragon Tail","Spring Rabbit","Pest","Bathory","Alarm","Baba Yaga","Hyegun","Antique Firelock","Zipper Bear","Earth Petite","Rafflesia","Venomous","Pitman","Yellow Novus";
		for(set .@i,0; .@i<14; set .@i,.@i+1)
			if (checkquest(4167+.@i,HUNTING) == 2) {
				mes "You hunted all 30 "+.@Mob$[.@i]+".";
				mes "Thank you very much.";
				next;
				mes "I know it isn't much but here's a small gift.";
				mes "I hope that it helps you at least a little bit.";
				next;
				erasequest 4167+.@i;
				getexp .@Exp[.@i],0;
				mes "Wooohoo!";
				mes "Good luck.";
				close;
			}
		mes "- This missions can only be -";
		mes "- read by those who are -";
		mes "- of the correct level. -";
		mes "- There might be another -";
		mes "- board somewhere for -";
		mes "- my level. -";
		close;
	}
	mes "- Many hunting missions -";
	mes "- are on the bulletin board. -";
	next;
	switch(select("Turtle Dungeon Area:Clock Tower Area:Local Area:Other Area")) {
	case 1:
		switch(select("Dragon Tail:Spring Rabbit:Pest")) {
			case 1: callsub L_Quest,4167,"Dragon Tail",76000;
			case 2: callsub L_Quest,4168,"Spring Rabbit",82000;
			case 3: callsub L_Quest,4169,"Pest",82000;
		}
	case 2:
		switch(select("Bathory:Alarm")) {
			case 1: callsub L_Quest,4170,"Bathory",72000;
			case 2: callsub L_Quest,4171,"Alarm",76000;
		}
	case 3:
		switch(select("Baba Yaga:Hyegun:Antique Firelock:Zipper Bear")) {
			case 1: callsub L_Quest,4172,"Baba Yaga",72000;
			case 2: callsub L_Quest,4173,"Hyegun",117000;
			case 3: callsub L_Quest,4174,"Antique Firelock",82000;
			case 4: callsub L_Quest,4175,"Zipper Bear",120000;
		}
	case 4:
		switch(select("Earth Petite:Rafflesia:Venomous:Pitman:Yellow Novus")) {
			case 1: callsub L_Quest,4176,"Earth Petite",72000;
			case 2: callsub L_Quest,4177,"Rafflesia",72000;
			case 3: callsub L_Quest,4178,"Venomous",72000;
			case 4: callsub L_Quest,4179,"Pitman",86000;
			case 5: callsub L_Quest,4180,"Yellow Novus",80000;
		}
	}
	end;
L_Quest:
	if (checkquest(getarg(0),HUNTING) == 2) {
		mes "You hunted all 30 "+getarg(1)+".";
		mes "Thank you very much.";
		next;
		mes "I know it isn't much but here's a small gift.";
		mes "I hope that it helps you at least a little bit.";
		next;
		erasequest getarg(0);
		getexp getarg(2),0;
		mes "Wooohoo!";
		mes "Good luck.";
		close;
	}
	if (checkquest(getarg(0)) == -1) {
		setquest getarg(0);
		mes "Please hunt 30 "+getarg(1)+" and return here.";
		close;
	}
	mes "Umm? You didn't hunt";
	mes "all 30 "+getarg(1)+" yet...";
	mes "Will you check again?";
	close;
}