From b1aa9ea39a7b3b0d46faab1859d0e8a4e5cd5a3b Mon Sep 17 00:00:00 2001 From: skelsoft <9147770-skelsoft@users.noreply.gitlab.com> Date: Tue, 31 May 2022 13:15:51 +0000 Subject: [PATCH] Jad practice mode in fight caves now correctly skips to Jad fight --- .../game/content/activity/tzhaar/TzhaarFightCavesPlugin.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Server/src/main/java/core/game/content/activity/tzhaar/TzhaarFightCavesPlugin.java b/Server/src/main/java/core/game/content/activity/tzhaar/TzhaarFightCavesPlugin.java index 5bd4894f2..7403e5f8f 100644 --- a/Server/src/main/java/core/game/content/activity/tzhaar/TzhaarFightCavesPlugin.java +++ b/Server/src/main/java/core/game/content/activity/tzhaar/TzhaarFightCavesPlugin.java @@ -119,6 +119,9 @@ public final class TzhaarFightCavesPlugin extends ActivityPlugin { } }; } else { + if (practice) { + player.setAttribute("fc_wave", 62); + } if (player.getAttribute("fc_wave", 0) == 62) { player.getDialogueInterpreter().sendDialogues(2617, null, "Look out, here comes TzTok-Jad!"); }