Fixes Mind Maggots giving 1 counter instead of 2 (#10086)

---------

Co-authored-by: Oleg Agafonov <jaydi85@gmail.com>
This commit is contained in:
chesse20 2023-03-04 03:52:27 -08:00 committed by GitHub
parent 5673a59f0e
commit 0a633a8318
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -72,7 +72,7 @@ class MindMaggotsEffect extends OneShotEffect {
} }
TargetCard target = new TargetDiscard(0, Integer.MAX_VALUE, StaticFilters.FILTER_CARD_CREATURE, controller.getId()); TargetCard target = new TargetDiscard(0, Integer.MAX_VALUE, StaticFilters.FILTER_CARD_CREATURE, controller.getId());
controller.choose(outcome, controller.getHand(), target, game); controller.choose(outcome, controller.getHand(), target, game);
int counters = controller.discard(new CardsImpl(target.getTargets()), false, source, game).size(); int counters = controller.discard(new CardsImpl(target.getTargets()), false, source, game).size() * 2;
Permanent permanent = game.getPermanent(source.getSourceId()); Permanent permanent = game.getPermanent(source.getSourceId());
if (permanent == null || counters < 1) { if (permanent == null || counters < 1) {
return true; return true;