mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
Fix: Coat of Arms should now filter creature types properly
This commit is contained in:
@@ -1418,9 +1418,7 @@ public final class GameActionUtil {
|
|||||||
alreadyAdded.clear();
|
alreadyAdded.clear();
|
||||||
for (int x2 = 0; x2 < type.get(x).getType().size(); x2++) {
|
for (int x2 = 0; x2 < type.get(x).getType().size(); x2++) {
|
||||||
if (!alreadyAdded.contains(type.get(x))) {
|
if (!alreadyAdded.contains(type.get(x))) {
|
||||||
if (!type.get(x).getType().get(x2).equals("Creature")
|
if (CardUtil.isACreatureType(type.get(x).getType().get(x2))) {
|
||||||
&& !type.get(x).getType().get(x2).equals("Legendary")
|
|
||||||
&& !type.get(x).getType().get(x2).equals("Artifact")) {
|
|
||||||
if (crd.isType(type.get(x).getType().get(x2))) {
|
if (crd.isType(type.get(x).getType().get(x2))) {
|
||||||
alreadyAdded.add(type.get(x));
|
alreadyAdded.add(type.get(x));
|
||||||
crd.addSemiPermanentAttackBoost(1);
|
crd.addSemiPermanentAttackBoost(1);
|
||||||
|
|||||||
Reference in New Issue
Block a user