mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
- Fixed logic in CombatUtil#canBlock
This commit is contained in:
@@ -992,7 +992,7 @@ public class CombatUtil {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
for (String keyword : attacker.getKeywords()) {
|
for (String keyword : blocker.getKeywords()) {
|
||||||
if (keyword.startsWith("CantBlockCardUID")) {
|
if (keyword.startsWith("CantBlockCardUID")) {
|
||||||
final String[] k = keyword.split("_", 2);
|
final String[] k = keyword.split("_", 2);
|
||||||
if (attacker.getId() == Integer.parseInt(k[1])) {
|
if (attacker.getId() == Integer.parseInt(k[1])) {
|
||||||
|
|||||||
Reference in New Issue
Block a user