mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
Merge origin/master
This commit is contained in:
commit
ea0b13c64f
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ class BalanceOfPowerEffect extends OneShotEffect {
|
||||||
Player player = game.getPlayer(source.getControllerId());
|
Player player = game.getPlayer(source.getControllerId());
|
||||||
Player opponent = game.getPlayer(source.getFirstTarget());
|
Player opponent = game.getPlayer(source.getFirstTarget());
|
||||||
|
|
||||||
if (opponent != null || player != null && opponent.getHand().size() > player.getHand().size()) {
|
if (opponent != null && player != null && opponent.getHand().size() > player.getHand().size()) {
|
||||||
player.drawCards(opponent.getHand().size() - player.getHand().size(), game);
|
player.drawCards(opponent.getHand().size() - player.getHand().size(), game);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue