- 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

1
.gitattributes vendored
View File

@@ -3387,6 +3387,7 @@ res/cardsfolder/g/goldmeadow_harrier.txt svneol=native#text/plain
res/cardsfolder/g/goldmeadow_lookout.txt svneol=native#text/plain
res/cardsfolder/g/golem_artisan.txt svneol=native#text/plain
res/cardsfolder/g/golem_foundry.txt svneol=native#text/plain
res/cardsfolder/g/golem_skin_gauntlets.txt -text
res/cardsfolder/g/golems_heart.txt svneol=native#text/plain
res/cardsfolder/g/golgari_brownscale.txt svneol=native#text/plain
res/cardsfolder/g/golgari_germination.txt svneol=native#text/plain

View File

@@ -0,0 +1,12 @@
Name:Golem-Skin Gauntlets
ManaCost:1
Types:Artifact Equipment
Text:no text
K:eqPump 2:0/0
S:Mode$ Continuous | Affected$ Card.EquippedBy | AddPower$ X | Description$ Equipped creature gets +1/+0 for each Equipment attached to it.
SVar:X:Count$Valid Equipment.AttachedTo Creature.EquippedBy
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/golem_skin_gauntlets.jpg
SetInfo:MRD|Uncommon|http://magiccards.info/scans/en/mi/181.jpg
Oracle:Equipped creature gets +1/+0 for each Equipment attached to it.\nEquip {2} ({2}: Attach to target creature you control. Equip only as a sorcery. This card enters the battlefield unattached and stays on the battlefield if the creature leaves.)
End

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")) {