From 7ef3efafd30ebe57204d91268b8561d7b5f2f181 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sun, 26 Jan 2025 18:55:50 -0600 Subject: [PATCH] shade backstabs --- src/engine/gameManager/PowersManager.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/engine/gameManager/PowersManager.java b/src/engine/gameManager/PowersManager.java index 2746383e..633341e3 100644 --- a/src/engine/gameManager/PowersManager.java +++ b/src/engine/gameManager/PowersManager.java @@ -494,6 +494,19 @@ public enum PowersManager { } } + if(!passed){ + if (playerCharacter.getRace().getName().equals("Shade")) { + if(playerCharacter.effects.containsKey("INVIS-B")){ + switch(msg.getPowerUsedID()){ + case 0: + + passed = true; + break; + } + } + } + } + if (!passed) return true; }