add andAbility support for AACopier

the granted ability must exists only if you copy a card, if you don't
copy any card, the source doesn't have any granted abillities.
This commit is contained in:
Anthony Calosa
2016-08-07 10:15:11 +08:00
parent dfd0761506
commit 807874ce5d
5 changed files with 33 additions and 14 deletions

View File

@@ -2601,8 +2601,7 @@ type=Instant
[card]
name=Altered Ego
abilities=nofizzle
auto=copy target(creature)
auto=counter(1/1,X)
auto=may copy target(creature) and!( counter(1/1,X) )!
text=Altered Ego can't be countered. -- You may have Altered Ego enter the battlefield as a copy of any creature on the battlefield, except it enters with X additional +1/+1 counters on it.
mana={X}{2}{G}{U}
type=Creature
@@ -67273,8 +67272,7 @@ toughness=2
[/card]
[card]
name=Mercurial Pretender
auto=may copy NotATarget(creature)
auto=transforms((,newability[{2}{U}{U}:moveto(ownerhand)])) forever
auto=may copy NotATarget(creature) and!( transforms((,newability[{2}{U}{U}:moveto(ownerhand)])) forever )!
text=You may have Mercurial Pretender enter the battlefield as a copy of any creature you control except it gains ?{2}{U}{U}: Return this creature to its owner?s hand.?
mana={4}{U}
type=Creature
@@ -79169,9 +79167,7 @@ toughness=1
[/card]
[card]
name=Phantasmal Image
auto=transforms((Illusion))
auto=transforms((,newability[@targeted(this):sacrifice])) forever
auto=may copy NotATarget(creature)
auto=may copy NotATarget(creature) and!( transforms((Illusion,newability[@targeted(this):sacrifice])) forever )!
text=You may have Phantasmal Image enter the battlefield as a copy of any creature on the battlefield, except it's an Illusion in addition to its other types and it gains "When this creature becomes the target of a spell or ability, sacrifice it."
mana={1}{U}
type=Creature
@@ -82297,8 +82293,7 @@ type=Sorcery
[/card]
[card]
name=Progenitor Mimic
auto=transforms((,newability[@each my upkeep:all(this) ifnot cantargetcard(*[token]) then clone])) forever
auto=may copy NotATarget(creature)
auto=may copy NotATarget(creature) and!( transforms((,newability[@each my upkeep:all(this) ifnot cantargetcard(*[token]) then clone])) forever )!
text=You may have Progenitor Mimic enter the battlefield as a copy of any creature on the battlefield except it gains "At the beginning of your upkeep, if this creature isn't a token, put a token onto the battlefield that's a copy of this creature."
mana={4}{G}{U}
type=Creature