Skip to content

Commit

Permalink
* Flood of Tears - fixed not working ability (#5877);
Browse files Browse the repository at this point in the history
  • Loading branch information
JayDi85 committed Jul 5, 2019
1 parent e195bdd commit 251bd41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Mage.Sets/src/mage/cards/f/FloodOfTears.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public FloodOfTears copy() {
class FloodOfTearsEffect extends OneShotEffect {

FloodOfTearsEffect() {
super(Outcome.Benefit);
super(Outcome.Detriment);
staticText = "Return all nonland permanents to their owners' hands. If you return four or more nontoken permanents you control this way,"
+ " you may put a permanent card from your hand onto the battlefield.";
}
Expand All @@ -69,7 +69,7 @@ public boolean apply(Game game, Ability source) {
StaticFilters.FILTER_PERMANENT_NON_LAND, source.getControllerId(), source.getSourceId(), game
);
Cards cards = new CardsImpl();
if (cards.size() > 0) {
if (nonlands.size() > 0) {
nonlands.stream().forEach(permanent -> cards.add(permanent));
boolean putIntoPlay = nonlands.stream()
.filter(permanent -> permanent.isControlledBy(player.getId()))
Expand Down

0 comments on commit 251bd41

Please sign in to comment.