mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
fixed Myr Battlesphere not damaging its defender
This commit is contained in:
parent
90e9a21aa5
commit
275a70b217
1 changed files with 2 additions and 2 deletions
|
@ -150,7 +150,7 @@ class MyrBattlesphereEffect extends OneShotEffect {
|
|||
if (controller != null) {
|
||||
Permanent myr = game.getPermanentOrLKIBattlefield(source.getSourceId());
|
||||
int tappedAmount = 0;
|
||||
TargetPermanent target = new TargetPermanent(0, 1, filter, false);
|
||||
TargetPermanent target = new TargetPermanent(0, 1, filter, true);
|
||||
while (true && controller.canRespond()) {
|
||||
target.clearChosen();
|
||||
if (target.canChoose(source.getControllerId(), game)) {
|
||||
|
@ -175,7 +175,7 @@ class MyrBattlesphereEffect extends OneShotEffect {
|
|||
// boost effect
|
||||
game.addEffect(new BoostSourceEffect(tappedAmount, 0, Duration.EndOfTurn), source);
|
||||
// damage to defender
|
||||
return game.damagePlayerOrPlaneswalker(source.getFirstTarget(), tappedAmount, myr.getId(), game, false, true) > 0;
|
||||
return game.damagePlayerOrPlaneswalker(targetPointer.getFirst(game, source), tappedAmount, myr.getId(), game, false, true) > 0;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue