Added / fixed primitives from ONE set, fixed Treasure name in all sets and primitives, updated missing cards by sets list, improved token creator ability by trying to retrieve the token id from the same set of source card (e.g. Urza's Saga), improved toxic ability adding a new target chooser "hastoxic" and adding a new keyword "toxicity" to retrieve the toxic amount of card.
This commit is contained in:
@@ -3063,7 +3063,7 @@ int MTGSoulbondRule::receiveEvent(WEvent * event)
|
||||
MTGCardInstance * card = e->card;
|
||||
if (!card || !card->isCreature()) return 0;
|
||||
int ok = 0;
|
||||
if(card->has(Constants::soulbond) || soulbonders.size())
|
||||
if(card->has(Constants::SOULBOND) || soulbonders.size())
|
||||
{
|
||||
for (int i = 0; i < 2; i++)
|
||||
{
|
||||
@@ -3071,7 +3071,7 @@ int MTGSoulbondRule::receiveEvent(WEvent * event)
|
||||
if (e->to == p->game->inPlay)
|
||||
{
|
||||
ok = 1;
|
||||
if(card->basicAbilities[(int)Constants::soulbond])
|
||||
if(card->basicAbilities[(int)Constants::SOULBOND])
|
||||
soulbonders.push_back(e->card);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user