mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00:00
fixed Call of the Death-Dweller ability counter order
This commit is contained in:
parent
7f32ea0be2
commit
862cdf5420
1 changed files with 4 additions and 4 deletions
|
@ -93,21 +93,21 @@ class CallOfTheDeathDwellerEffect extends OneShotEffect {
|
|||
if (predicates.isEmpty()) {
|
||||
return false;
|
||||
}
|
||||
FilterPermanent filter = new FilterPermanent("creature to put a menace counter on");
|
||||
FilterPermanent filter = new FilterPermanent("creature to put a deathtouch counter on");
|
||||
filter.add(Predicates.or(predicates));
|
||||
Target target = new TargetPermanent(0, 1, filter, true);
|
||||
if (player.choose(outcome, target, source.getSourceId(), game)) {
|
||||
Permanent permanent = game.getPermanent(target.getFirstTarget());
|
||||
if (permanent != null) {
|
||||
permanent.addCounters(CounterType.MENACE.createInstance(), source, game);
|
||||
permanent.addCounters(CounterType.DEATHTOUCH.createInstance(), source, game);
|
||||
}
|
||||
}
|
||||
filter.setMessage("creature to put a deathtouch counter on");
|
||||
filter.setMessage("creature to put a menace counter on");
|
||||
target = new TargetPermanent(0, 1, filter, true);
|
||||
if (player.choose(outcome, target, source.getSourceId(), game)) {
|
||||
Permanent permanent = game.getPermanent(target.getFirstTarget());
|
||||
if (permanent != null) {
|
||||
permanent.addCounters(CounterType.DEATHTOUCH.createInstance(), source, game);
|
||||
permanent.addCounters(CounterType.MENACE.createInstance(), source, game);
|
||||
}
|
||||
}
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue