Added Q06 set, improved Android downloader, fixed bug for indestructible creatures that have to go different zone after death (e.g. if they have exiledeath ability), fixed a bug when indestructible creatures have toughness = 0 (e.g. "March of the Machines" with manacost = 0 artifacts).

This commit is contained in:
Vittorio Alfieri
2021-10-20 14:52:15 +02:00
parent fcb073ccd6
commit 3130049c63
8 changed files with 80 additions and 21 deletions

View File

@@ -2411,9 +2411,8 @@ public:
_target->addptbonus(wppt->power.getValue(),wppt->toughness.getValue());
}
if(_target->has(Constants::INDESTRUCTIBLE) && wppt->toughness.getValue() < 0 && _target->toughness <= 0)
{
_target->controller()->game->putInGraveyard(_target);
}
_target->toGrave(true); // The indestructible creatures can have different destination zone after death.
return MTGAbility::addToGame();
}
int destroy()