mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
- Added a possibility to preserve human/AI life amount in the Setup Battlefield dev command.
This commit is contained in:
@@ -1213,8 +1213,10 @@ public class GuiDisplay3 extends JFrame implements CardContainer, Display, NewCo
|
||||
if (humanDevHandSetup.size() > 0)
|
||||
AllZone.Human_Hand.setCards(humanDevHandSetup.toArray());
|
||||
|
||||
AllZone.ComputerPlayer.setLife(setComputerLife, null);
|
||||
AllZone.HumanPlayer.setLife(setHumanLife, null);
|
||||
if (setComputerLife > 0)
|
||||
AllZone.ComputerPlayer.setLife(setComputerLife, null);
|
||||
if (setHumanLife > 0)
|
||||
AllZone.HumanPlayer.setLife(setHumanLife, null);
|
||||
|
||||
AllZone.GameAction.checkStateEffects();
|
||||
}
|
||||
|
||||
@@ -1200,8 +1200,10 @@ public class GuiDisplay4 extends JFrame implements CardContainer, Display, NewCo
|
||||
if (humanDevHandSetup.size() > 0)
|
||||
AllZone.Human_Hand.setCards(humanDevHandSetup.toArray());
|
||||
|
||||
AllZone.ComputerPlayer.setLife(setComputerLife, null);
|
||||
AllZone.HumanPlayer.setLife(setHumanLife, null);
|
||||
if (setComputerLife > 0)
|
||||
AllZone.ComputerPlayer.setLife(setComputerLife, null);
|
||||
if (setHumanLife > 0)
|
||||
AllZone.HumanPlayer.setLife(setHumanLife, null);
|
||||
|
||||
AllZone.GameAction.checkStateEffects();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user