forked from External/mage
* Xathrid Gorgon - Fixed that the targeted creatures didn't get colorless.
This commit is contained in:
parent
e8d4fd1ead
commit
9d56514085
7 changed files with 67 additions and 26 deletions
|
|
@ -87,7 +87,7 @@ public class CipherEffect extends OneShotEffect<CipherEffect> {
|
|||
public boolean apply(Game game, Ability source) {
|
||||
Player controller = game.getPlayer(source.getControllerId());
|
||||
TargetControlledCreaturePermanent target = new TargetControlledCreaturePermanent(true);
|
||||
if (controller != null && target != null) {
|
||||
if (controller != null) {
|
||||
if (target.canChoose(source.getControllerId(), game)
|
||||
&& controller.chooseUse(outcome, "Cipher this spell to a creature?", game)) {
|
||||
controller.chooseTarget(outcome, target, source, game);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue