mirror of
https://github.com/magefree/mage.git
synced 2026-01-26 21:29:17 -08:00
simplified and condensed various effects which discard variable amounts of cards
This commit is contained in:
parent
6c54dde7d2
commit
97af948932
15 changed files with 163 additions and 364 deletions
|
|
@ -2841,6 +2841,11 @@ public class TestPlayer implements Player {
|
|||
return computerPlayer.discard(amount, random, payForCost, source, game);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Cards discard(int minAmount, int maxAmount, boolean payForCost, Ability source, Game game) {
|
||||
return computerPlayer.discard(minAmount, maxAmount, payForCost, source, game);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Cards discard(Cards cards, boolean payForCost, Ability source, Game game) {
|
||||
return computerPlayer.discard(cards, payForCost, source, game);
|
||||
|
|
|
|||
|
|
@ -664,6 +664,11 @@ public class PlayerStub implements Player {
|
|||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Cards discard(int minAmount, int maxAmount, boolean payForCost, Ability source, Game game) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void discardToMax(Game game) {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue