From 4cd703097c576f2af7bfd46b476aa118220340b4 Mon Sep 17 00:00:00 2001 From: randy Date: Wed, 6 Nov 2024 11:03:21 -0700 Subject: [PATCH] Increased Pest Control reward points by 5x (10, 15, and 25 for each boat) --- .../minigame/pestcontrol/PestControlActivityPlugin.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Server/src/main/content/minigame/pestcontrol/PestControlActivityPlugin.java b/Server/src/main/content/minigame/pestcontrol/PestControlActivityPlugin.java index f1fb680a0..396d22355 100644 --- a/Server/src/main/content/minigame/pestcontrol/PestControlActivityPlugin.java +++ b/Server/src/main/content/minigame/pestcontrol/PestControlActivityPlugin.java @@ -133,14 +133,14 @@ public final class PestControlActivityPlugin extends ActivityPlugin { // type, // default } else if (success && p.getAttribute("pc_zeal", 0) >= 50) { - int amount = type.ordinal() + 2; + int amount = type.ordinal() == 0 ? 10 : type.ordinal() == 1 ? 15 : 25; p.getSavedData().getActivityData().increasePestPoints(amount); Item coins = new Item(995, p.getProperties().getCurrentCombatLevel() * 10); if (!p.getInventory().add(coins)) { GroundItemManager.create(coins, p); } // default, type, name - p.getDialogueInterpreter().open(3781, true, 1, type.ordinal() == 0 ? "two" : type.ordinal() == 1 ? "three" : "four"); + p.getDialogueInterpreter().open(3781, true, 1, type.ordinal() == 0 ? "ten" : type.ordinal() == 1 ? "fifteen" : "twenty-five"); } else { // default type, default p.getDialogueInterpreter().open(3781, true, 2, true);