From 7b32cfe23505864b82a9f95b613be45a431448ee Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sun, 26 Jan 2025 19:06:48 -0600 Subject: [PATCH] shade backstabs --- src/engine/gameManager/PowersManager.java | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/engine/gameManager/PowersManager.java b/src/engine/gameManager/PowersManager.java index 633341e3..0bc43aa8 100644 --- a/src/engine/gameManager/PowersManager.java +++ b/src/engine/gameManager/PowersManager.java @@ -495,11 +495,15 @@ public enum PowersManager { } if(!passed){ - if (playerCharacter.getRace().getName().equals("Shade")) { - if(playerCharacter.effects.containsKey("INVIS-B")){ + if (playerCharacter.getRace().getName().contains("Shade")) { + if(playerCharacter.getHidden() > 0){ switch(msg.getPowerUsedID()){ - case 0: - + case -1851459567: + case 2094922127: + case -355707373: + case 246186475: + case 666419835: + case 1480354319: passed = true; break; }