mirror of
https://github.com/magefree/mage.git
synced 2025-12-26 21:42:07 -08:00
[M20] fixed Flood of Tears counting tokens (fixes #7226)
This commit is contained in:
parent
8223cc9d51
commit
e6c79b94d9
1 changed files with 2 additions and 2 deletions
|
|
@ -13,7 +13,7 @@ import mage.constants.Zone;
|
|||
import mage.filter.StaticFilters;
|
||||
import mage.game.Game;
|
||||
import mage.game.permanent.Permanent;
|
||||
import mage.game.permanent.token.Token;
|
||||
import mage.game.permanent.PermanentToken;
|
||||
import mage.players.Player;
|
||||
|
||||
import java.util.List;
|
||||
|
|
@ -73,7 +73,7 @@ class FloodOfTearsEffect extends OneShotEffect {
|
|||
nonlands.forEach(cards::add);
|
||||
boolean putIntoPlay = nonlands.stream()
|
||||
.filter(permanent -> permanent.isControlledBy(player.getId()))
|
||||
.filter(permanent -> !(permanent instanceof Token))
|
||||
.filter(permanent -> !(permanent instanceof PermanentToken))
|
||||
.count() > 3;
|
||||
player.moveCards(cards, Zone.HAND, source, game);
|
||||
if (putIntoPlay) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue