Browse Source

shade invis bug

lakebane-strongholds
FatBoy-DOTC 3 months ago
parent
commit
0c90164c24
  1. 4
      src/engine/gameManager/PowersManager.java

4
src/engine/gameManager/PowersManager.java

@ -279,6 +279,10 @@ public enum PowersManager {
// get power // get power
PowersBase pb = PowersManager.powersBaseByToken.get(msg.getPowerUsedID()); 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) { if (pb == null) {
ChatManager.chatSayInfo(playerCharacter, ChatManager.chatSayInfo(playerCharacter,
"This power is not implemented yet."); "This power is not implemented yet.");

Loading…
Cancel
Save