Added new method for discarding cards to handle batch triggers (ready for review) (#6489)

* added new discard method

* started refactoring to use new discard method

* refactored A through I

* fixed some issues

* separated balance effect into its own class

* refactored J through R

* refactored S through Z

* applied requested changes
This commit is contained in:
Evan Kranzler 2020-05-03 14:35:26 -04:00 committed by GitHub
parent 2739391b1d
commit 75577cdbe9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
68 changed files with 1290 additions and 1953 deletions

View file

@ -412,6 +412,8 @@ public interface Player extends MageItem, Copyable<Player> {
Cards discard(int amount, boolean random, Ability source, Game game);
Cards discard(Cards cards, Ability source, Game game);
void discardToMax(Game game);
boolean discard(Card card, Ability source, Game game);