From 3dc7f7c9ed855b64bbcec05cae1bbd1bffddefcc Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Wed, 14 Feb 2024 18:19:42 -0600 Subject: [PATCH] remove combat/nocombat requirement form powers --- src/engine/gameManager/PowersManager.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/engine/gameManager/PowersManager.java b/src/engine/gameManager/PowersManager.java index b66f1dd0..b9922944 100644 --- a/src/engine/gameManager/PowersManager.java +++ b/src/engine/gameManager/PowersManager.java @@ -297,15 +297,15 @@ public enum PowersManager { int time = pb.getRecycleTime(trains); // verify player is in correct mode (combat/nonCombat) - if (playerCharacter.isCombat()) { - if (!pb.allowedInCombat()) + //if (playerCharacter.isCombat()) { + // if (!pb.allowedInCombat()) // ChatManager.chatPowerError(pc, // "This power is not allowed in combat mode."); - return true; - } else if (!pb.allowedOutOfCombat()) + // return true; + //} else if (!pb.allowedOutOfCombat()) // ChatManager.chatPowerError(pc, // "You must be in combat mode to use this power."); - return true; + // return true; // verify player is not stunned or prohibited from casting PlayerBonuses bonus = playerCharacter.getBonuses();