summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-01-24 18:24:09 -0200
committerJesusaves <cpntb1@ymail.com>2019-01-24 18:24:09 -0200
commit7f198fb76962b8256e9a2adbc26322c441473575 (patch)
treeaafd85d1fbef1aa411bc844888be34b8ddb9c9e2
parent186bfb9ecff6cdb67387a051c88460351db1280b (diff)
downloadserverdata-7f198fb76962b8256e9a2adbc26322c441473575.tar.gz
serverdata-7f198fb76962b8256e9a2adbc26322c441473575.tar.bz2
serverdata-7f198fb76962b8256e9a2adbc26322c441473575.tar.xz
serverdata-7f198fb76962b8256e9a2adbc26322c441473575.zip
Oops, my bad
-rw-r--r--npc/012-1/guards.txt29
1 files changed, 18 insertions, 11 deletions
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;