mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 02:38:02 +00:00
Fixed the cut to card returning back to the library if it was in the opening hand.
This commit is contained in:
@@ -1368,6 +1368,8 @@ public class GameAction {
|
||||
return;
|
||||
}
|
||||
Cut_Count = Cut_Count + 1;
|
||||
AllZone.GameAction.moveTo(AllZone.getZone(Constant.Zone.Library, Constant.Player.Human),AllZone.GameAction.HumanCut);
|
||||
AllZone.GameAction.moveTo(AllZone.getZone(Constant.Zone.Library, Constant.Player.Computer),AllZone.GameAction.ComputerCut);
|
||||
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("Human cut his / her deck to : " + HumanCut.getName() + " (" + HumanCut.getManaCost() + ")" + "\r\n");
|
||||
|
||||
@@ -83,7 +83,8 @@ public class Input_Mulligan extends Input {
|
||||
}
|
||||
|
||||
}
|
||||
if(AllZone.GameAction.Start_Cut == true) {
|
||||
if(AllZone.GameAction.Start_Cut == true && !(HHandList.contains(AllZone.GameAction.HumanCut)
|
||||
|| CHandList.contains(AllZone.GameAction.ComputerCut))) {
|
||||
AllZone.GameAction.moveTo(AllZone.getZone(Constant.Zone.Library, Constant.Player.Human),AllZone.GameAction.HumanCut);
|
||||
AllZone.GameAction.moveTo(AllZone.getZone(Constant.Zone.Library, Constant.Player.Computer),AllZone.GameAction.ComputerCut);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user