From 412bcb28bc82d8e42b812693cdcf0fbbdb2d21e3 Mon Sep 17 00:00:00 2001 From: Jordan Irwin Date: Mon, 15 Apr 2024 18:29:33 -0700 Subject: [PATCH] Update Amazon Princess quest for checking completions https://github.com/arianne/stendhal/issues/230 --- src/games/stendhal/server/maps/quests/AmazonPrincess.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/games/stendhal/server/maps/quests/AmazonPrincess.java b/src/games/stendhal/server/maps/quests/AmazonPrincess.java index c078d034a5..f5d9ae4737 100644 --- a/src/games/stendhal/server/maps/quests/AmazonPrincess.java +++ b/src/games/stendhal/server/maps/quests/AmazonPrincess.java @@ -92,6 +92,9 @@ public class AmazonPrincess implements QuestManuscript { .rewardWith(new PlaySoundAction("kiss-female-01")) .rewardWith(new InflictStatusOnNPCAction("pina colada")); + // completions count is stored in 2nd index of quest slot + quest.setCompletionsIndexes(2); + return quest; }