summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-04-29 03:21:37 -0300
committerJesusaves <cpntb1@ymail.com>2020-04-29 03:21:37 -0300
commit5ac010ea65c20843f5bb5fd61cffd4eb8643946e (patch)
treed4cac10b1f2beb00e4147d7c170897b603f66e56 /npc
parent44dd7133f4461871a9b6accbcaba31b74d38f2e6 (diff)
downloadserverdata-5ac010ea65c20843f5bb5fd61cffd4eb8643946e.tar.gz
serverdata-5ac010ea65c20843f5bb5fd61cffd4eb8643946e.tar.bz2
serverdata-5ac010ea65c20843f5bb5fd61cffd4eb8643946e.tar.xz
serverdata-5ac010ea65c20843f5bb5fd61cffd4eb8643946e.zip
Prepare the dialog which maptimer() will fire.
Diffstat (limited to 'npc')
-rw-r--r--npc/042-2/boss.txt26
1 files changed, 26 insertions, 0 deletions
diff --git a/npc/042-2/boss.txt b/npc/042-2/boss.txt
index 9da2d925d..49e31f28a 100644
--- a/npc/042-2/boss.txt
+++ b/npc/042-2/boss.txt
@@ -61,6 +61,32 @@ OnTimer60000:
.@mob=monster(.@m$, 34, 26, strmobinfo(1, GeneralKrukan), GeneralKrukan, 1, .@n$+"::OnKillBoss"); // FIXME
end;
+OnVerifyIntent:
+ mesq l("Who are you, and how did you manage to come down here? The sheer power of our Lord prevents anyone not under his control to go here.");
+ select
+ l("We are strong fighters, and we want to free the King from his obsession."),
+ l("Oh, yea, you are right, it was a mistake. Bye-bye.");
+ mes "";
+ if (@menu == 2) {
+ mesc l("ARE YOU SURE?"), 1;
+ mesc l("This will remove you from the quest!");
+ next;
+ if (askyesno() == ASK_YES) {
+ mapannounce getmap(), "General Krukan : I praise you for running away, "+strcharinfo(0)+". You're not a fool it seems.", 0;
+ warp "014-4", 67, 27;
+ percentheal 100, 100;
+ closeclientdialog;
+ end;
+ }
+ } else {
+ getexp $KAMELOT_MX[.@g]*6, $KAMELOT_MX[.@g]*2;
+ }
+ mesc l("With fresh conviction, you prepare yourself to the fight which draws near.");
+ getitem GuildCoin, 1;
+ close;
+
+
+
OnKillMob:
if (!playerattached()) end;