mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
Merge branch 'master' into master2
This commit is contained in:
@@ -26,7 +26,9 @@ public abstract class ManifestBaseEffect extends SpellAbilityEffect {
|
|||||||
final Game game = source.getGame();
|
final Game game = source.getGame();
|
||||||
// Usually a number leaving possibility for X, Sacrifice X land: Manifest X creatures.
|
// 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 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")) {
|
for (final Player p : getTargetPlayers(sa, "DefinedPlayer")) {
|
||||||
CardCollection tgtCards;
|
CardCollection tgtCards;
|
||||||
Card toGrave = null;
|
Card toGrave = null;
|
||||||
@@ -94,6 +96,7 @@ public abstract class ManifestBaseEffect extends SpellAbilityEffect {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
abstract protected String getDefaultMessage();
|
abstract protected String getDefaultMessage();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user