summaryrefslogtreecommitdiff
path: root/npc/jobs/2-1-1/Sniper.txt
blob: 91524c9a4b2df15826d8041c216c5ff4d084aa11 (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
//Sniper Made by Evera/Lorri
valkyrie.gat,44,55,6	script	Sniper	727,{
	if ((readparam(11) >= 99) && (Class == 11) && (JobLevel >= 50)) goto Lnovice;
	if ((Class == 4001) && (readparam(55) >= 10)) goto Lharcher;
	if ((Class == 4001) && (readparam(55) < 10)) goto LCem;
	if ((Class == 4004) && (readparam(55) >= 40)) goto Lhsni;
	if ((Class == 4004) && (readparam(55) < 40)) goto LCem;
	if (Class == 4012) goto Lcrazy;
	mes "[Sniper]";
	mes "Who are you?";
	mes "Only the archer class can become a Sniper...";
	mes "Meet all the requirements first.";
	close;
Lnovice:
	mes "[Sniper]";
	mes "Now, here's the deal. I change you into a High Novice.";
	mes "You come back to become a Sniper, then become a sniper.";
	mes "You wanna do it?";
	menu "Yes",Lnovice2,"No",Lcancel;
Lnovice2:
	if (readparam(12) != 0) goto Lskpt;
	mes "By the tip of my arrow.. The distance it moves...";
	next;
	jobchange 24;// Job: Job_Novice_High
	resetlvl(1);
	close;
Lharcher:
	mes "[Sniper]";
	mes "Wanna become a High Arhcer?";
	menu "Yes",Lhtheif2,"No",Lcancel;
Lhtheif2:
	if (readparam(12) != 0) goto Lskpt;
	mes "[Sniper]";
	mes "By the tip of my arrow.. The distance it moves...";
	next;
	jobchange 27;// Job: Job_Archer_High
	close;
Lhsni:
	mes "[Sniper]";
	mes "Ready to become a sniper, like me??";
	menu "Yes",Lhsni2,"No",Lcancel;
Lhsni2:
	if (readparam(12) != 0) goto Lskpt;
	mes "[Sniper]";
	mes "By the tip of my arrow.. The distance it moves...";
	jobchange 35;// Job: Job_Sniper
	close;
Lcrazy:
	mes "[Sniper]";
	mes "You're already a Sniper!";
	mes "How are you doing?";
	close;
Lskpt:
	mes "[Sniper]";
	mes "Please finish up your skillpoints first";
	close;
LCem:
	mes "[Sniper]";
	mes "Please train your arrows to move faster.";
	close;	
Lcancel:
	mes "Bye";
	close;
}