mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
- Added Magewright's Stone.
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -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/mageta_the_lion.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_therapy.txt svneol=native#text/plain
|
||||
res/cardsfolder/m/magister_sphinx.txt svneol=native#text/plain
|
||||
|
||||
11
res/cardsfolder/m/magewrights_stone.txt
Normal file
11
res/cardsfolder/m/magewrights_stone.txt
Normal 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
|
||||
@@ -7094,6 +7094,16 @@ public class Card extends GameEntity implements Comparable<Card> {
|
||||
if (!source.getRemembered().contains(this)) {
|
||||
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")) {
|
||||
boolean b = false;
|
||||
for (final Card card : source.getImprinted()) {
|
||||
|
||||
Reference in New Issue
Block a user