From 57eb018c27b34787e377c1e1b0b88731fe7d2f33 Mon Sep 17 00:00:00 2001 From: Avi Weinstock Date: Sat, 28 Aug 2021 13:39:23 -0400 Subject: [PATCH] Make "What Lies Below" completable by fixing Zaff's dialog. --- .../java/core/game/interaction/npc/ZaffPlugin.kt | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/Server/src/main/java/core/game/interaction/npc/ZaffPlugin.kt b/Server/src/main/java/core/game/interaction/npc/ZaffPlugin.kt index cf459799a..01693be2f 100644 --- a/Server/src/main/java/core/game/interaction/npc/ZaffPlugin.kt +++ b/Server/src/main/java/core/game/interaction/npc/ZaffPlugin.kt @@ -114,9 +114,10 @@ class ZaffPlugin : OptionHandler() { "Can I have another ring?" ) stage = 1 + } else { + interpreter.sendOptions("Select an Option", "Yes, please.", "No, thank you.") + stage = 1 } - interpreter.sendOptions("Select an Option", "Yes, please.", "No, thank you.") - stage = 1 } 1 -> when (buttonId) { 1 -> { @@ -134,9 +135,10 @@ class ZaffPlugin : OptionHandler() { } else if (quest!!.getStage(player) == 80) { player("We did it! We beat Surok!") stage = 200 + } else { + interpreter.sendDialogues(player, FacialExpression.HALF_GUILTY, "Can I have another ring?") + stage = 50 } - interpreter.sendDialogues(player, FacialExpression.HALF_GUILTY, "Can I have another ring?") - stage = 50 } } 10 -> { @@ -453,4 +455,4 @@ class ZaffPlugin : OptionHandler() { return ServerStore.getArchive("daily-zaff") } } -} \ No newline at end of file +}