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
|
//================= Hercules Script =======================================
//= _ _ _
//= | | | | | |
//= | |_| | ___ _ __ ___ _ _| | ___ ___
//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __|
//= | | | | __/ | | (__| |_| | | __/\__ \
//= \_| |_/\___|_| \___|\__,_|_|\___||___/
//================= License ===============================================
//= This file is part of Hercules.
//= http://herc.ws - http://github.com/HerculesWS/Hercules
//=
//= Copyright (C) 2012-2015 Hercules Dev Team
//= Copyright (C) Euphy
//= Copyright (C) Streusel
//= Copyright (C) Kisuka
//=
//= Hercules is free software: you can redistribute it and/or modify
//= it under the terms of the GNU General Public License as published by
//= the Free Software Foundation, either version 3 of the License, or
//= (at your option) any later version.
//=
//= This program is distributed in the hope that it will be useful,
//= but WITHOUT ANY WARRANTY; without even the implied warranty of
//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
//= GNU General Public License for more details.
//=
//= You should have received a copy of the GNU General Public License
//= along with this program. If not, see <http://www.gnu.org/licenses/>.
//=========================================================================
//= Renewal Archer Job Quest
//================= Description ===========================================
//= Job Change to Archer Class
//================= Current Version =======================================
//= 1.2
//=========================================================================
payon_in02,64,71,4 script Archer Guildsman#archer 4_M_03,{
if (Upper == 1) {
if (Class == Job_Novice_High && (ADVJOB == Job_Sniper || ADVJOB == Job_Clown || ADVJOB == Job_Gypsy)) {
mes "[Archer Guildsman]";
mes "Hey, I know you.";
mes "You took this test";
mes "before, didn't you?";
next;
mes "[Archer Guildsman]";
mes "Ah, you must have been";
mes "to Valhalla and been reborn.";
mes "Wow, that's so impressive!";
next;
if (getskilllv("NV_BASIC") < 9) {
mes "[Archer Guildsman]";
mes "Err...";
mes "You'd better learn all the Basic Skills first before you can become an Archer.";
next;
mes "[Archer Guildsman]";
mes "Alright, see you later.";
close;
}
mes "[Archer Guildsman]";
mes "Well then. I don't";
mes "need to say anything else.";
mes "I know you'll make a great Archer...";
next;
skill 143,0,0;
jobchange Job_Archer_High;
skill 147,1,0;
skill 148,1,0;
mes "[Archer Guildsman]";
mes "Although there's no special";
mes "reward for you this time, I hope you understand. Take care of yourself.";
close;
}else{
mes "[Archer Guildsman]";
mes "Oh...?";
mes "Hey, what are";
mes "you doing here...?";
next;
mes "[Archer Guildsman]";
mes "I can tell that you're not cut out to be an Archer. It sort of feels like you're meant to do";
mes "something else...";
close;
}
}
mes "[Archer Guildsman]";
mes "Nice to meet you. How may I help you?";
next;
switch(select("I want to be an Archer.", "I need the requirements, please.", "Nothing, thanks.")) {
case 1:
if(BaseJob != Job_Novice) {
mes "[Archer Guildsman]";
if(BaseJob == Job_Archer) {
mes "Haha, you are kidding me..";
}else{
mes "I feel sorry but only Novices can change their job.";
mes "You already have your own decent job, don't you?";
}
close;
}else{
mes "[Archer Guildsman]";
mes "You are... "+strcharinfo(0)+". right?";
next;
if (getskilllv("NV_BASIC") < 9) {
mes "[Archer Guildsman]";
mes "Well, you're not at the right skill level.";
mes "Your job level must be at least ^4A4AFF10^000000 and your Basic Skill level should reach ^4A4AFFlevel 9";
next;
mes "[Archer Guildsman]";
mes "Because an Archer needs extremely high concentration, so we do not accept those who have little patience.";
close;
}
mes "[Archer Guildsman]";
mes "Your Basic Skill is now enough..";
mes "....Hm~~ so you are now ready to be an Archer. I will take the step right away.";
next;
mes "[Archer Guildsman]";
mes "Congratulations! You are now an Archer! Also, we hope that you actively participate in many programs for the revival of the Archer Guild.";
mes "Ah, items have arrived from the Production Department. Here, take these! These are all yours!";
callfunc "Job_Change",Job_Archer;
getitem N_Composite_Bow,1; // N_Composite_Bow
getitem Arrow_Container,1; // Arrow_Container
getitem Silver_Arrow_Container,1; // Silver_Arrow_Container
getitem Fire_Arrow_Container,1; // Fire_Arrow_Container
next;
mes "[Archer Guildsman]";
mes "Having a bow and arrows, now you became a real Archer.";
mes "If you open the arrow container, there are arrows in it and then you can equip them.";
mes "Well, I expect to hear better news from you. It's time to say goodbye.";
mes "Bye.";
close;
}
case 2:
mes "[Archer Guildsman]";
mes "An Archer has skills using a bow and has various talents.";
mes "The greatest ability of an Archer is attacking enemies from a long distance.";
next;
mes "[Archer Guildsman]";
mes "Although an Archer has weaker HP, he or she can shoot enemies at a long range,";
mes "so an Archer is safer in a real battle.";
next;
mes "[Archer Guildsman]";
mes "Although an Archer in Ragnarok has lower HP, he or she has high accuracy and attack rate so that the archer can kill monsters before they get close to an Archer.";
next;
mes "[Archer Guildsman]";
mes "^8C2121An Archer can change jobs to a Hunter.^000000";
mes "^8C2121Other than Hunter, if you are a man, you can change your job to Bard and if you are a woman, you can change your job to Dancer.^000000";
close;
case 3:
mes "[Archer Guildsman]";
mes "If you have any questions, feel free to come and ask me.";
close;
}
}
|