summaryrefslogtreecommitdiff
path: root/npc/jobs/1-1e/ninja.txt
blob: 0d8cdb8a3d09dff7ce56d5b623a76d7e2f54e0a4 (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
//===== eAthena Script ======================================= 
//= Ninja Job Quest
//===== Initial Version by: ================================== 
//= Lord Gywall
//===== Current Version: ===================================== 
//= 1.1c
//===== Compatible With: ===================================== 
//= eAthena SVN
//===== Description: ========================================= 
//= Temp Ninja Quest
//===== Additional Comments: ================================= 
//= 1.1b Fixed the below fix. [blackhole89]
//= 1.1 Removed tRO specific questions; minor fixes. [blackhole89]
//= 1.0 Fixed minor things [Lupus]
//============================================================ 


amatsu.gat,46,137,4	script	Ninja Master	730,{
	mes "[Ninja Master]";
	mes "Huh, what?";
	if(Class==Job_Novice) goto N_Novice;
	mes "Hey! Get lost!";
	close;
N_Novice:
	mes "Oh, a novice.. I guess your here to learn the ways of a Ninja.";
	next;
	menu "I wish to become a Ninja",N_Question,"What are the requirements?",N_Require,"Leave",-;
	close;

N_Question:
	mes "[Ninja Master]";
	if(JobLevel<10 || SkillPoint) goto N_Bad;
	set @qnumber,rand(1,4);
	if(@qnumber==1) goto N_Q1;
	if(@qnumber==2) goto N_Q2;
	if(@qnumber==3) goto N_Q3;
	mes "Where can you find a Poison Toad?";
	menu "Amatsu Field",N_C,"Louyang Field",N_W,"Prontera Field",N_W,"Einbroch Field",N_W;
N_Q1:
	mes "Which of these places does not have its own fields?";
	next;
	menu "Geffen",N_W,"Alberta",N_C,"Payon",N_W,"Lighthalzen",N_W;
N_Q2:
	mes "Dammit.. which one is a fake weapon?";
	next;
	menu "Dirk",N_W,"Coward",N_W,"Stardust Blade",N_W,"Myrital",N_C;
N_Q3:
	mes "Which is the odd one out?";
	next;
	menu "Super Novice",N_W,"Gunslinger",N_W,"TaeKwon",N_C,"Ninja",N_W;
N_C:
	mes "[Ninja Master]";
	mes "..That's right.";
	mes "You can be a ninja from this day forward.";
	next;
	callfunc "Job_Change",Job_Ninja;
	mes "[Ninja Master]";
	mes "Congratulations. Now go train~ desu!";
	close;
N_W:
	mes "Argh.. Dammit, you baka!";
	next;
	menu "Try again",N_Question,"Give up",-;
	close;
N_Bad:
	mes "Wait a second.. You're either too low in job level or you have skill points left...";
	close;
N_Require:
	mes "[Ninja Master]";
	mes "You have to correctly answer a question I fire at you randomly.";
	mes "Your job level must be at least 10 before trying.";
	close;
}