Added/fixed primitives, updated the "missing_cards_by_sets" folder, improved all cards with replicate (now they use a special version of multikicker but they don't count as kicked spell), improved all cards with "fizzle" and "fizzleto" ability and improved engine for "fizzle" and "nofizzle" ability (e.g. now it's possible to grant a card the nofizzle ability on stack), added new keyword "mycolnum" to count the number colors of a card.
This commit is contained in:
@@ -2963,6 +2963,9 @@ MTGAbility * AbilityFactory::parseMagicLine(string s, int id, Spell * spell, MTG
|
||||
} else if (zone == "librarytop")
|
||||
{
|
||||
fizzleMode = ActionStack::PUT_IN_LIBRARY_TOP;
|
||||
} else if (zone == "librarybottom")
|
||||
{
|
||||
fizzleMode = ActionStack::PUT_IN_LIBRARY_BOTTOM;
|
||||
}
|
||||
Spell * starget = NULL;
|
||||
if (spell)
|
||||
@@ -2975,7 +2978,7 @@ MTGAbility * AbilityFactory::parseMagicLine(string s, int id, Spell * spell, MTG
|
||||
|
||||
//Fizzle (counterspell...)
|
||||
found = s.find("fizzle");
|
||||
if (found != string::npos)
|
||||
if (found != string::npos && s.find("nofizzle") == string::npos) //Fix to allow adding nofizzle ability to cards which originally have not (e.g. with transforms or lord keywords)
|
||||
{
|
||||
Spell * starget = NULL;
|
||||
if (spell)
|
||||
|
||||
Reference in New Issue
Block a user