token is excluded...

for ABlink
This commit is contained in:
Anthony Calosa
2015-10-16 17:02:37 +08:00
parent 15725c0302
commit 2819ec01af
2 changed files with 2 additions and 2 deletions

View File

@@ -1440,7 +1440,7 @@ public:
} }
}; };
//targetted trigger //counter trigger
class TrCounter: public Trigger class TrCounter: public Trigger
{ {
public: public:

View File

@@ -5642,7 +5642,7 @@ void AACastCard::Update(float dt)
toCheck->bypassTC = true; toCheck->bypassTC = true;
TargetChooserFactory tcf(game); TargetChooserFactory tcf(game);
TargetChooser * atc = tcf.createTargetChooser(toCheck->spellTargetType,toCheck); TargetChooser * atc = tcf.createTargetChooser(toCheck->spellTargetType,toCheck);
if (toCheck->hasType(Subtypes::TYPE_AURA) && !atc->validTargetsExist()) if ((toCheck->hasType(Subtypes::TYPE_AURA) && !atc->validTargetsExist())||toCheck->isToken)
{ {
processed = true; processed = true;
this->forceDestroy = 1; this->forceDestroy = 1;