mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 12:52:06 -08:00
rewrote how coins are flipped
This commit is contained in:
parent
f5fffcf417
commit
535fe221e3
64 changed files with 157 additions and 86 deletions
|
|
@ -2609,13 +2609,13 @@ public class TestPlayer implements Player {
|
|||
}
|
||||
|
||||
@Override
|
||||
public boolean flipCoin(Game game, boolean winnable) {
|
||||
return computerPlayer.flipCoin(game, true);
|
||||
public boolean flipCoin(Ability source, Game game, boolean winnable) {
|
||||
return computerPlayer.flipCoin(source, game, true);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean flipCoin(Game game, boolean winnable, ArrayList<UUID> appliedEffects) {
|
||||
return computerPlayer.flipCoin(game, true, appliedEffects);
|
||||
public boolean flipCoin(Ability source, Game game, boolean winnable, ArrayList<UUID> appliedEffects) {
|
||||
return computerPlayer.flipCoin(source, game, true, appliedEffects);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
|
|
@ -642,12 +642,12 @@ public class PlayerStub implements Player {
|
|||
}
|
||||
|
||||
@Override
|
||||
public boolean flipCoin(Game game, boolean winnable) {
|
||||
public boolean flipCoin(Ability source, Game game, boolean winnable) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean flipCoin(Game game, boolean winnable, ArrayList<UUID> appliedEffects) {
|
||||
public boolean flipCoin(Ability source, Game game, boolean winnable, ArrayList<UUID> appliedEffects) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue