From 890b1822d8d0c9632557549c1bce30d65b367107 Mon Sep 17 00:00:00 2001 From: Periwinks Date: Mon, 22 Jul 2019 14:24:26 -0400 Subject: [PATCH] Repeat question if user has wrong pass count (#497) Kerning City PQ Stage 1 NPC Cloto - Originally in HeavenMS, she would tell the user they had the wrong number of passes, but not repeat the question. - This was mainly a problem for those who accidentally skipped the window and would have to check - With this fix, cloto follows up her 'wrong answer' speech, but also repeats the proper question associated with each player --- scripts/npc/9020001.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/npc/9020001.js b/scripts/npc/9020001.js index 55a6826e46..f6e590d54a 100644 --- a/scripts/npc/9020001.js +++ b/scripts/npc/9020001.js @@ -170,7 +170,8 @@ function action(mode, type, selection) { eim.gridInsert(cm.getPlayer(), 0); } else { - cm.sendNext("I'm sorry, but that is not the right answer! Please have the correct number of coupons in your inventory."); + var question = stage1Questions[eim.gridCheck(cm.getPlayer()) - 1]; + cm.sendNext("I'm sorry, but that is not the right answer!\r\n" + question); } } } @@ -294,4 +295,4 @@ function action(mode, type, selection) { cm.dispose(); } } -} \ No newline at end of file +}