From 1206441ab305f430b59232948470a076549ce379 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Thu, 2 May 2024 19:42:12 -0500 Subject: [PATCH] assorted fixes --- src/engine/gameManager/PowersManager.java | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/engine/gameManager/PowersManager.java b/src/engine/gameManager/PowersManager.java index 2e78d872..eeecbb4b 100644 --- a/src/engine/gameManager/PowersManager.java +++ b/src/engine/gameManager/PowersManager.java @@ -218,6 +218,14 @@ public enum PowersManager { if (playerCharacter == null) return false; + boolean skipCheck = false; + + if(msg.getPowerUsedID() == 429495514 && playerCharacter.getRace().getName().contains("Shade")){ + msg.setPowerUsedID(429397210);//intercept shade using hide and cast sneak instead + skipCheck = true; + } + + boolean CSRCast = false; @@ -334,7 +342,7 @@ public enum PowersManager { // Check powers for normal users - boolean skipCheck = false; + if(msg.getPowerUsedID() == 429399948) for(CharacterRune cr : playerCharacter.getRunes()) if(cr.getRuneBaseID() == 3029)