From 73dcb3ff224a2746bfae2c42d86853c6822c2a8d Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Fri, 16 Mar 2018 20:14:28 +0100 Subject: [PATCH] * Skyshrout War Beast - Fixed wrong P/T calculation because of wrong land filter. --- Mage.Sets/src/mage/cards/s/SkyshroudWarBeast.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Mage.Sets/src/mage/cards/s/SkyshroudWarBeast.java b/Mage.Sets/src/mage/cards/s/SkyshroudWarBeast.java index 7972d4fe37..f74d9cb92d 100644 --- a/Mage.Sets/src/mage/cards/s/SkyshroudWarBeast.java +++ b/Mage.Sets/src/mage/cards/s/SkyshroudWarBeast.java @@ -46,7 +46,8 @@ import mage.constants.Outcome; import mage.constants.SubLayer; import mage.constants.SubType; import mage.constants.Zone; -import mage.filter.StaticFilters; +import mage.filter.common.FilterLandPermanent; +import mage.filter.predicate.permanent.ControllerIdPredicate; import mage.game.Game; import mage.players.Player; @@ -106,7 +107,9 @@ class SkyshroudWarBeastEffect extends ContinuousEffectImpl { MageObject target = game.getObject(source.getSourceId()); if (target != null) { UUID playerId = (UUID) game.getState().getValue(source.getSourceId().toString() + ChooseOpponentEffect.VALUE_KEY); - int number = new PermanentsOnBattlefieldCount(StaticFilters.FILTER_LANDS_NONBASIC).calculate(game, source, this); + FilterLandPermanent filter = FilterLandPermanent.nonbasicLand(); + filter.add(new ControllerIdPredicate(playerId)); + int number = new PermanentsOnBattlefieldCount(filter).calculate(game, source, this); target.getPower().setValue(number); target.getToughness().setValue(number); return true;