Browse Source

BH eyes get double value for points in skill (20 points = PR40)

lakebane-strongholds
FatBoy-DOTC 2 months ago
parent
commit
bb293c0c02
  1. 6
      src/engine/gameManager/PowersManager.java

6
src/engine/gameManager/PowersManager.java

@ -335,6 +335,12 @@ public enum PowersManager { @@ -335,6 +335,12 @@ public enum PowersManager {
msg.setNumTrains(trains);
}
switch(pb.token){
case 429420458: // BH eyes
msg.setNumTrains(msg.getNumTrains() * 2);
break;
}
// can't go over total trains by player
if (playerCharacter.getPowers() != null && playerCharacter.getPowers().containsKey(msg.getPowerUsedID())) {
CharacterPower cp = playerCharacter.getPowers().get(msg.getPowerUsedID());

Loading…
Cancel
Save