-small fix counters
This commit is contained in:
wagic.the.homebrew
2009-07-22 01:03:59 +00:00
parent 6e05d185ab
commit 57c58805a8
+3 -1
View File
@@ -514,7 +514,9 @@ MTGAbility * AbilityFactory::parseMagicLine(string s, int id, Spell * spell, MTG
string spt = s.substr(found,end-found);
int power, toughness;
if ( parsePowerToughness(spt,&power, &toughness)){
return NEW AACounter(id,card,target,power,toughness,nb);
MTGAbility * a = NEW AACounter(id,card,target,power,toughness,nb);
a->oneShot = 1;
return a;
}
return NULL;
}