-Added a few cards
This commit is contained in:
wagic.the.homebrew@gmail.com
2009-07-20 12:05:12 +00:00
parent b33ea8a1e1
commit 82204fd8b3
6 changed files with 230 additions and 173 deletions
+3 -2
View File
@@ -389,8 +389,9 @@ MTGAbility * AbilityFactory::parseMagicLine(string s, int id, Spell * spell, MTG
Damageable * d = NULL;
if (spell) d = spell->getNextDamageableTarget();
if (s.find("controller") != string::npos) d = card->controller();
MTGAbility * a = NEW AADamager(id,card,d, damage);
int who = 0;
if (s.find("controller") != string::npos) who=1;
MTGAbility * a = NEW AADamager(id,card,d, damage, NULL, who);
a->oneShot = 1;
return a;
}