mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
- Added Consecrate Land.
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -1842,6 +1842,7 @@ res/cardsfolder/c/conjurers_bauble.txt svneol=native#text/plain
|
||||
res/cardsfolder/c/conquer.txt svneol=native#text/plain
|
||||
res/cardsfolder/c/conquering_manticore.txt svneol=native#text/plain
|
||||
res/cardsfolder/c/conquerors_pledge.txt svneol=native#text/plain
|
||||
res/cardsfolder/c/consecrate_land.txt -text
|
||||
res/cardsfolder/c/consecrated_sphinx.txt svneol=native#text/plain
|
||||
res/cardsfolder/c/conservator.txt svneol=native#text/plain
|
||||
res/cardsfolder/c/consign_to_dream.txt -text
|
||||
|
||||
@@ -5,7 +5,7 @@ Text:no text
|
||||
K:Enchant creature
|
||||
A:SP$ Attach | Cost$ 2 U | ValidTgts$ Creature | AILogic$ Pump
|
||||
S:Mode$ CantTarget | ValidCard$ Creature.EnchantedBy | Spell$ True | Description$ Enchanted creature can't be the target of spells and can't be enchanted. This effect doesn't remove CARDNAME.
|
||||
S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddKeyword$ CARDNAME can't be enchanted.
|
||||
S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddHiddenKeyword$ CARDNAME can't be enchanted.
|
||||
SVar:Rarity:Uncommon
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/anti_magic_aura.jpg
|
||||
SetInfo:5ED|Uncommon|http://magiccards.info/scans/en/5e/72.jpg
|
||||
|
||||
16
res/cardsfolder/c/consecrate_land.txt
Normal file
16
res/cardsfolder/c/consecrate_land.txt
Normal file
@@ -0,0 +1,16 @@
|
||||
Name:Consecrate Land
|
||||
ManaCost:W
|
||||
Types:Enchantment Aura
|
||||
Text:no text
|
||||
K:Enchant land
|
||||
A:SP$ Attach | Cost$ W | ValidTgts$ Land | AILogic$ Pump
|
||||
S:Mode$ Continuous | Affected$ Land.EnchantedBy | AddHiddenKeyword$ CARDNAME can't be enchanted. & Indestructible | Description$ Enchanted land is indestructible and can't be enchanted by other Auras.
|
||||
SVar:RemRandomDeck:True
|
||||
SVar:Rarity:Uncommon
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/consecrate_land.jpg
|
||||
SetInfo:LEA|Uncommon|http://magiccards.info/scans/en/al/198.jpg
|
||||
SetInfo:LEB|Uncommon|http://magiccards.info/scans/en/be/200.jpg
|
||||
SetInfo:TSB|Special|http://magiccards.info/scans/en/tsts/4.jpg
|
||||
SetInfo:2ED|Uncommon|http://magiccards.info/scans/en/un/199.jpg
|
||||
Oracle:Enchant land\nEnchanted land is indestructible and can't be enchanted by other Auras.
|
||||
End
|
||||
@@ -8832,7 +8832,8 @@ public class Card extends GameEntity implements Comparable<Card> {
|
||||
}
|
||||
|
||||
if (this.hasProtectionFrom(aura)
|
||||
|| (this.hasKeyword("CARDNAME can't be enchanted.") && !aura.getName().equals("Anti-Magic Aura"))
|
||||
|| (this.hasKeyword("CARDNAME can't be enchanted.") && !aura.getName().equals("Anti-Magic Aura")
|
||||
&& !(aura.getName().equals("Consecrate Land") && aura.isInZone(ZoneType.Battlefield)))
|
||||
|| ((tgt != null) && !this.isValid(tgt.getValidTgts(), aura.getController(), aura))) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user