mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
Merge pull request #1901 from KWottrich/fix-balance-of-power-1
Fix "Balance of Power" Effect Logic
This commit is contained in:
commit
016ff04a11
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ class BalanceOfPowerEffect extends OneShotEffect {
|
|||
Player player = game.getPlayer(source.getControllerId());
|
||||
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);
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue