mirror of
https://github.com/correl/mage.git
synced 2025-04-10 01:01:05 -09:00
Typo
This commit is contained in:
parent
0fa4ee677e
commit
5c004687fc
1 changed files with 6 additions and 6 deletions
|
@ -603,8 +603,8 @@ public class ComputerPlayer6 extends ComputerPlayer /*implements Player*/ {
|
||||||
String rule2 = ability2.toString();
|
String rule2 = ability2.toString();
|
||||||
|
|
||||||
// pass
|
// pass
|
||||||
boolean pass1 = rule1.equals("Pass");
|
boolean pass1 = rule1.startsWith("Pass");
|
||||||
boolean pass2 = rule2.equals("Pass");
|
boolean pass2 = rule2.startsWith("Pass");
|
||||||
if (pass1 != pass2) {
|
if (pass1 != pass2) {
|
||||||
if (pass1) {
|
if (pass1) {
|
||||||
return 1;
|
return 1;
|
||||||
|
@ -614,8 +614,8 @@ public class ComputerPlayer6 extends ComputerPlayer /*implements Player*/ {
|
||||||
}
|
}
|
||||||
|
|
||||||
// play
|
// play
|
||||||
boolean play1 = rule1.equals("Play");
|
boolean play1 = rule1.startsWith("Play");
|
||||||
boolean play2 = rule2.equals("Play");
|
boolean play2 = rule2.startsWith("Play");
|
||||||
if (play1 != play2) {
|
if (play1 != play2) {
|
||||||
if (play1) {
|
if (play1) {
|
||||||
return -1;
|
return -1;
|
||||||
|
@ -625,8 +625,8 @@ public class ComputerPlayer6 extends ComputerPlayer /*implements Player*/ {
|
||||||
}
|
}
|
||||||
|
|
||||||
// cast
|
// cast
|
||||||
boolean cast1 = rule1.equals("Cast");
|
boolean cast1 = rule1.startsWith("Cast");
|
||||||
boolean cast2 = rule2.equals("Cast");
|
boolean cast2 = rule2.startsWith("Cast");
|
||||||
if (cast1 != cast2) {
|
if (cast1 != cast2) {
|
||||||
if (cast1) {
|
if (cast1) {
|
||||||
return -1;
|
return -1;
|
||||||
|
|
Loading…
Add table
Reference in a new issue