diff --git a/res/cardsfolder/liege_of_the_tangle.txt b/res/cardsfolder/liege_of_the_tangle.txt index 4f44801a8e1..a524f794cfe 100644 --- a/res/cardsfolder/liege_of_the_tangle.txt +++ b/res/cardsfolder/liege_of_the_tangle.txt @@ -4,13 +4,12 @@ Types:Creature Elemental Text:no text PT:8/8 K:Trample -K:stAnimateAll:Land.countersGE1AWAKENING:8/8:Creature,Elemental:Green:No Abilities:No Condition:no text -T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigPutCounter | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, you may choose any number of lands you control and put an awakening counter on them. -SVar:TrigPutCounter:AB$PutCounter | Cost$ 0 | ValidTgts$ Land.YouCtrl | OptionalDecider$ You | TargetMax$ X | TgtPrompt$ Select lands you control | CounterType$ AWAKENING | CounterNum$ 1 +K:stAnimateAll:Land.countersGE1AWAKENING:8/8:Creature,Elemental:Green,Overwrite:No Abilities:No Condition:no text +T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigPutCounter | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, you may choose any number of target lands you control and put an awakening counter on each of them. Each of those lands is an 8/8 green Elemental creature for as long as it has an awakening counter on it. They're still lands. +SVar:TrigPutCounter:AB$PutCounter | Cost$ 0 | ValidTgts$ Land.YouCtrl | OptionalDecider$ You | TargetMax$ X | TgtPrompt$ Select lands you control | CounterType$ AWAKENING | CounterNum$ 1 | SubAbility$ SVar=DBEffect SVar:X:Count$Valid Land.YouCtrl -T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.Self | Execute$ TrigEffect | TriggerDescription$ Each of those lands is an 8/8 green Elemental for as long as it has an awakening counter on it. -SVar:TrigEffect:AB$ Effect | Cost$ 0 | Name$ Awakening Effect | Keywords$ KWAnimateAll | Duration$ Permanent -SVar:KWAnimateAll:stAnimateAll:Land.countersGE1AWAKENING:8/8:Creature,Elemental:Green:No Abilities:No Condition:Each of those lands is an 8/8 green Elemental creature for as long as it has an awakening counter on it. They're still lands. +SVar:DBEffect:DB$ Effect | Cost$ 0 | Name$ Awakening Effect | Keywords$ KWAnimateAll | Unique$ True | Duration$ Permanent +SVar:KWAnimateAll:stAnimateAll:Land.countersGE1AWAKENING:8/8:Creature,Elemental:Green,Overwrite:No Abilities:No Condition:Each of those lands is an 8/8 green Elemental creature for as long as it has an awakening counter on it. They're still lands. SVar:RemAIDeck:True SVar:Rarity:Mythic SVar:Picture:http://www.wizards.com/global/images/magic/general/liege_of_the_tangle.jpg diff --git a/src/forge/card/abilityFactory/AbilityFactory_Effect.java b/src/forge/card/abilityFactory/AbilityFactory_Effect.java index ba6f58ac628..4f3481b1d0f 100644 --- a/src/forge/card/abilityFactory/AbilityFactory_Effect.java +++ b/src/forge/card/abilityFactory/AbilityFactory_Effect.java @@ -4,6 +4,7 @@ import java.util.HashMap; import java.util.Random; import forge.AllZone; +import forge.AllZoneUtil; import forge.Card; import forge.Command; import forge.ComputerUtil; @@ -183,6 +184,10 @@ public class AbilityFactory_Effect { if (name == null) name = sa.getSourceCard().getName() + "'s Effect"; + //Unique Effects shouldn't be duplicated + if(params.containsKey("Unique") && AllZoneUtil.isCardInPlay(name)) + return; + Player controller = sa.getActivatingPlayer(); Card eff = new Card(); eff.setName(name);