- Added Magewright's Stone.

This commit is contained in:
Sloth
2011-11-30 21:17:37 +00:00
parent 8b657e3794
commit 9fdc681962
3 changed files with 22 additions and 0 deletions

1
.gitattributes vendored
View File

@@ -4930,6 +4930,7 @@ res/cardsfolder/m/magefire_wings.txt svneol=native#text/plain
res/cardsfolder/m/mages_guile.txt svneol=native#text/plain res/cardsfolder/m/mages_guile.txt svneol=native#text/plain
res/cardsfolder/m/mageta_the_lion.txt svneol=native#text/plain res/cardsfolder/m/mageta_the_lion.txt svneol=native#text/plain
res/cardsfolder/m/magetas_boon.txt svneol=native#text/plain res/cardsfolder/m/magetas_boon.txt svneol=native#text/plain
res/cardsfolder/m/magewrights_stone.txt -text
res/cardsfolder/m/maggot_carrier.txt svneol=native#text/plain res/cardsfolder/m/maggot_carrier.txt svneol=native#text/plain
res/cardsfolder/m/maggot_therapy.txt svneol=native#text/plain res/cardsfolder/m/maggot_therapy.txt svneol=native#text/plain
res/cardsfolder/m/magister_sphinx.txt svneol=native#text/plain res/cardsfolder/m/magister_sphinx.txt svneol=native#text/plain

View File

@@ -0,0 +1,11 @@
Name:Magewright's Stone
ManaCost:2
Types:Artifact
Text:no text
A:AB$ Untap | Cost$ 1 T | ValidTgts$ Creature.hasActivatedAbilityWithTapCost | TgtPrompt$ Select target creature that has an activated ability with Tap in its cost. | SpellDescription$ Untap target creature that has an activated ability with Tap in its cost.
SVar:RemAIDeck:True
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/magewrights_stone.jpg
SetInfo:DIS|Uncommon|http://magiccards.info/scans/en/di/162.jpg
Oracle:{1}, {T}: Untap target creature that has an activated ability with {T} in its cost.
End

View File

@@ -7094,6 +7094,16 @@ public class Card extends GameEntity implements Comparable<Card> {
if (!source.getRemembered().contains(this)) { if (!source.getRemembered().contains(this)) {
return false; return false;
} }
} else if (property.equals("hasActivatedAbilityWithTapCost")) {
boolean hasIt = false;
for (SpellAbility sa : this.getSpellAbilities()) {
if (sa.isAbility() && sa.getPayCosts() != null && sa.getPayCosts().getTap()) {
hasIt = true;
}
}
if (!hasIt) {
return false;
}
} else if (property.equals("SameNameAsImprinted")) { } else if (property.equals("SameNameAsImprinted")) {
boolean b = false; boolean b = false;
for (final Card card : source.getImprinted()) { for (final Card card : source.getImprinted()) {