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
|
//================= 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) L0ne_W0lf
//=
//= 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/>.
//=========================================================================
// BattleGround System - KvM Entrance NPCs
//================= Description ===========================================
//= Kreiger Von Midgard Battleground Entrance NPCs
//= Original NPCs scrapped from bg_common.
//================= Current Version =======================================
//= 1.1
//=========================================================================
//== KvM Officer - Guillaume ===============================
bat_room,164,178,5 script KVM Mercenary Officer#1 4_M_KY_KNT,{
/*
.@kvm = questprogress(6026,PLAYTIME);
if (.@kvm == 1) {
mes "[Croix Mercenary Officer]";
mes "I know that you've already signed with the Croix. Go back and join their team. We will not accept traitors to fight for us.";
close;
}
else if (.@kvm == 2) erasequest 6026;
*/
.@permit = questprogress(6025,PLAYTIME);
if (.@permit == 1) {
mes "[Guillaume Mercenary Officer]";
mes "It seems you have recently participated in a KVM battle. You must wait 5 minutes before signing up again.";
close;
}
else if (.@permit == 2) erasequest 6025;
mes "[Guillaume Mercenary Officer]";
mes "Let them know the real might of Guillaume!";
next;
switch(select("I will fight with you.:End Conversation.")) {
case 1:
mes "[Guillaume Mercenary Officer]";
mes "Show them how strong we are.";
mes "Today, everyone will hear the shout of triumph from Guillaume!";
close2;
//setquest 6025;
if (BaseLevel > 79) warp "bat_room",169,223;
else if (BaseLevel < 60) warp "bat_room",197,223;
else warp "bat_room",225,223;
end;
case 2:
mes "[Guillaume Mercenary Officer]";
mes "We will win!";
close;
}
}
//== Guillaume Knight - KvM ================================
bat_room,167,178,5 script Guillaume Knight#kvm 4_M_KY_SOLD,{
mes "[Guillaume Knight]";
mes "Hello.";
mes "What do you want to know?";
next;
switch(select("Apply for KVM.:What is KVM?:How do I participate in KVM?:I want to know my Kreiger Points.")) {
case 1:
mes "[Guillaume Knight]";
mes "Applications are not available yet.";
mes "To apply, you need to go to a KVM Mercenary Officer.";
close;
case 2:
mes "[Guillaume Knight]";
mes "KVM is the abbreviation of Kreiger Von Midgard.";
mes "Adventurer, are you aware that the way to the new world has been opened?";
next;
mes "[Guillaume Knight]";
mes "We, the Guillaume Administration, have several plans to advance to the new world.";
mes "And KVM is one of them.";
next;
mes "[Guillaume Knight]";
mes "It means that we, one of many countries in the Midgard continent,";
mes "have decided to employ many adventurers for the immediate advance to the new world.";
next;
mes "[Guillaume Knight]";
mes "Therefore, to select the best adventurers, we are holding the KVM.";
mes "We exspect responses from many adventurers.";
next;
mes "[Guillaume Knight]";
mes "And we will give them rewards for their participation!";
mes "As for the rewards, please contact a KVM Logistic Officer.";
close;
case 3:
mes "[Guillaume Knight]";
mes "Basically, KVM is a 5 on 5 battle.";
mes "First, you apply with a KVM receptionist, in a group or individually.";
next;
mes "[Guillaume Knight]";
mes "Group applications are for when you intend to enter the KVM with your party members,";
mes "and a personal application is for when you intend to enter the KVM individually.";
next;
mes "[Guillaume Knight]";
mes "Please apply with a KVM officer, and he will contact you later when you are in Prontera.";
next;
mes "[Guillaume Knight]";
mes "Then you enter and follow the instructions in the battlefield.";
next;
mes "[Guillaume Knight]";
mes "However, please be advised that unless you are in the KVM office, he cannot contact you.";
close;
case 4:
mes "[Guillaume Knight]";
mes "Your Kreiger Points are:";
mes ""+kvm_point+".";
close;
}
}
//== KvM Officer - Croix ===================================
bat_room,164,121,1 script KVM Mercenary Officer#2 4_M_CRU_KNT,{
/*
.@kvm = questprogress(6025,PLAYTIME);
if (.@kvm == 1) {
mes "[Croix Mercenary Officer]";
mes "I know that you've already signed with the Guillaume. Go back and join their team. We will not accept traitors to fight for us.";
close;
}
else if (.@kvm == 2) erasequest 6025;
*/
.@permit = questprogress(6025,PLAYTIME);
if (.@permit == 1) {
mes "[Croix Mercenary Officer]";
mes "It seems you have recently participated in a KVM battle. You must wait 5 minutes before signing up again.";
close;
}
else if (.@permit == 2) erasequest 6025;
mes "[Croix Mercenary Officer]";
mes "Let them know the real might of Croix!";
next;
switch(select("I will fight with you.:End Conversation.")) {
case 1:
mes "[Croix Mercenary Officer]";
mes "Show them how strong we are.";
mes "Today, everyone will hear the shout of triumph from Croix!";
close2;
//setquest 6026;
if (BaseLevel > 79) warp "bat_room",169,207;
else if (BaseLevel < 60) warp "bat_room",197,207;
else warp "bat_room",225,207;
end;
case 2:
mes "[Croix Mercenary Officer]";
mes "We will win!";
close;
}
}
//== Croix Knight - KvM ====================================
bat_room,167,121,1 script Croix Knight#kvm 4_M_CRU_SOLD,{
mes "[Croix Knight]";
mes "Hello.";
mes "What do you want to know?";
next;
switch(select("Apply for KVM.:What is KVM?:How do I participate in KVM?:I want to know my Kreiger Points.")) {
case 1:
mes "[Croix Knight]";
mes "Applications are not available yet.";
mes "To apply, you need to go to a KVM Mercenary Officer.";
close;
case 2:
mes "[Croix Knight]";
mes "KVM is the abbreviation of Kreiger Von Midgard.";
mes "Adventurer, are you aware that the way to the new world has been opened?";
next;
mes "[Croix Knight]";
mes "We, the Croix Administration, have several plans to advance to the new world.";
mes "And KVM is one of them.";
next;
mes "[Croix Knight]";
mes "It means that we, one of many countries in the Midgard continent,";
mes "have decided to employ many adventurers for the immediate advance to the new world.";
next;
mes "[Croix Knight]";
mes "Therefore, to select the best adventurers, we are holding the KVM.";
mes "We exspect responses from many adventurers.";
next;
mes "[Croix Knight]";
mes "And we will give them rewards for their participation!";
mes "As for the rewards, please contact a KVM Logistic Officer.";
close;
case 3:
mes "[Croix Knight]";
mes "Basically, KVM is a 5 on 5 battle.";
mes "First, you apply with a KVM receptionist, in a group or individually.";
next;
mes "[Croix Knight]";
mes "Group applications are for when you intend to enter the KVM with your party members,";
mes "and a personal application is for when you intend to enter the KVM individually.";
next;
mes "[Croix Knight]";
mes "Please apply with a KVM officer, and he will contact you later when you are in Prontera.";
next;
mes "[Croix Knight]";
mes "Then you enter and follow the instructions in the battlefield.";
next;
mes "[Croix Knight]";
mes "However, please be advised that unless you are in the KVM office, he cannot contact you.";
close;
case 4:
mes "[Croix Knight]";
mes "Your Kreiger Points are:";
mes ""+kvm_point+".";
close;
}
}
|