- Added Golem-Skin Gauntlets.

This commit is contained in:
Sloth
2011-11-03 20:32:33 +00:00
parent 00c7f1a15f
commit 54824f8a18
3 changed files with 15 additions and 1 deletions

View File

@@ -6448,7 +6448,8 @@ public class Card extends GameEntity implements Comparable<Card> {
}
} else if (property.startsWith("AttachedTo")) {
String restriction = property.split("AttachedTo ")[1];
if (enchanting == null || !enchanting.isValid(restriction, sourceController, source)) {
if ((enchanting == null || !enchanting.isValid(restriction, sourceController, source))
&& (equipping.isEmpty() || equipping.get(0).isValid(restriction, sourceController, source))) {
return false;
}
} else if (property.startsWith("EnchantedBy")) {