mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
CountersPutOrRemoveEffect: refactor to use better methods
CountersPutOrRemoveAI: use better logic to check when its good to remove a counter and when not PlayerController: add chooseBinary with Params, use it for AddOrRemove. no need for chooseAndRemoveOrPutCounter
This commit is contained in:
@@ -57,7 +57,6 @@ import forge.game.spellability.Spell;
|
||||
import forge.game.spellability.SpellAbility;
|
||||
import forge.game.spellability.SpellAbilityStackInstance;
|
||||
import forge.game.spellability.TargetChoices;
|
||||
import forge.game.trigger.Trigger;
|
||||
import forge.game.trigger.WrappedAbility;
|
||||
import forge.game.zone.ZoneType;
|
||||
import forge.gamesimulationtests.util.card.CardSpecification;
|
||||
@@ -294,11 +293,6 @@ public class PlayerControllerForTests extends PlayerController {
|
||||
return chooseItem(manaChoices);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Pair<CounterType, String> chooseAndRemoveOrPutCounter(Card cardWithCounter) {
|
||||
throw new IllegalStateException("Erring on the side of caution here...");
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean confirmReplacementEffect(ReplacementEffect replacementEffect, SpellAbility effectSA, String question) {
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user