mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
406.3 extended
This commit is contained in:
committed by
Michael Kamensky
parent
c8c90c26ab
commit
a1b3a2e40b
@@ -392,6 +392,9 @@ public class DigEffect extends SpellAbilityEffect {
|
||||
if (sa.hasParam("ExileFaceDown")) {
|
||||
c.turnFaceDown(true);
|
||||
}
|
||||
if (sa.hasParam("WithMayLook")) {
|
||||
c.addMayLookFaceDownExile(c.getOwner());
|
||||
}
|
||||
if (sa.hasParam("Imprint")) {
|
||||
host.addImprintedCard(c);
|
||||
}
|
||||
|
||||
@@ -3253,6 +3253,11 @@ public class Card extends GameEntity implements Comparable<Card>, IHasSVars {
|
||||
return view.mayPlayerLook(player.getView());
|
||||
}
|
||||
|
||||
public final void addMayLookFaceDownExile(final Player p) {
|
||||
mayLookFaceDownExile.add(p);
|
||||
updateMayLook();
|
||||
}
|
||||
|
||||
public final void addMayLookAt(final long timestamp, final Iterable<Player> list) {
|
||||
PlayerCollection plist = new PlayerCollection(list);
|
||||
mayLook.put(timestamp, plist);
|
||||
|
||||
Reference in New Issue
Block a user