forked from External/mage
Removed choices that should not be made while casting of a spell.
For example: color choices for protection abilities.
This commit is contained in:
parent
4b4417d88d
commit
9d380331d7
35 changed files with 619 additions and 630 deletions
|
|
@ -49,8 +49,6 @@ import mage.abilities.costs.mana.ManaCostsImpl;
|
|||
import mage.abilities.effects.Effect;
|
||||
import mage.abilities.effects.Effects;
|
||||
import mage.cards.Card;
|
||||
import mage.choices.Choice;
|
||||
import mage.choices.Choices;
|
||||
import mage.constants.AbilityType;
|
||||
import mage.constants.AbilityWord;
|
||||
import mage.constants.CardType;
|
||||
|
|
@ -307,15 +305,6 @@ public class StackAbility extends StackObjImpl implements Ability {
|
|||
return ability.getFirstTarget();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Choices getChoices() {
|
||||
return ability.getChoices();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addChoice(Choice choice) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public ManaCosts<ManaCost> getManaCosts() {
|
||||
return ability.getManaCosts();
|
||||
|
|
@ -354,14 +343,6 @@ public class StackAbility extends StackObjImpl implements Ability {
|
|||
this.expansionSetCode = expansionSetCode;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void adjustChoices(Ability ability, Game game) {
|
||||
Card card = game.getCard(ability.getSourceId());
|
||||
if (card != null) {
|
||||
card.adjustChoices(ability, game);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void adjustCosts(Ability ability, Game game) {
|
||||
Card card = game.getCard(ability.getSourceId());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue