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
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
|
//================= 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
//= Copyright (C) Evera
//= Copyright (C) Silent
//= Copyright (C) Vicious_Pucca
//= Copyright (C) Nexon
//= Copyright (C) Lupus
//= Copyright (C) Celest
//= Copyright (C) PKGINGO
//= Copyright (C) Dizzy
//= Copyright (C) Fyrien
//=
//= 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/>.
//=========================================================================
//= Niflheim Script
//================= Description ===========================================
//= Official NPCs for Niflheim
//================= Current Version =======================================
//= 1.5
//=========================================================================
niflheim,52,147,3 script Keedz#nif 4_M_NFDEADSWDMAN,{
mes "[Keedz]";
mes "I don't allow any living person";
mes "to come in this place!";
close;
}
niflheim,195,211,6 script Gigantia#nif 4_M_NFDEADSWDMAN,3,3,{
if (isequipped(5038) || isequipped(2257) || isequipped(2256)) {
mes "[" + strcharinfo(0) + "]";
mes "What's up?";
next;
mes "[Gigantia]";
mes "Just...";
mes "Come over here.";
mes "I have something";
mes "I must do for you.";
next;
mes "[Gigantia]";
mes "Your horn is crooked.";
mes "Always make sure your horn";
mes "is worn straight and neat.";
mes "The Lord of Death is always";
mes "looking at you.";
close;
}
mes "[Gigantia]";
mes "The Lord of Death knows";
mes "and sees all. It's useless";
mes "to hide, and escape from";
mes "Death's sweet embrace.";
close;
OnTouch:
if (isequipped(5038) || isequipped(2257) || isequipped(2256)) {
mes "[Gigantia]";
mes "Hey, wait!";
close;
}
end;
}
nif_in,16,27,1 script Undead Chicken#nif 4_NFCOCK,{
percentheal -5,0;
mes "[Undead Chicken]";
mes "I lived a peaceful life as a normal chicken. But then came the day I was tragically killed and eaten by humans. Well... Heh heh~! Now it's my turn! *Cackles*";
next;
mes "["+ strcharinfo(0) +"]";
mes "Ouch...!";
mes "A chicken...";
mes "It bit me!";
next;
mes "[Undead Chicken]";
mes "Ho ho~!";
mes "I can talk AND feast";
mes "on living humans!";
mes "Being a zombie is great!";
mes "*Cackles*";
close;
}
nif_in,16,30,4 script Undead Familiar#nif 4_NFBAT,{
percentheal -5,0;
mes "[Vatoman]";
mes "Oooh, how handy, a living";
mes "human~! Fresh blood is";
mes "always tasty...! I think I'll just";
mes "take a liiittle sip.";
next;
mes "[" + strcharinfo(0) + "]";
mes "Ow! My vein!";
mes "Did you just";
mes "suck my blood?!";
next;
mes "[Vatoman]";
mes "Mwahahaha~";
mes "Foolish mortal!";
mes "Beware my powers!";
close;
}
nif_in,156,93,5 script Child#niflheim 4_F_NFLOSTGIRL,{
mes "[Alakina Ann]";
mes "Where...where am I...?";
mes "I remember I was sleeping";
mes "and when I woke up, I was here...";
mes "Mommy, have you seen my mommy?";
mes "I wanna go home...*Sob*";
next;
switch(select("About the witch", "About the curse", "Cancel.")) {
case 1:
mes "[Alakina Ann]";
mes "Witch...? I've never seen a witch, but I've read about them in books. I'm not sure if they exist or not, but it would be so horrifying if they did...";
next;
mes "[Alakina Ann]";
mes "Why is it so cold in here...?";
mes "A-aren't you cold, or even scared? I wanna go home... It's warm over there. Could you help me get back... Please...? H-help me...";
close;
case 2:
mes "[Alakina Ann]";
mes "A c-curse...?";
mes "My grandma says that there are lots of curses in the world. Some of them, you can tell it's a curse. But there are other curses that follow you throughout life...";
next;
mes "[Alakina Ann]";
mes "Grandma says curses can take other forms... Like if someone's always mad at you, and won't forgive you, you can see that as a curse too.";
next;
mes "[Alakina Ann]";
mes "My grandma told me there's only one spell that can break a strong curse that you can't lift with Blessings...";
next;
mes "[Alakina Ann]";
mes "Klaatu...";
mes "Verata.....";
mes "Ne...ni...umm...?";
mes "What was the last part?";
mes "I-I can't remember";
mes "the last part of the spell!";
next;
mes "[Alakina Ann]";
mes "If you repeat the spell in that order, it will release you from someone's anger and hate. And if you do it near a bad spirit, they might get the curse instead.";
next;
mes "[Alakina Ann]";
mes "Why are you asking me about these scary kind of things...? I just wanna go home...";
close;
case 3:
mes "[Alakina Ann]";
mes "It's so cold in here...";
mes "I'm freezing...";
mes "And I wanna go home and";
mes "get away from this scary place...";
next;
mes "[Alakina Ann]";
mes "Please... help me.";
mes "Could you take me with you...?";
close;
}
}
niflheim,350,258,1 script Cursed Spirit#nif 4_NFWISP,{
killmonster "niflheim","Cursed Spirit#nif::OnMyMobDead";
mes "[Ashe Bruce]";
mes "I sense you're cursed";
mes "by a powerful spell...";
mes "Hmm... It's clear what";
mes "you must be up to....";
next;
mes "[Ashe Bruce]";
mes "You wish to get";
mes "rid of your curse....";
mes "By giving it to me!!";
next;
mes "[Ashe Bruce]";
mes "Just because I'm a cursed spirit, you adventurers think you can just dump your curses on me?!";
emotion e_an;
next;
mes "[Ashe Bruce]";
mes "I refuse to let";
mes "you remain here.....";
mes "Leave now, or I will";
mes "remove you by force....";
next;
mes "[Ashe Bruce]";
mes "....And...";
mes "....Whatever you do...";
mes "....Do NOT touch my books...";
next;
switch(select("Touch the first book.", "Touch the second book.", "Touch the third book.", "Okay, I am leaving.")) {
case 1:
monster "niflheim",349,259,"Rideword",1478,1,"Cursed Spirit#nif::OnMyMobDead";
mes "[Ashe Bruce]";
mes "...!...";
mes "How dare you touch my books";
mes "when I specifically said";
mes "'Don't touch my books!'";
next;
mes "[Ashe Bruce]";
mes "....!...Grrrrr!";
mes "I shall tear you apart...!";
mes "Be bound by an eternal curse...!";
close;
case 2:
mes "[Ashe Bruce]";
mes "...!...";
mes "You dare touch my books?!";
mes "Right after I said not";
mes "to touch them...?!";
mes "Foolish mortal!";
mes "...BEGONE!";
close2;
warp "niflheim",34,162;
end;
case 3:
mes "[Ashe Bruce]";
mes "Muhahahaha....";
mes "Stubborn mortal~!";
mes "Fine! I will give you";
mes "a fighting chance and let";
mes "you cast a spell.";
next;
mes "[Ashe Bruce]";
mes "But Blessings won't";
mes "work with the curse";
mes "that you have...";
mes "And the spell to lift";
mes "your curse has been";
mes "lost to the ages~!";
emotion e_gg;
next;
if (select("Clover", "Klaatu", "Klaytos") == 2) {
++.@spell;
}
if (select("Verit", "Veritas", "Verata") == 3) {
++.@spell;
}
if (select("Necktie", "Necklace", "Nero", "^FFFFFFNictu!!!^000000") == 4) {
++.@spell;
}
if (.@spell == 3) {
switch(rand(1,5)) {
case 1:
if (morison_meat < 15) {
morrison_meat = 15;
mes "[Ashe Bruce]";
mes "You... You broke the curse!";
mes "How did you know that spell?!";
next;
mes "[Ashe Bruce]";
mes "I suppose you expect for me to";
mes "melt in agony about now, don't";
mes "you? Well... Sorry to disappoint";
mes "you, mortal, but I can never die!";
close;
}
mes "[Ashe Bruce]";
mes "...! You cast the correct spell?!";
mes "...!...";
mes "But...You're still cursed...";
mes "Umhaaaaaaaaaaaaaaaaa.....!";
close;
case 2:
if (thai_head == 1) {
thai_head = 2;
mes "[Ashe Bruce]";
mes "What's...";
mes "this feeling?";
next;
mes "[Ashe Bruce]";
mes "No...!";
mes "NOOOOOOOOOOOOOOOO!";
next;
mes "[Ashe Bruce]";
mes "Why did your spell have to work?!";
close;
}
mes "[Ashe Bruce]";
mes "You...";
mes "cast the correct spell?!";
next;
mes "[Ashe Bruce]";
mes "Hoho~";
mes "But you're still cursed...";
close;
case 3:
if (thai_head == 8) {
thai_head = 7;
mes "[Ashe Bruce]";
mes "You... You broke the curse!";
mes "Who taught you that spell?!";
next;
mes "[Ashe Bruce]";
mes "I suppose you expect for me to";
mes "melt in agony about now, don't";
mes "you? Well... Sorry to disappoint";
mes "you, mortal, but I can never die!";
next;
mes "[Ashe Bruce]";
mes "So long as I'm...";
mes "still...";
mes "cursed.";
next;
mes "[Ashe Bruce]";
mes "NOOOOOOOOOO!";
close;
}
mes "[Ashe Bruce]";
mes "...! You cast the correct spell?!";
mes "...!...";
mes "But...You're still cursed...";
mes "Umhaaaaaaaaaaaaaaaaa.....!";
close;
case 4:
mes "[Ashe Bruce]";
mes "...! You cast the correct spell?!";
mes "...!...";
mes "But...You're still cursed...";
mes "Mwahahahaaaa.....!";
close;
}
}
monster "niflheim",345,259,"Orc Skeleton",1462,1,"Cursed Spirit#nif::OnMyMobDead";
monster "niflheim",347,261,"Orc Skeleton",1462,1,"Cursed Spirit#nif::OnMyMobDead";
monster "niflheim",344,253,"Orc Skeleton",1462,1,"Cursed Spirit#nif::OnMyMobDead";
monster "niflheim",346,251,"Orc Skeleton",1462,1,"Cursed Spirit#nif::OnMyMobDead";
monster "niflheim",349,249,"Orc Skeleton",1462,1,"Cursed Spirit#nif::OnMyMobDead";
monster "niflheim",350,260,"Orc Skeleton",1462,1,"Cursed Spirit#nif::OnMyMobDead";
monster "niflheim",353,256,"Orc Skeleton",1462,1,"Cursed Spirit#nif::OnMyMobDead";
mes "[Ashe Bruce]";
mes "Muhahahahahaha!";
mes "That's not the right spell!";
mes "Now, death awaits you!";
mes "You're eternally bound";
mes "to the curse...!";
close;
case 4:
mes "[Ashe Bruce]";
mes "...";
mes ".....";
next;
mes "[Ashe Bruce]";
mes "Well then.";
mes "Try not to trip on";
mes "your feet in your";
mes "rush to leave.";
close;
}
OnMyMobDead:
end;
}
|