mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 04:52:07 -08:00
fixed battlebond land implementation
This commit is contained in:
parent
54bd43b4f6
commit
082adcfc75
6 changed files with 15 additions and 15 deletions
|
|
@ -36,9 +36,9 @@ import java.util.UUID;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author fireshoes
|
||||
* @author TheElk801
|
||||
*/
|
||||
public enum TwoOrMoreOpponentsCondition implements Condition {
|
||||
public enum OneOpponentCondition implements Condition {
|
||||
|
||||
instance;
|
||||
|
||||
|
|
@ -52,16 +52,16 @@ public enum TwoOrMoreOpponentsCondition implements Condition {
|
|||
if (opponent != null) {
|
||||
opponentCount++;
|
||||
if (opponentCount > 1) {
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "you have two or more opponents";
|
||||
return "you have one opponent";
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue