From 6195a0687f9f66f97115b8a0900559e85be7f4ba Mon Sep 17 00:00:00 2001 From: Jordan Irwin Date: Mon, 15 Apr 2024 19:04:02 -0700 Subject: [PATCH] Update Unicorn Horns for Zelan quest for checking completions https://github.com/arianne/stendhal/issues/230 --- .../stendhal/server/maps/quests/UnicornHornsForZelan.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/games/stendhal/server/maps/quests/UnicornHornsForZelan.java b/src/games/stendhal/server/maps/quests/UnicornHornsForZelan.java index 0255c8a708a..8093bde66ff 100644 --- a/src/games/stendhal/server/maps/quests/UnicornHornsForZelan.java +++ b/src/games/stendhal/server/maps/quests/UnicornHornsForZelan.java @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright © 2003-2023 - Arianne * + * Copyright © 2003-2024 - Arianne * *************************************************************************** *************************************************************************** * * @@ -99,6 +99,9 @@ public BringItemQuestBuilder story() { .rewardWith(new EquipItemAction("soup", 3)) .rewardWith(new EquipItemAction("money", 20000)); + // completions count is stored in 2nd index of quest slot + quest.setCompletionsIndexes(2); + return quest; } }