From a562af57e943e7b47715a7c0da5a130e505e998c Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Wed, 28 Feb 2024 20:00:41 -0600 Subject: [PATCH] boon level based on votary rank --- src/engine/net/client/handlers/MerchantMsgHandler.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/engine/net/client/handlers/MerchantMsgHandler.java b/src/engine/net/client/handlers/MerchantMsgHandler.java index 0adbace4..0df4fd97 100644 --- a/src/engine/net/client/handlers/MerchantMsgHandler.java +++ b/src/engine/net/client/handlers/MerchantMsgHandler.java @@ -191,12 +191,7 @@ public class MerchantMsgHandler extends AbstractClientMsgHandler { return; } - int rank = shrine.getRank(); - //R8 trees always get atleast rank 2 boons. rank uses index, where 0 is first place, 1 is second, etc... - if (shrineBuilding.getCity() != null && shrineBuilding.getCity().getTOL() != null && shrineBuilding.getCity().getTOL().getRank() == 8) - if (rank != 0) - rank = 1; - int trains = 40 - (rank * 10); + int trains = 5 * npc.getRank() + 5;//40 - (rank * 10); if (trains < 0) trains = 0;