mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
Prevent using Shift+click to attack with cards that have summoning sickness
This commit is contained in:
@@ -180,7 +180,9 @@ public class InputAttack extends InputSyncronizedBase {
|
|||||||
declareAttacker(card);
|
declareAttacker(card);
|
||||||
if (otherCardsToSelect != null) {
|
if (otherCardsToSelect != null) {
|
||||||
for (Card c : otherCardsToSelect) {
|
for (Card c : otherCardsToSelect) {
|
||||||
declareAttacker(c);
|
if (activeBand.canJoinBand(c)) {
|
||||||
|
declareAttacker(c);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -220,7 +222,9 @@ public class InputAttack extends InputSyncronizedBase {
|
|||||||
declareAttacker(card);
|
declareAttacker(card);
|
||||||
if (otherCardsToSelect != null) {
|
if (otherCardsToSelect != null) {
|
||||||
for (Card c : otherCardsToSelect) {
|
for (Card c : otherCardsToSelect) {
|
||||||
declareAttacker(c);
|
if (CombatUtil.canAttack(c, currentDefender)) {
|
||||||
|
declareAttacker(c);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user