mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 21:12:04 -08:00
small fix
This commit is contained in:
parent
40d3e14416
commit
8b09f99708
1 changed files with 3 additions and 3 deletions
|
|
@ -32,17 +32,17 @@ public enum UrzaTerrainValue implements DynamicValue {
|
|||
|
||||
@Override
|
||||
public int calculate(Game game, Ability sourceAbility, Effect effect) {
|
||||
if (subType == SubType.MINE || game.getBattlefield().countAll(
|
||||
if (subType != SubType.MINE && game.getBattlefield().countAll(
|
||||
mineFilter, sourceAbility.getControllerId(), game
|
||||
) < 1) {
|
||||
return 1;
|
||||
}
|
||||
if (subType == SubType.TOWER || game.getBattlefield().countAll(
|
||||
if (subType != SubType.TOWER && game.getBattlefield().countAll(
|
||||
towerFilter, sourceAbility.getControllerId(), game
|
||||
) < 1) {
|
||||
return 1;
|
||||
}
|
||||
if (subType == SubType.POWER_PLANT || game.getBattlefield().countAll(
|
||||
if (subType != SubType.POWER_PLANT && game.getBattlefield().countAll(
|
||||
powerPlantFilter, sourceAbility.getControllerId(), game
|
||||
) < 1) {
|
||||
return 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue