diff --git a/.gitattributes b/.gitattributes index f9e9bcd5b66..6da479c17f6 100644 --- a/.gitattributes +++ b/.gitattributes @@ -542,6 +542,7 @@ res/cardsfolder/blood_cultist.txt -text svneol=native#text/plain res/cardsfolder/blood_knight.txt -text svneol=native#text/plain res/cardsfolder/blood_pet.txt -text svneol=native#text/plain res/cardsfolder/blood_rites.txt -text svneol=native#text/plain +res/cardsfolder/blood_tithe.txt -text svneol=native#text/plain res/cardsfolder/blood_vassal.txt -text svneol=native#text/plain res/cardsfolder/bloodbraid_elf.txt -text svneol=native#text/plain res/cardsfolder/bloodcurdling_scream.txt -text svneol=native#text/plain @@ -1058,6 +1059,7 @@ res/cardsfolder/crystal_quarry.txt -text svneol=native#text/plain res/cardsfolder/crystal_rod.txt -text svneol=native#text/plain res/cardsfolder/crystal_vein.txt -text svneol=native#text/plain res/cardsfolder/crystalline_sliver.txt -text svneol=native#text/plain +res/cardsfolder/crystallization.txt -text svneol=native#text/plain res/cardsfolder/cudgel_troll.txt -text svneol=native#text/plain res/cardsfolder/culling_sun.txt -text svneol=native#text/plain res/cardsfolder/cultivate.txt -text svneol=native#text/plain @@ -2059,6 +2061,7 @@ res/cardsfolder/goblin_spelunkers.txt -text svneol=native#text/plain res/cardsfolder/goblin_spy.txt -text svneol=native#text/plain res/cardsfolder/goblin_striker.txt -text svneol=native#text/plain res/cardsfolder/goblin_trenches.txt -text svneol=native#text/plain +res/cardsfolder/goblin_tunneler.txt -text svneol=native#text/plain res/cardsfolder/goblin_war_buggy.txt -text svneol=native#text/plain res/cardsfolder/goblin_war_paint.txt -text svneol=native#text/plain res/cardsfolder/goblin_war_strike.txt -text svneol=native#text/plain @@ -4622,6 +4625,7 @@ res/cardsfolder/spikeshot_goblin.txt -text svneol=native#text/plain res/cardsfolder/spiketail_drake.txt -text svneol=native#text/plain res/cardsfolder/spiketail_drakeling.txt -text svneol=native#text/plain res/cardsfolder/spiketail_hatchling.txt -text svneol=native#text/plain +res/cardsfolder/spinal_graft.txt -text svneol=native#text/plain res/cardsfolder/spinal_villain.txt -text svneol=native#text/plain res/cardsfolder/spincrusher.txt -text svneol=native#text/plain res/cardsfolder/spindrift_drake.txt -text svneol=native#text/plain diff --git a/res/cardsfolder/blood_tithe.txt b/res/cardsfolder/blood_tithe.txt new file mode 100644 index 00000000000..21ccca99560 --- /dev/null +++ b/res/cardsfolder/blood_tithe.txt @@ -0,0 +1,9 @@ +Name:Blood Tithe +ManaCost:3 B +Types:Sorcery +Text:no text +A:SP$LoseLife | Cost$ 3 B | Defined$ Opponent | LifeAmount$ 3 | SubAbility$SVar=DBGainLife | SpellDescription$ Each opponent loses 3 life. You gain life equal to the life lost this way. +SVar:DBGainLife:DB$GainLife | Defined$ You | LifeAmount$ 3 +SVar:Rarity:Common +SVar:Picture:http://www.wizards.com/global/images/magic/general/blood_tithe.jpg +End \ No newline at end of file diff --git a/res/cardsfolder/crystallization.txt b/res/cardsfolder/crystallization.txt new file mode 100644 index 00000000000..4e43ff33bde --- /dev/null +++ b/res/cardsfolder/crystallization.txt @@ -0,0 +1,10 @@ +Name:Crystallization +ManaCost:GU W +Types:Enchantment Aura +Text:no text +K:Enchant Creature +K:enPumpCurse:HIDDEN CARDNAME can't attack or block. +K:When enchanted creature becomes the target of a spell or ability, exile that creature. +SVar:Rarity:Common +SVar:Picture:http://www.wizards.com/global/images/magic/general/crystallization.jpg +End \ No newline at end of file diff --git a/res/cardsfolder/goblin_tunneler.txt b/res/cardsfolder/goblin_tunneler.txt new file mode 100644 index 00000000000..197abb37d2b --- /dev/null +++ b/res/cardsfolder/goblin_tunneler.txt @@ -0,0 +1,9 @@ +Name:Goblin Tunneler +ManaCost:1 R +Types:Creature Goblin Rogue +Text:no text +PT:1/1 +A:AB$Pump | Cost$ T | ValidTgts$ Creature.powerLE2 | TgtPrompt$ Select target creature with power 2 or less. | KW$ HIDDEN Unblockable. | SpellDescription$ Target creature with power 2 or less is unblockable this turn. +SVar:Rarity:Common +SVar:Picture:http://www.wizards.com/global/images/magic/general/goblin_tunneler.jpg +End \ No newline at end of file diff --git a/res/cardsfolder/spinal_graft.txt b/res/cardsfolder/spinal_graft.txt new file mode 100644 index 00000000000..b736b0eb67c --- /dev/null +++ b/res/cardsfolder/spinal_graft.txt @@ -0,0 +1,10 @@ +Name:Spinal Graft +ManaCost:1 B +Types:Enchantment Aura +Text:no text +K:Enchant Creature +K:enPump:+3/+3 +K:When enchanted creature becomes the target of a spell or ability, destroy that creature. It can't be regenerated. +SVar:Rarity:Common +SVar:Picture:http://www.wizards.com/global/images/magic/general/spinal_graft.jpg +End \ No newline at end of file diff --git a/src/forge/CardFactoryUtil.java b/src/forge/CardFactoryUtil.java index 7d5b408ea3d..560ecfb07cd 100644 --- a/src/forge/CardFactoryUtil.java +++ b/src/forge/CardFactoryUtil.java @@ -4527,6 +4527,81 @@ public class CardFactoryUtil { AllZone.Stack.add(ability); } + + //When enchanted creature becomes the target of a spell or ability, . (It can't be regenerated.) + ArrayList auras = c.getEnchantedBy(); + for(int a=0;a keywords = aura.getKeyword(); + for(int i=0;i