mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
Merge branch 'vancouver-mulligan' into 'master'
Vancouver mulligan only allows to scry if the mulligan actually happened See merge request core-developers/forge!1727
This commit is contained in:
@@ -2,6 +2,7 @@ package forge.game.mulligan;
|
|||||||
|
|
||||||
import com.google.common.collect.ImmutableList;
|
import com.google.common.collect.ImmutableList;
|
||||||
import forge.game.player.Player;
|
import forge.game.player.Player;
|
||||||
|
import forge.game.zone.ZoneType;
|
||||||
|
|
||||||
public class VancouverMulligan extends ParisMulligan {
|
public class VancouverMulligan extends ParisMulligan {
|
||||||
public VancouverMulligan(Player p, boolean firstMullFree) {
|
public VancouverMulligan(Player p, boolean firstMullFree) {
|
||||||
@@ -10,6 +11,8 @@ public class VancouverMulligan extends ParisMulligan {
|
|||||||
|
|
||||||
public void afterMulligan() {
|
public void afterMulligan() {
|
||||||
super.afterMulligan();
|
super.afterMulligan();
|
||||||
|
if (player.getStartingHandSize() > player.getZone(ZoneType.Hand).size()) {
|
||||||
player.getGame().getAction().scry(ImmutableList.of(player), 1, null);
|
player.getGame().getAction().scry(ImmutableList.of(player), 1, null);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user