From 0c90164c248b88c4734d584bf1dcb92326bcb5e9 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sun, 8 Sep 2024 16:59:19 -0500 Subject: [PATCH] shade invis bug --- src/engine/gameManager/PowersManager.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/engine/gameManager/PowersManager.java b/src/engine/gameManager/PowersManager.java index f4dbb6a1..597e6510 100644 --- a/src/engine/gameManager/PowersManager.java +++ b/src/engine/gameManager/PowersManager.java @@ -279,6 +279,10 @@ public enum PowersManager { // get power PowersBase pb = PowersManager.powersBaseByToken.get(msg.getPowerUsedID()); + if((pb.token == 429495514 || pb.token == 429407306) && playerCharacter.getRace().getName().toLowerCase().contains("shade")){ + pb = PowersManager.powersBaseByToken.get(429397210); + } + if (pb == null) { ChatManager.chatSayInfo(playerCharacter, "This power is not implemented yet.");