From 7f198fb76962b8256e9a2adbc26322c441473575 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 24 Jan 2019 18:24:09 -0200 Subject: Oops, my bad --- npc/012-1/guards.txt | 29 ++++++++++++++++++----------- 1 file changed, 18 insertions(+), 11 deletions(-) (limited to 'npc/012-1/guards.txt') diff --git a/npc/012-1/guards.txt b/npc/012-1/guards.txt index effc5cc9f..37bce995c 100644 --- a/npc/012-1/guards.txt +++ b/npc/012-1/guards.txt @@ -43,7 +43,7 @@ L_Quest: mesq l("I see you are a Monster Hunting Quest Participant, right? I don't need your help right now, but maybe later, who knows?"); close; -L_Assign; +L_Assign: // 2 ** 0 = 1 * 100 = 100 mob points // 2 ** 1 = 2 * 99 = 198 mob points // 2 ** 2 = 4 * 98 = 392 mob points @@ -75,16 +75,23 @@ L_Assign; close; } // Assign quest - mesn; - mesq l("Maybe you can help our city guard. I see you are a Monster Hunting Quest Participant, right?"); - next; - mesn; - mesq l("So, I'm placing a special bounty for @@ Mob Points.", @rq); - mesq l("You currently have @@, so if you accept and come back later with @@ Mob Points, I'll mark the bounty as complete.", Mobpt, Mobpt+@rq); - next; - mesc l("Accept quest?"); - if (askyesno() == ASK_YES) { - setq HurnscaldQuest_Lieutenant, @fc-1, Mobpt; + else if (.@k == 0) { + mesn; + mesq l("Maybe you can help our city guard. I see you are a Monster Hunting Quest Participant, right?"); + next; + mesn; + mesq l("So, I'm placing a special bounty for @@ Mob Points.", @rq); + mesq l("You currently have @@, so if you accept and come back later with @@ Mob Points, I'll mark the bounty as complete.", Mobpt, Mobpt+@rq); + next; + mesc l("Accept quest?"); + if (askyesno() == ASK_YES) { + setq HurnscaldQuest_Lieutenant, @fc-1, Mobpt; + } + } + // Resume quest + else { + mesn; + mesq l("You have collected and additional of @@/@@ Mob Points.", Mobpt-.@k, @rq); } close; -- cgit v1.2.3-60-g2f50