1
0
Fork 0
mirror of https://github.com/correl/mage.git synced 2025-04-03 01:08:59 -09:00
This commit is contained in:
BetaSteward 2010-03-21 03:53:42 +00:00
parent a6b4f00aab
commit 2aaa8312f4

View file

@ -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;