Allowed choosing X=0 to act as an attack cost

This commit is contained in:
Zzooouhh 2017-11-03 19:15:35 +01:00 committed by GitHub
parent b352a31852
commit 4176b35f2a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -86,7 +86,6 @@ class WarTaxReplacementEffect extends ReplacementEffectImpl {
Player player = game.getPlayer(event.getPlayerId());
if (player != null) {
int amount = xCosts.calculate(game, source, this);
if (amount > 0) {
String mana = "{" + amount + '}';
ManaCostsImpl cost = new ManaCostsImpl(mana);
if (cost.canPay(source, source.getSourceId(), event.getPlayerId(), game)
@ -97,7 +96,6 @@ class WarTaxReplacementEffect extends ReplacementEffectImpl {
}
return true;
}
}
return false;
}