From 5ac010ea65c20843f5bb5fd61cffd4eb8643946e Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 29 Apr 2020 03:21:37 -0300 Subject: Prepare the dialog which maptimer() will fire. --- npc/042-2/boss.txt | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'npc/042-2') 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; -- cgit v1.2.3-60-g2f50