removed a unused variable and correct a bug with [share] spells tc's are deleted as they resolve so these effects couldnt take adventage of this type of targeting when the effect ability was a fizzle.
This commit is contained in:
@@ -860,7 +860,6 @@ public:
|
||||
if (!e) return 0;
|
||||
if (!tc->canTarget(e->card)) return 0;
|
||||
if (fromTc && !fromTc->canTarget(e->source)) return 0;
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
@@ -97,7 +97,7 @@ class MTGCardInstance: public CardPrimitive, public MTGCard, public Damageable {
|
||||
int typeAsTarget(){return TARGET_CARD;}
|
||||
const string getDisplayName() const;
|
||||
MTGCardInstance * target;
|
||||
MTGCardInstance * imprint;
|
||||
Targetable * backupTargets[MAX_TARGETS];
|
||||
|
||||
|
||||
//types
|
||||
|
||||
Reference in New Issue
Block a user