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 imprint = sa.hasParam("ImprintFound");
|
||||
|
||||
final ZoneType foundDest = ZoneType.smartValueOf(sa.getParam("FoundDestination"));
|
||||
final int foundLibPos = AbilityUtils.calculateAmount(host, sa.getParam("FoundLibraryPosition"), sa);
|
||||
@@ -135,6 +136,9 @@ public class DigUntilEffect extends SpellAbilityEffect {
|
||||
if (remember) {
|
||||
host.addRemembered(c);
|
||||
}
|
||||
if (imprint) {
|
||||
host.addImprintedCard(c);
|
||||
}
|
||||
if (found.size() == untilAmount) {
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user