mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
Practical improvement for Drought
The caster now can cancel the payment at the "Sacrifice a swamp" phase
This commit is contained in:
parent
e7546b9e33
commit
9e813935db
1 changed files with 3 additions and 1 deletions
|
@ -101,7 +101,9 @@ class DroughtAdditionalCostEffect extends CostModificationEffectImpl {
|
|||
@Override
|
||||
public boolean apply(Game game, Ability source, Ability abilityToModify) {
|
||||
int blackSymbols = abilityToModify.getManaCosts().getMana().getBlack();
|
||||
abilityToModify.addCost(new SacrificeTargetCost(new TargetControlledPermanent(blackSymbols, blackSymbols, filter, true)));
|
||||
TargetControlledPermanent target = new TargetControlledPermanent(blackSymbols, blackSymbols, filter, true);
|
||||
target.setRequired(false);
|
||||
abilityToModify.addCost(new SacrificeTargetCost(target));
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue