- Added a possibility to preserve human/AI life amount in the Setup Battlefield dev command.

This commit is contained in:
jendave
2011-08-07 00:42:23 +00:00
parent b067e21429
commit d4becd25d1
2 changed files with 8 additions and 4 deletions

View File

@@ -1213,7 +1213,9 @@ public class GuiDisplay3 extends JFrame implements CardContainer, Display, NewCo
if (humanDevHandSetup.size() > 0)
AllZone.Human_Hand.setCards(humanDevHandSetup.toArray());
if (setComputerLife > 0)
AllZone.ComputerPlayer.setLife(setComputerLife, null);
if (setHumanLife > 0)
AllZone.HumanPlayer.setLife(setHumanLife, null);
AllZone.GameAction.checkStateEffects();

View File

@@ -1200,7 +1200,9 @@ public class GuiDisplay4 extends JFrame implements CardContainer, Display, NewCo
if (humanDevHandSetup.size() > 0)
AllZone.Human_Hand.setCards(humanDevHandSetup.toArray());
if (setComputerLife > 0)
AllZone.ComputerPlayer.setLife(setComputerLife, null);
if (setHumanLife > 0)
AllZone.HumanPlayer.setLife(setHumanLife, null);
AllZone.GameAction.checkStateEffects();