mirror of
https://github.com/magefree/mage.git
synced 2026-01-25 04:39:18 -08:00
Reverting back - 711.1. Tokens and cards with a Magic card back can't transform.
This commit is contained in:
parent
da2bdfb893
commit
3ee7c808e1
8 changed files with 8 additions and 48 deletions
|
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue