forked from External/mage
Target refactoring. Fixed Issue 273.
This commit is contained in:
parent
c3a5910976
commit
82dcb53cb9
52 changed files with 63 additions and 55 deletions
|
|
@ -136,7 +136,7 @@ class SmallpoxEffect extends OneShotEffect<SmallpoxEffect> {
|
|||
Target target = new TargetControlledPermanent(1, 1, filter, false);
|
||||
if (target.canChoose(player.getId(), game)) {
|
||||
while (!target.isChosen() && target.canChoose(player.getId(), game)) {
|
||||
player.choose(Constants.Outcome.Sacrifice, target, game);
|
||||
player.choose(Constants.Outcome.Sacrifice, target, source.getSourceId(), game);
|
||||
}
|
||||
|
||||
for ( int idx = 0; idx < target.getTargets().size(); idx++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue