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)