update some cards

removed phasedout trigger
add phasedoutbonus - ability
This commit is contained in:
Anthony Calosa
2017-02-22 18:25:39 +08:00
parent bb9d98cc0c
commit ff4911116c
12 changed files with 534 additions and 374 deletions
+9 -1
View File
@@ -264,7 +264,15 @@ int MTGAllCards::processConfLine(string &s, MTGCard *card, CardPrimitive * primi
break;
case 'p':
if (key[1] == 'r')
if (key == "phasedoutbonus")
{
if (!primitive) primitive = NEW CardPrimitive();
{
primitive->setPhasedOutAbility(val);
break;
}
}
else if (key[1] == 'r')
{ // primitive
if (!card) card = NEW MTGCard();
map<string, CardPrimitive*>::iterator it = primitives.find(val);