mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
* The Rack - Fixed that it did no damage to the chosen opponent.
This commit is contained in:
parent
d79776e589
commit
024f13ce9a
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ class TheRackEffect extends OneShotEffect {
|
|||
|
||||
@Override
|
||||
public boolean apply(Game game, Ability source) {
|
||||
UUID playerId = (UUID) game.getState().getValue(source.getSourceId().toString() + "_player");
|
||||
UUID playerId = (UUID) game.getState().getValue(source.getSourceId().toString() + ChooseOpponentEffect.VALUE_KEY);
|
||||
Player chosenPlayer = game.getPlayer(playerId);
|
||||
if (chosenPlayer != null) {
|
||||
int damage = 3 - chosenPlayer.getHand().size();
|
||||
|
|
Loading…
Reference in a new issue