Fixed Urza's Power Plant subtype and UrzaTerrainValue subtype check to Urza's Power-Plant

This commit is contained in:
fireshoes 2015-01-15 18:20:36 -06:00
parent 4df66354d8
commit 97f668d9b5
2 changed files with 2 additions and 2 deletions

View file

@ -42,7 +42,7 @@ import mage.cards.CardImpl;
*/
public class UrzasPowerPlant extends CardImpl {
public UrzasPowerPlant(UUID ownerId) {
super(ownerId, 448, "Urza's Power Plant", Rarity.COMMON, new CardType[]{CardType.LAND}, "");
super(ownerId, 448, "Urza's Power-Plant", Rarity.COMMON, new CardType[]{CardType.LAND}, "");
this.subtype.add("Urza's Power Plant");
this.expansionSetCode = "5ED";

View file

@ -17,7 +17,7 @@ public class UrzaTerrainValue implements DynamicValue {
@Override
public int calculate(Game game, Ability sourceAbility, Effect effect) {
FilterControlledPermanent pp = new FilterControlledPermanent("Urza's Power Plant");
pp.add(new SubtypePredicate("Urza's Power Plant"));
pp.add(new SubtypePredicate("Urza's Power-Plant"));
PermanentsOnBattlefieldCount ppP = new PermanentsOnBattlefieldCount(pp);
if (ppP.calculate(game, sourceAbility, effect) < 1)
{