mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
- Fixed a bug with the MustBeBlocked SVar.
This commit is contained in:
@@ -1138,7 +1138,7 @@ public class CombatUtil {
|
|||||||
final CardList blockers = combat.getBlockers(attacker);
|
final CardList blockers = combat.getBlockers(attacker);
|
||||||
|
|
||||||
if (blockers.size() == 0) {
|
if (blockers.size() == 0) {
|
||||||
if (attacker.getSVar("MustBeBlocked") != null) {
|
if (!attacker.getSVar("MustBeBlocked").equals("")) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1192,7 +1192,7 @@ public class CombatUtil {
|
|||||||
final CardList blockers = combat.getBlockers(attacker);
|
final CardList blockers = combat.getBlockers(attacker);
|
||||||
|
|
||||||
if (blockers.size() == 0) {
|
if (blockers.size() == 0) {
|
||||||
if (attacker.getSVar("MustBeBlocked") != null) {
|
if (!attacker.getSVar("MustBeBlocked").equals("")) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user