mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- Fixed MustBlockCards not being checked for still attacking.
This commit is contained in:
@@ -530,7 +530,8 @@ public class CombatUtil {
|
||||
|
||||
if (blocker.getMustBlockCards() != null) {
|
||||
for (final Card attacker : blocker.getMustBlockCards()) {
|
||||
if (CombatUtil.canBeBlocked(attacker, combat) && CombatUtil.canBlock(attacker, blocker)) {
|
||||
if (CombatUtil.canBeBlocked(attacker, combat) && CombatUtil.canBlock(attacker, blocker)
|
||||
&& combat.isAttacking(attacker)) {
|
||||
boolean canBe = true;
|
||||
if (attacker.hasKeyword("CARDNAME can't be blocked except by two or more creatures.")) {
|
||||
final List<Card> blockers = combat.getDefenderPlayerByAttacker(attacker).getCreaturesInPlay();
|
||||
|
||||
Reference in New Issue
Block a user