From b9871a2729ef6c37800e4ff7c4f68d01e5d11d21 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sun, 21 Apr 2024 19:36:09 -0500 Subject: [PATCH] blood horn and thrall can be taken on all minotaurs and saetors --- src/engine/net/client/msg/ApplyRuneMsg.java | 22 +++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/src/engine/net/client/msg/ApplyRuneMsg.java b/src/engine/net/client/msg/ApplyRuneMsg.java index 87b8f780..7592f9ac 100644 --- a/src/engine/net/client/msg/ApplyRuneMsg.java +++ b/src/engine/net/client/msg/ApplyRuneMsg.java @@ -77,12 +77,12 @@ public class ApplyRuneMsg extends ClientNetMsg { if (playerCharacter == null || origin == null || rb == null) { return false; } - + int raceID = playerCharacter.getRaceID(); //Check race is met ConcurrentHashMap races = rb.getRace(); if(runeID != 3007 && runeID != 3014) {//bounty hunter and huntsman if (races.size() > 0) { - int raceID = playerCharacter.getRaceID(); + boolean valid = false; for (int validID : races.keySet()) { if (validID == raceID) { @@ -93,6 +93,12 @@ public class ApplyRuneMsg extends ClientNetMsg { if(runeID == 3040) valid = true; + if(runeID == 3036 && raceID == 1999) + valid = true; + + if(runeID == 3033 && raceID == 1999) + valid = true; + if (!valid) { return false; } @@ -113,6 +119,12 @@ public class ApplyRuneMsg extends ClientNetMsg { if(runeID == 3040) valid = true; + if(runeID == 3036 && raceID == 1999) + valid = true; + + if(runeID == 3033 && raceID == 1999) + valid = true; + if (!valid) { return false; } @@ -136,6 +148,12 @@ public class ApplyRuneMsg extends ClientNetMsg { if(runeID == 3004 && (playerCharacter.getPromotionClassID() == 2505 || playerCharacter.getPromotionClassID() == 2510)) valid = true; + if(runeID == 3036 && raceID == 1999) + valid = true; + + if(runeID == 3033 && raceID == 1999) + valid = true; + if (!valid) { return false; }