mirror of
https://github.com/correl/mage.git
synced 2024-11-25 11:09:53 +00:00
...
This commit is contained in:
parent
a6b4f00aab
commit
2aaa8312f4
1 changed files with 2 additions and 1 deletions
|
@ -217,6 +217,7 @@ public class HumanPlayer extends PlayerImpl {
|
|||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean playXMana(VariableManaCost cost, Game game) {
|
||||
game.firePlayXManaEvent(playerId, "Pay {X}: {X}=" + cost.getValue());
|
||||
waitForResponse();
|
||||
|
@ -272,7 +273,7 @@ public class HumanPlayer extends PlayerImpl {
|
|||
}
|
||||
|
||||
protected boolean selectDefender(List<UUID> defenders, UUID attackerId, Game game) {
|
||||
TargetDefender target = new TargetDefender(defenders);
|
||||
TargetDefender target = new TargetDefender(defenders, attackerId);
|
||||
if (chooseTarget(Outcome.Damage, target, game)) {
|
||||
declareAttacker(attackerId, response.getUUID(), game);
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue