diff --git a/forge-gui/res/cardsfolder/n/nettlevine_blight.txt b/forge-gui/res/cardsfolder/n/nettlevine_blight.txt index f76ceb8f579..148461eec62 100644 --- a/forge-gui/res/cardsfolder/n/nettlevine_blight.txt +++ b/forge-gui/res/cardsfolder/n/nettlevine_blight.txt @@ -3,7 +3,7 @@ ManaCost:4 B B Types:Enchantment Aura K:Enchant creature or land A:SP$ Attach | Cost$ 4 B B | ValidTgts$ Creature,Land | AILogic$ Curse -S:Mode$ Continuous | Affected$ Card.AttachedBy | AddTrigger$ NettlevineTrig | AddSVar$ NettlevineRemember & NettlevineSac & NettlevineChoose & NettlevineAttach | Description$ Enchanted permanent has "At the beginning of your end step, sacrifice this permanent and attach CARDNAME to a creature or land you control." +S:Mode$ Continuous | Affected$ Card.AttachedBy | AddTrigger$ NettlevineTrig | AddSVar$ NettlevineRemember & NettlevineSac & NettlevineChoose & NettlevineAttach & NettlevineCleanup | Description$ Enchanted permanent has "At the beginning of your end step, sacrifice this permanent and attach CARDNAME to a creature or land you control." SVar:NettlevineTrig:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ NettlevineRemember | TriggerDescription$ At the beginning of your end step, sacrifice CARDNAME and attach the aura to a creature or land you control. SVar:NettlevineRemember:DB$ Pump | ImprintCards$ Valid Card.Enchanted | SubAbility$ NettlevineSac SVar:NettlevineSac:DB$ Sacrifice | Defined$ Self | SubAbility$ NettlevineChoose diff --git a/forge-gui/src/main/java/forge/card/ability/effects/ChooseCardEffect.java b/forge-gui/src/main/java/forge/card/ability/effects/ChooseCardEffect.java index 149cde70058..d7192950378 100644 --- a/forge-gui/src/main/java/forge/card/ability/effects/ChooseCardEffect.java +++ b/forge-gui/src/main/java/forge/card/ability/effects/ChooseCardEffect.java @@ -34,7 +34,8 @@ public class ChooseCardEffect extends SpellAbilityEffect { @Override public void resolve(SpellAbility sa) { final Card host = sa.getSourceCard(); - final Game game = sa.getActivatingPlayer().getGame(); + final Player activator = sa.getActivatingPlayer(); + final Game game = activator.getGame(); final List chosen = new ArrayList(); final TargetRestrictions tgt = sa.getTargetRestrictions(); @@ -46,7 +47,7 @@ public class ChooseCardEffect extends SpellAbilityEffect { } List choices = game.getCardsIn(choiceZone); if (sa.hasParam("Choices")) { - choices = CardLists.getValidCards(choices, sa.getParam("Choices"), host.getController(), host); + choices = CardLists.getValidCards(choices, sa.getParam("Choices"), activator, host); } if (sa.hasParam("TargetControls")) { choices = CardLists.filterControlledBy(choices, tgtPlayers.get(0));