mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
Fixed Urza's Power Plant subtype and UrzaTerrainValue subtype check to Urza's Power-Plant
This commit is contained in:
parent
4df66354d8
commit
97f668d9b5
2 changed files with 2 additions and 2 deletions
|
@ -42,7 +42,7 @@ import mage.cards.CardImpl;
|
||||||
*/
|
*/
|
||||||
public class UrzasPowerPlant extends CardImpl {
|
public class UrzasPowerPlant extends CardImpl {
|
||||||
public UrzasPowerPlant(UUID ownerId) {
|
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.subtype.add("Urza's Power Plant");
|
||||||
this.expansionSetCode = "5ED";
|
this.expansionSetCode = "5ED";
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@ public class UrzaTerrainValue implements DynamicValue {
|
||||||
@Override
|
@Override
|
||||||
public int calculate(Game game, Ability sourceAbility, Effect effect) {
|
public int calculate(Game game, Ability sourceAbility, Effect effect) {
|
||||||
FilterControlledPermanent pp = new FilterControlledPermanent("Urza's Power Plant");
|
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);
|
PermanentsOnBattlefieldCount ppP = new PermanentsOnBattlefieldCount(pp);
|
||||||
if (ppP.calculate(game, sourceAbility, effect) < 1)
|
if (ppP.calculate(game, sourceAbility, effect) < 1)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue