Merge branch 'master' into master2

This commit is contained in:
Anthony Calosa
2024-09-10 16:37:59 +08:00

View File

@@ -26,7 +26,9 @@ public abstract class ManifestBaseEffect extends SpellAbilityEffect {
final Game game = source.getGame();
// Usually a number leaving possibility for X, Sacrifice X land: Manifest X creatures.
final int amount = sa.hasParam("Amount") ? AbilityUtils.calculateAmount(source, sa.getParam("Amount"), sa) : 1;
final int times = sa.hasParam("Times") ? AbilityUtils.calculateAmount(source, sa.getParam("Times"), sa) : 1;
for (int i = 0; i < times; i++) {
for (final Player p : getTargetPlayers(sa, "DefinedPlayer")) {
CardCollection tgtCards;
Card toGrave = null;
@@ -94,6 +96,7 @@ public abstract class ManifestBaseEffect extends SpellAbilityEffect {
}
}
}
}
abstract protected String getDefaultMessage();