Refactor: move player.damage params to default (same as permanent.damage);

This commit is contained in:
Oleg Agafonov 2020-01-14 09:15:33 +04:00
parent 76387057b7
commit 11976b5c89
228 changed files with 1104 additions and 1454 deletions

View file

@ -43,7 +43,7 @@ public class DamageWithPowerFromOneToAnotherTargetEffect extends OneShotEffect {
anotherPermanent.damage(myPermanent.getPower().getValue(), myPermanent.getId(), game, false, true);
return true;
} else if (myPermanent != null && anotherPlayer != null) {
anotherPlayer.damage(myPermanent.getPower().getValue(), myPermanent.getId(), game, false, true);
anotherPlayer.damage(myPermanent.getPower().getValue(), myPermanent.getId(), game);
return true;
}
return false;