Prevent using Shift+click to attack with cards that have summoning sickness

This commit is contained in:
drdev
2014-11-27 03:55:33 +00:00
parent 2b4cba7e14
commit 4990887b98

View File

@@ -180,7 +180,9 @@ public class InputAttack extends InputSyncronizedBase {
declareAttacker(card);
if (otherCardsToSelect != null) {
for (Card c : otherCardsToSelect) {
declareAttacker(c);
if (activeBand.canJoinBand(c)) {
declareAttacker(c);
}
}
}
}
@@ -220,7 +222,9 @@ public class InputAttack extends InputSyncronizedBase {
declareAttacker(card);
if (otherCardsToSelect != null) {
for (Card c : otherCardsToSelect) {
declareAttacker(c);
if (CombatUtil.canAttack(c, currentDefender)) {
declareAttacker(c);
}
}
}