mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- Fix for canCastSorcery() incorrectly returning true during Opponents 2nd main phase.
This commit is contained in:
@@ -598,8 +598,8 @@ public class Phase extends MyObservable
|
|||||||
|
|
||||||
public static boolean canCastSorcery(Player player)
|
public static boolean canCastSorcery(Player player)
|
||||||
{
|
{
|
||||||
return ((AllZone.Phase.getPhase().equals(Constant.Phase.Main2) || (AllZone.Phase.getPhase().equals(Constant.Phase.Main1))
|
return AllZone.Phase.isPlayerTurn(player) && (AllZone.Phase.getPhase().equals(Constant.Phase.Main2) ||
|
||||||
&& AllZone.Phase.isPlayerTurn(player)) && AllZone.Stack.size() == 0);
|
AllZone.Phase.getPhase().equals(Constant.Phase.Main1)) && AllZone.Stack.size() == 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static boolean canPlayDuringCombat() {
|
public static boolean canPlayDuringCombat() {
|
||||||
|
|||||||
Reference in New Issue
Block a user