Reverting back - 711.1. Tokens and cards with a Magic card back can't transform.

This commit is contained in:
magenoxx 2011-10-07 23:58:51 +04:00
parent da2bdfb893
commit 3ee7c808e1
8 changed files with 8 additions and 48 deletions

View file

@ -128,9 +128,9 @@ class ScreechingBatTransformSourceEffect extends OneShotEffect<ScreechingBatTran
public boolean apply(Game game, Ability source) {
Permanent permanent = game.getPermanent(source.getSourceId());
if (permanent != null) {
if (permanent.canTransform()) {
Cost cost = new ManaCostsImpl("{2}{B}{B}");
if (cost.pay(source, game, permanent.getControllerId(), permanent.getControllerId(), false)) {
Cost cost = new ManaCostsImpl("{2}{B}{B}");
if (cost.pay(source, game, permanent.getControllerId(), permanent.getControllerId(), false)) {
if (permanent.canTransform()) {
permanent.setTransformed(!permanent.isTransformed());
}
}