mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 10:18:01 +00:00
Add "ImprintFound" to DigUntilEffect
This commit is contained in:
@@ -97,6 +97,7 @@ public class DigUntilEffect extends SpellAbilityEffect {
|
|||||||
}
|
}
|
||||||
|
|
||||||
final boolean remember = sa.hasParam("RememberFound");
|
final boolean remember = sa.hasParam("RememberFound");
|
||||||
|
final boolean imprint = sa.hasParam("ImprintFound");
|
||||||
|
|
||||||
final ZoneType foundDest = ZoneType.smartValueOf(sa.getParam("FoundDestination"));
|
final ZoneType foundDest = ZoneType.smartValueOf(sa.getParam("FoundDestination"));
|
||||||
final int foundLibPos = AbilityUtils.calculateAmount(host, sa.getParam("FoundLibraryPosition"), sa);
|
final int foundLibPos = AbilityUtils.calculateAmount(host, sa.getParam("FoundLibraryPosition"), sa);
|
||||||
@@ -135,6 +136,9 @@ public class DigUntilEffect extends SpellAbilityEffect {
|
|||||||
if (remember) {
|
if (remember) {
|
||||||
host.addRemembered(c);
|
host.addRemembered(c);
|
||||||
}
|
}
|
||||||
|
if (imprint) {
|
||||||
|
host.addImprintedCard(c);
|
||||||
|
}
|
||||||
if (found.size() == untilAmount) {
|
if (found.size() == untilAmount) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user