From d85f3f7743b1121ca0e95a1e00a3c92c066893ec Mon Sep 17 00:00:00 2001 From: Vittorio Alfieri Date: Sun, 15 Aug 2021 13:09:58 +0200 Subject: [PATCH] Fixed "Shadowspear" and other primitives related to shroud abilities. --- projects/mtg/bin/Res/sets/primitives/borderline.txt | 12 ++++++------ projects/mtg/bin/Res/sets/primitives/mtg.txt | 6 +++--- .../mtg/bin/Res/sets/primitives/planeswalkers.txt | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/projects/mtg/bin/Res/sets/primitives/borderline.txt b/projects/mtg/bin/Res/sets/primitives/borderline.txt index 91be1d050..6fdb66730 100644 --- a/projects/mtg/bin/Res/sets/primitives/borderline.txt +++ b/projects/mtg/bin/Res/sets/primitives/borderline.txt @@ -2465,7 +2465,7 @@ toughness=1 [card] name=Arcane Lighthouse auto={T}:add{1} -auto={1}{T}: all(creature|opponentbattlefield) -opponentshroud ueot && all(creature|opponentbattlefield) -shroud ueot +auto={1}{T}::name(Creatures lose hexproof) all(creature|opponentBattlefield) transforms((,newability[-shroud],newability[-opponentshroud])) ueot text={T}: Add {C} to your mana pool. -- {1}, {T}: Until end of turn, creatures your opponents control lose hexproof and shroud and can't have hexproof or shroud. type=Land [/card] @@ -3760,8 +3760,8 @@ toughness=3 [card] name=Autumn Willow abilities=opponentshroud,shroud -auto={G}:-shroud -#Slightly borderline assumption you will never activate this ability to let the opponent target Autumn Willow +auto={G}:name(Can be target of your spells) transforms((,newability[-shroud])) ueot +auto={G}:name(Can be target of opponent spells) transforms((,newability[-opponentshroud])) ueot text=Shroud -- {G}: Until end of turn, Autumn Willow can be the target of spells and abilities controlled by target player as though it didn't have shroud. mana={4}{G}{G} type=Legendary Creature @@ -15489,7 +15489,7 @@ type=Sorcery [card] name=Detection Tower auto={T}:add{C} -auto={1}{T}:lord(*[opponentshroud;controllershroud]|opponentbattlefield) transforms((,newability[-opponentshroud]),newability[-controllershroud])) ueot +auto={1}{T}:name(Opponent loses hexproof) all(*|opponentbattlefield) transforms((,newability[-opponentshroud]),newability[-controllershroud])) ueot text={T}: Add {C}. -- {1}, {T}: Until end of turn, your opponents and creatures your opponents control with hexproof can be the targets of spells and abilities you control as though they didn't have hexproof. type=Land [/card] @@ -55241,8 +55241,8 @@ auto={2}:equip auto=teach(creature) 1/1 auto=teach(creature) trample auto=teach(creature) lifelink -auto={1}:lord(*|opponentBattlefield) transforms((,newability[-indestructible],newability[-opponentshroud])) ueot -text=Equipped creature gets +1/+1 and has trample and lifelink. -- 1 -- : Permanents your opponents control lose hexproof and indestructible until end of turn. -- Equip 2 +auto={1}:name(Permanents lose hexproof and indestructible) all(*|opponentBattlefield) transforms((,newability[-indestructible],newability[-opponentshroud])) ueot +text=Equipped creature gets +1/+1 and has trample and lifelink. -- {1}: Permanents your opponents control lose hexproof and indestructible until end of turn. -- Equip 2 mana={1} type=Legendary Artifact subtype=Equipment diff --git a/projects/mtg/bin/Res/sets/primitives/mtg.txt b/projects/mtg/bin/Res/sets/primitives/mtg.txt index 2320186aa..d4204623b 100644 --- a/projects/mtg/bin/Res/sets/primitives/mtg.txt +++ b/projects/mtg/bin/Res/sets/primitives/mtg.txt @@ -13520,7 +13520,7 @@ subtype=Aura [card] name=Bonds of Mortality auto=draw:1 -auto={g}:all(creature|opponentbattlefield) -opponentshroud ueot && all(creature|opponentbattlefield) -indestructible ueot +auto={G}:name(Creatures lose hexproof and indestructible) all(creature|opponentBattlefield) transforms((,newability[-indestructible],newability[-opponentshroud])) ueot text=When Bonds of Mortality enters the battlefield, draw a card. -- {G}: Creatures your opponents control lose hexproof and indestructible until end of turn. mana={1}{G} type=Enchantment @@ -60494,7 +60494,7 @@ toughness=2 name=Jor Kadeen, the Prevailer auto=first strike auto=aslongas(artifact|mybattlefield) lord(creature|mybattlefield) 3/0 >2 -text=First strike -- Metalcraft - Creatrues you control get +3/+0 as long as you control three or more artifacts. +text=First strike -- Metalcraft - Creatures you control get +3/+0 as long as you control three or more artifacts. mana={3}{R}{W} type=Legendary Creature subtype=Human Warrior @@ -136225,7 +136225,7 @@ toughness=2 [card] name=Xathrid Slyblade abilities=opponentshroud -auto={3}{B}:-name(lose Hexproof for First Strike/Deathtouch) transforms((,newability[-opponentshroud],newability[first strike],newability[deathtouch])) ueot +auto={3}{B}:name(Lose Hexproof to gain First Strike and Deathtouch) transforms((,newability[-opponentshroud],newability[first strike],newability[deathtouch])) ueot text=Hexproof. -- {3}{B}: Until end of turn, Xathrid Slyblade loses hexproof and gains first strike and deathtouch. mana={2}{B} type=Creature diff --git a/projects/mtg/bin/Res/sets/primitives/planeswalkers.txt b/projects/mtg/bin/Res/sets/primitives/planeswalkers.txt index 9cea99be2..02c0454b4 100644 --- a/projects/mtg/bin/Res/sets/primitives/planeswalkers.txt +++ b/projects/mtg/bin/Res/sets/primitives/planeswalkers.txt @@ -1514,7 +1514,7 @@ subtype=Kasmina [card] name=Kaya, Bane of the Dead auto=counter(0/0,7,loyalty) -auto=lord(*|opponentBattlefield) -opponentshroud +auto=lord(*|opponentBattlefield) transforms((,newability[-opponentshroud],newability[-controllershroud])) auto={C(0/0,-3,Loyalty)}:name(-3: Exile target creature) moveTo(exile) target(creature) text=Your opponents and permanents your opponents control with hexproof can be the target of spells and abilities you control as though they didn't have hexproof. -- -3: Exile target creature. mana={3}{WB}{WB}{WB}